Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Author: 0xsauby
- EXPECTED_ARGS=2
- if [ $# -ne $EXPECTED_ARGS ]
- then
- echo "Usage: `basename $0` hashtype hashlist"
- exit 1
- fi
- hashtype="$1"
- hashlist="$2"
- dict="/usr/local/share/hashcat/dicts" #Update Path
- hashcat="/usr/local/bin/hashcat" #Update Path
- perf_settings="--gpu-temp-retain=40 -c 256 --remove -o $hashlist.cracked -w 3"
- rules="/usr/local/share/hashcat/rules" #Update Path
- #pack="oclHashcat\masks\" #Update Path
- echo "cracked pw's will be in $hashlist.cracked"
- echo "simple ?a?a?a?a?a"
- $hashcat $perf_settings -m $hashtype -i -a 3 $hashlist ?a?a?a?a?a
- echo "simple ?l?l?l?l?l?l?l?l"
- $hashcat $perf_settings -m $hashtype -i -a 3 $hashlist ?l?l?l?l?l?l?l?l
- echo "best64 + crackstation" #Replace rule name and dictionary name
- $hashcat $perf_settings -m $hashtype -a 0 --loopback -r $rules/best64.rule $hashlist $dict/crackstation-dictionary.txt
- #echo "linkedin + various masks"
- #$hashcat $perf_settings -m $hashtype -i -a 6 $hashlist $dict/linked.dic ?a?a
- #$hashcat $perf_settings -m $hashtype -i -a 6 $hashlist $dict/linked.dic ?s?d?d?d
- #$hashcat $perf_settings -m $hashtype -i -a 6 $hashlist $dict/linked.dic ?d?d?s
- #$hashcat $perf_settings -m $hashtype -i -a 6 $hashlist $dict/linked.dic ?s?s?d
- #$hashcat $perf_settings -m $hashtype -i -a 6 $hashlist $dict/linked.dic ?d?d?d?s
- #$hashcat $perf_settings -m $hashtype -i -a 6 $hashlist $dict/linked.dic ?d?d?d?d
- echo "crackstation + toxic v2 rules"
- $hashcat $perf_settings -m $hashtype -a 0 --loopback -r $rules/T0XlCv1.rule $hashlist $dict/crackstation-dictionary.txt
- echo "crackstation + toxic v1 rules"
- $hashcat $perf_settings -m $hashtype -a 0 --loopback -r $rules/T0XlC.rule $hashlist $dict/crackstation-dictionary.txt
- echo "crackstation + d3ad0ne rules"
- $hashcat $perf_settings -m $hashtype -a 0 --loopback -r $rules/d3ad0ne.rule $hashlist $dict/crackstation-dictionary.txt
- ~
Advertisement
Add Comment
Please, Sign In to add comment