Vous êtes sur la page 1sur 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