Pwnagotchi
Convert pcaps to 22000 hashcat format and create one file with all hashes
#!/bin/bash
pcaps_dir=$1
output_dir=$2
for entry in "$pcaps_dir"/*
do
# echo "$entry"
hcxpcapngtool -o "$output_dir"/"$entry".22000 "$pcaps_dir"/"$entry"
done
# Create one file with all hashesh
for entry in "$output_dir"/*.22000
do
echo "$entry"
cat $entry >> "$output_dir"/all.22000
done