Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set pcap=E:\WPA\Commview
- set phccap=E:\WPA\Hashcat
- set paircrack=D:\Programme\cap2hccap
- set phashcat=D:\Programme\oclHashcat
- set pwordlist=M:\Wordlists
- set gpu-acc=16
- set gpu-loops=16
- set gpu-temp=90
- set imin=8
- set imax=20
- set chars1=?u?l?d
- set chars2=?u?l?d
- set chars3=?u?l?d
- echo C2C - Cap to Cat
- echo.
- :PATHS
- echo Default paths are:
- echo.
- echo .cap-File: %pcap%
- echo .hccap-File: %phccap%
- echo aircrack-ng.exe: %paircrack%
- echo oclHashcat64.exe: %phashcat%
- echo Wordlists: %pwordlist%
- echo.
- :Q0
- echo Keep these paths? (y/n)
- set /p var1=""
- if "%var1%" == "y" goto Q1
- if "%var1%" == "n" goto SET_PATHS
- if "%var1%" == "8" goto EIGHT
- echo.
- echo Please enter only y or n!
- goto Q0
- :SET_PATHS
- echo.
- echo Please set the folder containing the .cap file WITHOUT a "\" at the end!
- set /p pcap=""
- echo.
- echo Please set the folder containing the .hccap file WITHOUT a "\" at the end!
- set /p phccap=""
- echo.
- echo Please set the folder containing the aircrack.exe WITHOUT a "\" at the end!
- set /p paircrack=""
- echo.
- echo Please set the folder containing the oclHashcat64.exe WITHOUT a "\" at the end!
- set /p phashcat=""
- echo.
- echo Please set the folder containing the Wordlist WITHOUT a "\" at the end!
- set /p pwordlist=""
- echo.
- :Q1
- cls
- echo Do you want to use start or restore a session?
- echo Please press 1 to start a session.
- echo Please press 2 to restore a session.
- set /p var1=""
- if "%var1%" == "1" goto Q2
- if "%var1%" == "2" goto RESTORE
- echo.
- echo Please enter only y or n
- goto Q1
- :Q2
- cls
- echo Is the hccap file ready? (y/n)
- set /p var1=""
- if "%var1%" == "n" goto CONVERTER
- if "%var1%" == "y" goto PICKER
- echo.
- echo Please enter only y or n
- goto Q2
- :CONVERTER
- cls
- echo Welcome to the converter
- echo.
- echo Which file do you wish to convert?
- dir /B /P /W %pcap%
- echo.
- echo Please enter the filename WITH extention
- set /p vcap=""
- echo You have chosen %vcap%.
- echo.
- echo Please choose the name of the ouput file WITHOUT extension
- set /p vhccap=""
- echo The File will be named %vhccap%.hccap.
- echo.
- echo Push any button to begin the conversion.
- pause
- pushd %paircrack%
- aircrack-ng.exe %pcap%\%vcap% -J %phccap%\%vhccap%
- :Q3
- echo Do you want to keep using the created file? (y/n)
- set /p var1=""
- if "%var1%" == "y" (
- echo You will be using %vhccap%.hccap
- goto HASHCAT )
- if "%var1%" == "n" goto PICKER
- echo.
- echo Please enter only y or n
- goto Q3
- :PICKER
- cls
- echo Which file do you wish to use?
- dir /B /P /W %phccap%
- echo.
- echo Please enter the filename WITHOUT extention
- set /p vhccap=""
- echo You have chosen %vhccap%.hccap.
- :HASHCAT
- cls
- echo Welcome to the Hashcat
- :Q4
- echo.
- echo GPU-Acclleration: %gpu-acc%
- echo GPU-Loops: %gpu-loops%
- echo GPU-Temp-Abort: %gpu-temp% C
- echo Do you want to keep these settings? (y/n)
- set /p var1=""
- if "%var1%" == "n" goto PARAM
- if "%var1%" == "y" goto Q5
- echo.
- echo Please enter only y or n!
- goto Q4
- :PARAM
- echo.
- echo Please set the GPU-Accelleration (max=800, recommended=32)
- set /p gpu-acc=""
- echo.
- echo Please set the GPU-Loops (max=4096, also recommended)
- set /p gpu-loops=""
- echo.
- echo Please set the GPU-Temp-Abord (max=90)
- set /p gpu-temp=""
- echo.
- :Q5
- cls
- echo Do you want to use a dictionary- or a bruteforce-attack?
- echo Please press 1 to start a dictionary-attack.
- echo Please press 2 to start a bruteforce-attack.
- set /p var1=""
- if "%var1%" == "1" (
- set way=DICT
- goto DICT )
- if "%var1%" == "2" (
- set way=BRUTE
- goto Q7 )
- echo.
- echo Please enter only 1 or 2
- goto Q5
- :DICT
- cls
- echo Which dictionary do you wish to use?
- dir /B /P /W %pwordlist%
- echo.
- echo Please enter the filename WITH extention!
- set /p vlist=""
- echo You have chosen %vlist%
- :Q6
- cls
- echo Do you want to use rules? (y/n)
- set /p var1=""
- if "%var1%" == "y" goto RULES
- if "%var1%" == "n" (
- set method=%phccap%\%vhccap%.hccap %pwordlist%\%vlist%
- goto CATSTART )
- echo.
- echo Please enter only y or n!
- goto Q6
- :RULES
- cls
- echo Which ruleset do you wish to use?
- dir /B /P /W %phashcat%\rules
- echo.
- echo Please enter the filename WITHOUT extention!
- set /p rule=""
- echo You have chosen %rule%.rule
- set method=-r rules/%rule%.rule %phccap%\%vhccap%.hccap %pwordlist%\%vlist%
- goto CATSTART
- :Q7
- cls
- echo Do you want to use a custom mask? (y/n)
- set /p var1=""
- if "%var1%" == "y" goto MASK
- if "%var1%" == "n" goto BRUTE
- echo.
- echo Please enter only y or n
- goto Q7
- :MASK
- cls
- echo Use ?u for Uppercase-Letters (ABC...)
- echo Use ?l for lowercase-letters (abc...)
- echo Use ?d for digits (123...)
- echo Use ?s for symbols
- echo.
- echo Please define the custom charset 1 (default=?u?l?d)
- set /p chars1=""
- echo.
- echo Please define the custom charset 2 (default=?u?l?d)
- set /p chars2=""
- echo.
- echo Please define the custom charset 3 (default=?u?l?d)
- set /p chars3=""
- echo.
- echo Please enter the mask you want to use:
- set /p mask=""
- set method=-a 3 -1 %chars1% -2 %chars2% -3 %chars3% %phccap%\%vhccap%.hccap %mask%
- goto CATSTART
- :BRUTE
- cls
- echo Please select the minimum lengh (default=8).
- set /p imin=""
- echo.
- echo Please selcet the maximum lengh (default=20, max=40).
- set /p imax=""
- echo.
- echo Please define a charset (default=?u?l?d)
- echo Use ?u for Uppercase-Letters (ABC...)
- echo Use ?l for lowercase-letters (abc...)
- echo Use ?d for digits (123...)
- echo Use ?s for symbols
- set /p chars1=""
- set method=-a 3 -i --increment-min=%imin% --increment-max=%imax% -1 %chars1% %phccap%\%vhccap%.hccap ?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1?1
- goto CATSTART
- :CATSTART
- cls
- pushd %phashcat%
- echo HCCAP-File: %vhccap%.hccap
- echo Restore-File: %date%_%vhccap%_%way%
- echo Output-File: output\%vhccap%
- echo.
- echo GPU-Acclleration: %gpu-acc%
- echo GPU-Loops: %gpu-loops%
- echo GPU-Temp-Abort: %gpu-temp% C
- echo Method: %method%
- echo.
- echo Press any key to unleash the cat!
- pause >nul
- oclHashcat64.exe --session=restore/%date%_%vhccap%_%way% --restore-timer=300 --gpu-accel=%gpu-acc% --gpu-loops=%gpu-loops% --gpu-temp-abort=%gpu-temp% -m 2500 -o %date%_%vhccap% %method% -o output/%vhccap%
- :Q8
- echo.
- echo Crack another file? (y/n)
- set /p var1=""
- if "%var1%" == "y" goto Q1
- if "%var1%" == "n" goto EXIT
- echo.
- echo Please enter only y or n!
- goto Q8
- :EXIT
- echo.
- echo This Window will be closed now.
- pause
- exit
- :RESTORE
- cls
- echo Which file do you wish to restore?
- dir /B /P /W %phashcat%\restore
- echo.
- echo Please enter the filename WITHOUT extention!
- set /p restore=""
- cls
- echo %restore%.restore will be restored.
- echo Press any button to begin.
- pause >nul
- pushd %phashcat%
- oclHashcat64.exe --session=restore/%restore% --restore
- goto Q8
- :EIGHT
- cls
- set /A ceight=0
- echo This is NOT the Stanley Parable!
- echo.
- :EIGHT2
- pause >nul
- echo Eight.
- set /A ceight=%ceight%+1
- if "%ceight%" == "5" echo The Stanley Parable doesn't even look like this!
- if "%ceight%" == "10" echo Why are you still pressing that button?
- if "%ceight%" == "20" echo You are wasting your time!
- if "%ceight%" == "35" echo You... you ARE really enjoying this, right?
- if "%ceight%" == "50" echo Okay, I'll keep my mouth shut and wait for this to be over.
- if "%ceight%" == "88" echo EIGHT-y-EIGHT, okay, I get it.
- if "%ceight%" == "100" echo REALLY?!?
- if "%ceight%" == "1000" echo You have pressed that button 1000 times now. ONE THOUSAND TIMES!
- goto EIGHT2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement