mirror of https://github.com/hashcat/hashcat.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
556 B
17 lines
556 B
1 year ago
|
#!/bin/bash
|
||
|
FILE="./hashcat.exe"
|
||
|
if [[ -f "$FILE" ]]; then
|
||
|
echo "we found hashcat.exe binary so use that" #wsl
|
||
|
else
|
||
|
FILE="./hashcat"
|
||
|
if [[ -f "$FILE" ]]; then
|
||
|
echo "we found ./hashcat binary so use that" #linux
|
||
|
else
|
||
|
echo "could not find hashcat binary, compile it first using make"
|
||
|
exit
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
$FILE -a0 -m17040 tools/refdata/m17040/ref1-cast5.hash tools/refdata/m17040/ref1-cast5.txt --potfile-disable
|
||
|
$FILE -a0 -m17040 tools/refdata/m17040/ref2-cast5.hash tools/refdata/m17040/ref2-cast5.txt --potfile-disable
|