How to Program a Fairly Simple Hacking Batch or Bat File

Sep 10, 2013 06:20 AM

This how to will show you how to program a fairly simple Hacking bat file.

First open notepad.

Then copy the text into notpad:

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

:PERROR

echo ----------------------------------------------

echo ERROR

echo ----------------------------------------------

echo Sorry you can't leave it blank.

pause

goto RAR

:NEXT

IF EXIST "%PATH%\%NAME%" GOTO START

goto PATH

:PATH

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 ============================================================

After you have done that save the file as rarhacker.bat make sure your file has the .bat at the end.

Enjoy!

Related Articles

637263493835297420.jpg

How to Use Zero-Width Characters to Hide Secret Messages in Text (& Even Reveal Leaks)

636455706472146367.jpg

How to Hide DDE-Based Attacks in MS Word

Comments

No Comments Exist

Be the first, drop a comment!