Advertisement
FlyFar

Batch/CMD Simple WinRAR Pass Cracker

Oct 21st, 2021
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.49 KB | None | 0 0
  1. rem Written by FlyFar
  2. rem A RAR Pass Cracker Program Written in Batch/CMD
  3. @echo off
  4. title WinRAR Pass Cracker
  5. mode con: cols=47 lines=20
  6. copy "C:\Program Files\WinRAR\Unrar.exe"
  7. SET PSWD=0
  8. SET DEST=%TEMP%\%RANDOM%
  9. MD %DEST%
  10. :RAR
  11. cls
  12. echo ———————————————-
  13. echo GET DETAIL
  14. echo ———————————————-
  15. echo.
  16. SET/P "NAME=Enter File Name : "
  17. IF "%NAME%"=="" goto Error0
  18. goto GPATH
  19. :NERROR
  20. echo ———————————————-
  21. echo ERROR
  22. echo ———————————————-
  23. echo Sorry you can't leave it blank.
  24. pause
  25. goto RAR
  26. :GPATH
  27. SET/P "PATH=Enter Full Path : "
  28. IF "%PATH%"=="" goto Error1
  29. goto NEXT
  30. :PERROR
  31. echo ———————————————-
  32. echo ERROR
  33. echo ———————————————-
  34. echo Sorry you can't leave it blank.
  35. pause
  36. goto RAR
  37. :NEXT
  38. IF EXIST "%PATH%\%NAME%" GOTO START
  39. goto PATH
  40. :PATH
  41. cls
  42. echo ———————————————-
  43. echo ERROR
  44. echo ———————————————-
  45. echo Opppss File is not Found..
  46. pause
  47. goto RAR
  48. :START
  49. SET /A PSWD=%PSWD%+1
  50. UNRAR E -INUL -P%PSWD% "%PATH%\%NAME%" "%DEST%"
  51. IF /I %ERRORLEVEL% EQU 0 GOTO FINISH
  52. GOTO START
  53. :FINISH
  54. RD %DEST% /Q /S
  55. Del "Unrar.exe"
  56. cls
  57. echo ———————————————-
  58. echo UNLOCKED
  59. echo ———————————————-
  60. echo.
  61. echo PASSWORD FOUND!
  62. echo FILE = %NAME%
  63. echo CRACKED PASSWORD = %PSWD%
  64. pause>NUL
  65. exit
  66.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement