0% found this document useful (0 votes)
636 views1 page

WinRAR Password Recovery Script

This script retrieves passwords for RAR archive files by: 1. Copying the Unrar.exe file and creating a temp directory. 2. Prompting the user for a file name and path and checking for valid input. 3. Using Unrar.exe to extract the file with incrementing password guesses until extraction succeeds, at which point it displays the password.

Uploaded by

warez2310
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
636 views1 page

WinRAR Password Recovery Script

This script retrieves passwords for RAR archive files by: 1. Copying the Unrar.exe file and creating a temp directory. 2. Prompting the user for a file name and path and checking for valid input. 3. Using Unrar.exe to extract the file with incrementing password guesses until extraction succeeds, at which point it displays the password.

Uploaded by

warez2310
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

@echo off

title WinRar Password Retriever


copy "C:\Program Files\WinRAR\Unrar.exe"
SET PASS=0
SET TMP=Temp
MD %TMP%
:RAR
cls
echo.
SET/P "NAME=File Name : "
IF "%NAME%"=="" goto ProblemDetected
goto GPATH
:ProblemDetected
echo You can't leave this blank.
pause
goto RAR
:GPATH
SET/P "PATH=Enter Full Path (eg: C:\Users\Admin\Desktop) : "
IF "%PATH%"=="" goto PERROR
goto NEXT
:PERROR
echo You can't leave this blank.
pause
goto RAR
:NEXT
IF EXIST "%PATH%\%NAME%" GOTO SP
goto PATH
:PATH
cls
echo File couldn't be found. Make sure you include the (.RAR) extension at the end
of the file's name.
pause
goto RAR
:SP
echo.
echo Retrieving Password...
echo.
:START
title Processing...
SET /A PASS=%PASS%+1
UNRAR E -INUL -P%PASS% "%PATH%\%NAME%" "%TMP%"
IF /I %ERRORLEVEL% EQU 0 GOTO FINISH
GOTO START
:FINISH
RD %TMP% /Q /S
Del "Unrar.exe"
cls
title 1 Password Found
echo.
echo File = %NAME%
echo Stable Password= %PASS%
echo.
echo Press any key to exit.
pause>NUL
exit

You might also like