This is a Bash script to help you identify the correct handshakes that are captured from your Pwnagotchi. Copy your Pwnagotchi handshakes from /root/handshakes/ to a linux distribution that has aircrack-ng installed.
Always backup your original Pwnagotchi handshakes.
./pwnaclear.sh
After execution of the script declare the path that you have stored your handshakes. The script will check for the right ones and move them to a new file called CleanHandshakes. Further it will show how many pcap files you had and how many moved to the CleanHandshakes file.
Tested on Parrot_OS