mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 16:18:09 +00:00
20294ef883
Call script from main folder: tools/gpg_tests/example17040.sh
17 lines
596 B
Bash
Executable File
17 lines
596 B
Bash
Executable File
#!/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/gpg_tests/refdata/m17040/ref1-cast5.hash tools/gpg_tests/refdata/m17040/ref1-cast5.txt --potfile-disable
|
|
$FILE -a0 -m17040 tools/gpg_tests/refdata/m17040/ref2-cast5.hash tools/gpg_tests/refdata/m17040/ref2-cast5.txt --potfile-disable
|