Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title Winrar brute force
- copy C:\Program Files\WinRAR\Unrar.exe
- set pass=0
- set dest=%TEMP%\%RANDOM%
- md %dest%
- cls
- :start
- color a
- cls
- echo.-------------------
- echo GET RAR DETAILS
- echo.-------------------
- echo.
- set /p name=File-Name:
- if %name%=="" goto nerror
- goto start1
- :nerror
- echo ----------------------------------------------
- echo ERROR
- echo ----------------------------------------------
- echo Sorry you can't leave it blank.
- pause
- goto start
- :start1
- SET /P PATH=File-Path:
- IF %PATH%=="" goto PERROR
- goto NEXT
- :perror
- echo ----------------------------------------------
- echo ERROR
- echo ----------------------------------------------
- echo Sorry you can't leave it blank.
- pause
- goto start
- :next
- IF EXIST "%PATH%\%NAME%" GOTO starting
- goto error
- :error
- echo.-----------
- echo ERROR
- echo.-----------
- echo whopppzz file doesn exist wew
- pause
- goto start
- :starting
- set /a pass=%pass%+1
- echo brute forcing and trying password..
- echo %pass%
- UNRAR E -INUL -p%pass% %path%\%name% %dest%
- if /i %errorlevel% equ 0 goto finish
- goto starting
- :finish
- rd %dest% /q /s
- del unrar.exe
- cls
- echo.-------------
- echo CRACKED
- echo.-----+-------
- echo.
- echo password found :)
- echo.
- file:%name%
- password:%pass%
- pause
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement