hcxpsktool is a powerful tool in combination with hashcat. To improve speed on large hash files, it should be wrapped by a script:
hash mode 2500:
wlanhcx2ssid -i "$HOME/.....path_to your hashfile.hccapx" -e
for HCXTMP in `find -type f -name "*.hccapx"`
do
ls *.hccapx | wc
hcxpsktool -i "$HCXTMP" -o test.list
hashcat -m 2500 --self-test-disable --advice-disable --logfile-disable -w 3 --nonce-error-corrections=32 --potfile-path="hashcat.new.pmk" -o "hashcat.new.mac" "$HCXTMP" test.list
rm "$HCXTMP"
rm test.list
done
The same aply to hash mode 16800:
while HASHLINE='' read -r line || [[ -n "$line" ]]
do
HASHNAME=`echo "$line" | awk 'BEGIN { FS = ":" } ; { print $4 }'`
echo "$line" >> "$HASHNAME.16800"
done < "$HOME/.....path_to your hashfile .16800"
for HCXTMP in `find -type f -name "*.16800"`
do
ls *.16800 | wc
hcxpsktool -z "$HCXTMP" > test.list
hashcat -m 16800 --self-test-disable --advice-disable --logfile-disable -w 3 --potfile-path="hashcat.new.pmk" -o "hashcat.new.mac" "$HCXTMP" test.list
rm "$HCXTMP"
rm test.list
done
A good idea is to mkdir a folder and run the scripts inside the folder.
If you have small GPU power, it is a good idea to sort | unique "test.list", before feeding it to hashcat.
hash mode 2500:
wlanhcx2ssid -i "$HOME/.....path_to your hashfile.hccapx" -e
for HCXTMP in `find -type f -name "*.hccapx"`
do
ls *.hccapx | wc
hcxpsktool -i "$HCXTMP" -o test.list
hashcat -m 2500 --self-test-disable --advice-disable --logfile-disable -w 3 --nonce-error-corrections=32 --potfile-path="hashcat.new.pmk" -o "hashcat.new.mac" "$HCXTMP" test.list
rm "$HCXTMP"
rm test.list
done
The same aply to hash mode 16800:
while HASHLINE='' read -r line || [[ -n "$line" ]]
do
HASHNAME=`echo "$line" | awk 'BEGIN { FS = ":" } ; { print $4 }'`
echo "$line" >> "$HASHNAME.16800"
done < "$HOME/.....path_to your hashfile .16800"
for HCXTMP in `find -type f -name "*.16800"`
do
ls *.16800 | wc
hcxpsktool -z "$HCXTMP" > test.list
hashcat -m 16800 --self-test-disable --advice-disable --logfile-disable -w 3 --potfile-path="hashcat.new.pmk" -o "hashcat.new.mac" "$HCXTMP" test.list
rm "$HCXTMP"
rm test.list
done
A good idea is to mkdir a folder and run the scripts inside the folder.
If you have small GPU power, it is a good idea to sort | unique "test.list", before feeding it to hashcat.