# How To Create RAR File Password Cracker With Notepad

**URL:** <https://onehack.st/t/how-to-create-rar-file-password-cracker-with-notepad/175878>\
**Category:** Tutorials & Methods\
**Tags:** hacking, cracking, tips-tricks\
**Created:** [March 19, 2021, 11:03am UTC](https://onehack.st/t/how-to-create-rar-file-password-cracker-with-notepad/175878 "2021-03-19T11:03:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlayBoy83](https://onehack.st/user_avatar/onehack.st/playboy83/32/164314_2.png) [@PlayBoy83](https://onehack.st/u/PlayBoy83)\
**Post date:** [March 19, 2021, 11:03am UTC](https://onehack.st/t/how-to-create-rar-file-password-cracker-with-notepad/175878/1 "2021-03-19T11:03:30Z")

</div>

Hello, This is a batch file which can crack password of Rar File. You can easily use it to crack any rar file password.

**Step 1: Open Notepad**

Open your Notepad Start » Run » Type ”Notepad” » Enter

**Step 2: Create Batch File**

Copy The Following code in notepad.

> REM ============================================================  
> REM errorcode401.blogspot.in  
> @Echo off  
> title Rar Password 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 NERROR  
> 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 PERROR  
> goto NEXT  
> attachFull93ERROR  
> echo ———————————————-  
> echo ERROR  
> echo ———————————————-  
> echo Sorry you can’t leave it blank.  
> pause  
> goto RAR  
> :NEXT  
> IF EXIST “%PATH%%NAME%” GOTO START  
> goto PATH  
> attachFull94ATH  
> cls  
> echo ———————————————-  
> echo ERROR  
> echo ———————————————-  
> echo Opppss File does not Exist..  
> pause  
> goto RAR  
> :START  
> SET /A PSWD=%PSWD%+1  
> echo 0 1 0 1 1 1 0 0 1 0 0 1 1 0 0 1 0 1 0 0 1 0 1  
> echo 1 0 1 0 0 1 0 1 1 1 1 0 0 1 0 0 1 1 1 1 0 0 0  
> echo 1 1 1 1 1 0 1 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 1  
> echo 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 0 0 1 0 0 0 0 0  
> echo 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 0 0 1 0 1 0 0  
> echo 1 1 1 1 1 0 1 1 0 0 0 1 1 0 1 0 1 0 1 1 1 1 0  
> echo 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 1 1 0  
> echo 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 0 0 1 1 1 1 0  
> echo 0 1 0 1 1 1 0 0 1 0 0 1 1 0 0 1 0 1 0 0 1 1 0  
> echo 1 0 1 0 0 1 0 1 1 1 1 0 0 1 0 0 1 0 1 0 1 0 0  
> echo 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 0 0 1 1 0 1 0 1  
> echo 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 0 0 1 0 1 0 0  
> echo 0 1 0 1 1 1 0 0 1 0 0 1 1 0 0 1 0 1 0 0 1 1 0  
> echo 1 0 1 0 0 1 0 1 1 1 1 0 0 1 0 0 1 1 0 1 0 0 1  
> echo 1 1 1 1 1 0 1 1 0 0 0 1 1 0 1 0 1 0 1 1 1 0 0  
> echo 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 0 0 1 1 1 0 1 1  
> echo 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 0 0 0 0 1 1 0  
> echo 1 0 1 0 0 1 0 1 1 1 1 0 0 1 0 0 1 0 1 0 1 0 0  
> echo 0 1 0 1 1 1 0 0 1 0 0 1 1 0 0 1 0 1 1 1 0 1 1  
> echo 1 0 1 0 0 1 0 1 1 1 1 0 0 1 0 0 1 0 0 1 1 0 1  
> echo 1 1 1 1 1 0 1 1 0 0 0 1 1 0 1 0 1 0 1 1 0 1 1  
> echo 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 0 0 1 1 0 1 1 0  
> echo 1 1 1 1 1 0 1 1 0 0 0 1 1 0 1 0 1 0 1 1 0 0 0  
> echo 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 0 0 0 0 1 1 0 1  
> echo 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 0 0 0 1 0 1 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 CRACKED  
> echo ———————————————-  
> echo.  
> echo PASSWORD FOUND!  
> echo FILE = %NAME%  
> echo CRACKED PASSWORD = %PSWD%  
> pause\>NUL  
> exit  
> REM ============================================================

**Step 3: Save it**

Save it with .bat extension e.g “RarPSWDCracker.bat”

**Step 4: Run**

Now Run it and Enter your File name and path then Hit Enter.

**Step 5: Wait**

Wait for some time until It crack the Password.

**Step 6: cracked**

It’s Done..!!  
your password has been successfully cracked. now you can open your Rar file using this password.

**Happy learning!**

---

<div class="post-metadata">

**Author:** ![Iss\_Ech](https://onehack.st/user_avatar/onehack.st/iss_ech/32/25346_2.png) [@Iss\_Ech](https://onehack.st/u/Iss_Ech)\
**Post date:** [March 19, 2021, 1:41pm UTC](https://onehack.st/t/how-to-create-rar-file-password-cracker-with-notepad/175878/2 "2021-03-19T13:41:07Z")

</div>

Not working, the window disappears by itself.

---

<div class="post-metadata">

**Author:** ![M.Hassan\_Ali](https://onehack.st/user_avatar/onehack.st/m.hassan_ali/32/22715_2.png) [@M.Hassan\_Ali](https://onehack.st/u/M.Hassan_Ali)\
**Post date:** [March 19, 2021, 10:29pm UTC](https://onehack.st/t/how-to-create-rar-file-password-cracker-with-notepad/175878/3 "2021-03-19T22:29:19Z")

</div>

I think you should try running it as an administrator.

---

<div class="post-metadata">

**Author:** ![ZzoZzo](https://onehack.st/user_avatar/onehack.st/zzozzo/32/75959_2.png) [@ZzoZzo](https://onehack.st/u/ZzoZzo)\
**Post date:** [March 20, 2021, 3:23am UTC](https://onehack.st/t/how-to-create-rar-file-password-cracker-with-notepad/175878/4 "2021-03-20T03:23:10Z")

</div>

I am asking a stupid question but please answer me. What will this do to my system when I run these code?

---

<div class="post-metadata">

**Author:** ![The\_Ellimist](https://onehack.st/user_avatar/onehack.st/the_ellimist/32/115726_2.png) [@The\_Ellimist](https://onehack.st/u/The_Ellimist)\
**Post date:** [March 20, 2021, 7:35pm UTC](https://onehack.st/t/how-to-create-rar-file-password-cracker-with-notepad/175878/5 "2021-03-20T19:35:13Z")

</div>

Thanks for sharing

Does this also work for zip files?

---

<div class="post-metadata">

**Author:** ![Fizzy](https://onehack.st/user_avatar/onehack.st/fizzy/32/37248_2.png) [@Fizzy](https://onehack.st/u/Fizzy)\
**Post date:** [March 21, 2021, 4:14am UTC](https://onehack.st/t/how-to-create-rar-file-password-cracker-with-notepad/175878/6 "2021-03-21T04:14:16Z")

</div>

This seems to be checking for numeric password only. It checks 0,1,2,3,4,5… and so on.
