Saturday 6 July 2013

Make a WinRAR password cracker

This is a simple password cracker for WinRAR archives which can crack numeric passwords. The method works only on .rar files. You should have WinRAR installed to make this password cracker. Follow the easy steps below and see how easy it is!


Step 1: Make a new folder on your desktop.


Step 2: Save the following code as PWCrack.bat using notepad into the folder you created earlier.


TITLE PASSWORD CRACKER

ECHO OFF

COLOR 03

SET PSWD=0

SET DEST=%TEMP%\%RANDOM%

MD %DEST%

CLS

ECHO.

ECHO Please enter the archive path…

ECHO.

SET/P NAME=

IF EXIST “%NAME%” GOTO START
:P ATH

CLS

ECHO.

ECHO Cannot find the file specified.Please enter the archive path…

ECHO.

SET/P NAME=

IF EXIST “%NAME%” GOTO START

GOTO PATH

:START

CLS

SET /A PSWD=%PSWD%+1

ECHO.

ECHO GENERATING PASSWORDS…

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 PASSWORD FOUND!

PAUSE>NUL

CLS

ECHO.

ECHO FILE = %NAME%

ECHO CRACKED PASSWORD = %PSWD%

PAUSE>NUL

EXIT


Step 3: Last of all browse to the directory where WinRAR is installed. Usually this will be C:\Program Files\WinRAR. Find a file named UnRAR.exe and copy it into the folder created in Step 1.


Step 4: After you copy the file open the batch file and enter the path to the archive to start the cracking process. Eg: ”C:\Users\XByte\Desktop\Secret.rar”.


NOTES:



  • Remeber to keep the both the batch file and UnRAR.exe in the same folder. Or else the program won’t work.

  • Don’t rename the UnRAR.exe.

  • The password cracker can only crack numeric passwords.

  • The password cracker does not crack passwords starting with 0.


Do not forget to leave your feedback!



3 comments: