0% found this document useful (0 votes)
32 views

Password Craker

The document describes a batch file that prompts the user for a destination path, generates random passwords, and attempts to unrar a file at that destination using the generated passwords until it is successfully extracted.

Uploaded by

gaurav
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)
32 views

Password Craker

The document describes a batch file that prompts the user for a destination path, generates random passwords, and attempts to unrar a file at that destination using the generated passwords until it is successfully extracted.

Uploaded by

gaurav
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

TITLE Mysticodes

ECHO OFF
:AGAIN
COLOR 0a
SET PSWD=0
SET DEST=%TEMP%\%RANDOM%
MD %DEST%
CLS
ECHO.
ECHO.
SET/P NAME=Enter the Destination Path:
IF EXIST "%NAME%" GOTO START
:PATH
CLS
ECHO.
ECHO Incorrect Path Name..Please Try Again...!
ECHO.
Pause
GOTO AGAIN
:START
CLS
SET /A PSWD=%PSWD%+1
ECHO.
ECHO Generating Possible Values...
ECHO CURRENT PASSWORD = %PSWD%
UNRAR E -INUL -P%PSWD% "%NAME%" "%DEST%"
IF /I %ERRORLEVEL% EQU 0 GOTO FINISH
GOTO START
:FINISH
RD %DEST% /Q /S
CLS
ECHO.
ECHO Final Output:
PAUSE>NUL
CLS
ECHO.
ECHO FILE = %NAME%
ECHO The Password is = %PSWD%
PAUSE>NUL
EXIT

You might also like