Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem Written by FlyFar
- rem A RAR Pass Cracker Program Written in Batch/CMD
- @echo off
- title WinRAR Pass Cracker
- mode con: cols=47 lines=20
- copy "C:\Program Files\WinRAR\Unrar.exe"
- SET PSWD=0
- SET DEST=%TEMP%\%RANDOM%
- MD %DEST%
- :RAR
- cls
- echo ———————————————-
- echo GET DETAIL
- echo ———————————————-
- echo.
- SET/P "NAME=Enter File Name : "
- IF "%NAME%"=="" goto Error0
- goto GPATH
- :NERROR
- echo ———————————————-
- echo ERROR
- echo ———————————————-
- echo Sorry you can't leave it blank.
- pause
- goto RAR
- :GPATH
- SET/P "PATH=Enter Full Path : "
- IF "%PATH%"=="" goto Error1
- goto NEXT
- :PERROR
- echo ———————————————-
- echo ERROR
- echo ———————————————-
- echo Sorry you can't leave it blank.
- pause
- goto RAR
- :NEXT
- IF EXIST "%PATH%\%NAME%" GOTO START
- goto PATH
- :PATH
- cls
- echo ———————————————-
- echo ERROR
- echo ———————————————-
- echo Opppss File is not Found..
- pause
- goto RAR
- :START
- SET /A PSWD=%PSWD%+1
- UNRAR E -INUL -P%PSWD% "%PATH%\%NAME%" "%DEST%"
- IF /I %ERRORLEVEL% EQU 0 GOTO FINISH
- GOTO START
- :FINISH
- RD %DEST% /Q /S
- Del "Unrar.exe"
- cls
- echo ———————————————-
- echo UNLOCKED
- echo ———————————————-
- echo.
- echo PASSWORD FOUND!
- echo FILE = %NAME%
- echo CRACKED PASSWORD = %PSWD%
- pause>NUL
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement