Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. @echo off
  2. title WinRar Password Retriever
  3. copy "C:\Program Files\WinRAR\Unrar.exe"
  4. SET PASS=0
  5. SET TMP=TempFold
  6. MD %TMP%
  7. :RAR
  8. cls
  9. echo.
  10. SET/P "NAME=File Name : "
  11. IF "%NAME%"=="" goto ProblemDetected
  12. goto GPATH
  13. :ProblemDetected
  14. echo You can't leave this blank.
  15. pause
  16. goto RAR
  17. :GPATH
  18. SET/P "PATH=Enter Full Path (eg: C:\Users\Admin\Desktop) : "
  19. IF "%PATH%"=="" goto PERROR
  20. goto NEXT
  21. :PERROR
  22. echo You can't leave this blank.
  23. pause
  24. goto RAR
  25. :NEXT
  26. IF EXIST "%PATH%\%NAME%" GOTO SP
  27. goto PATH
  28. :PATH
  29. cls
  30. echo File couldn't be found. Make sure you include the (.RAR) extension at the end of the file's name.
  31. pause
  32. goto RAR
  33. :SP
  34. echo.
  35. echo Breaking Password...
  36. echo.
  37. :START
  38. title Processing...
  39. SET /A PASS=%PASS%+1
  40. UNRAR E -INUL -P%PASS% "%PATH%\%NAME%" "%TMP%"
  41. IF /I %ERRORLEVEL% EQU 0 GOTO FINISH
  42. GOTO START
  43. :FINISH
  44. RD %TMP% /Q /S
  45. Del "Unrar.exe"
  46. cls
  47. title 1 Password Found
  48. echo.
  49. echo File = %NAME%
  50. echo Stable Password= %PASS%
  51. echo.
  52. echo Press any key to exit.
  53. pause>NUL
  54. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement