Advertisement
kemas123

winrar brute force

Jun 19th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. @echo off
  2. title Winrar brute force
  3. copy C:\Program Files\WinRAR\Unrar.exe
  4. set pass=0
  5. set dest=%TEMP%\%RANDOM%
  6. md %dest%
  7. cls
  8. :start
  9. color a
  10. cls
  11. echo.-------------------
  12. echo GET RAR DETAILS
  13. echo.-------------------
  14. echo.
  15. set /p name=File-Name:
  16. if %name%=="" goto nerror
  17. goto start1
  18.  
  19. :nerror
  20. echo ----------------------------------------------
  21. echo ERROR
  22. echo ----------------------------------------------
  23. echo Sorry you can't leave it blank.
  24. pause
  25. goto start
  26.  
  27. :start1
  28. SET /P PATH=File-Path:
  29. IF %PATH%=="" goto PERROR
  30. goto NEXT
  31.  
  32. :perror
  33. echo ----------------------------------------------
  34. echo ERROR
  35. echo ----------------------------------------------
  36. echo Sorry you can't leave it blank.
  37. pause
  38. goto start
  39.  
  40. :next
  41. IF EXIST "%PATH%\%NAME%" GOTO starting
  42. goto error
  43.  
  44. :error
  45. echo.-----------
  46. echo ERROR
  47. echo.-----------
  48. echo whopppzz file doesn exist wew
  49. pause
  50. goto start
  51.  
  52. :starting
  53. set /a pass=%pass%+1
  54. echo brute forcing and trying password..
  55. echo %pass%
  56. UNRAR E -INUL -p%pass% %path%\%name% %dest%
  57. if /i %errorlevel% equ 0 goto finish
  58. goto starting
  59.  
  60. :finish
  61. rd %dest% /q /s
  62. del unrar.exe
  63. cls
  64. echo.-------------
  65. echo CRACKED
  66. echo.-----+-------
  67. echo.
  68. echo password found :)
  69. echo.
  70. file:%name%
  71. password:%pass%
  72. pause
  73. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement