SQL注入中information_schema的作用
1. 在phpmyadmin中,在左侧点击information_schema数据库。

2.执行如下SQL语句来查看
show tables;

show databases;

3.使用wampserver中的MYSQL 输入命令
show databases;

select schema_name from schemata;

desc tables;

select count(*) from tables;

show tables from sqli;

select count(*) from columns;

select * from columns limit 1661,1\G

select column_name from information_schema.columns where TABLE_SCHEMA='sqli' and TABLE_NAME='user';

课后作业:

浙公网安备 33010602011771号