G4lile0 / ESP32-WiFi-Hash-Monster

WiFi Hash Purple Monster, store EAPOL & PMKID packets in an SD CARD using a M5STACK / ESP32 device
MIT License
893 stars 101 forks source link

After writing pcap file to sdcard, it cannot continue #57

Open grymoire opened 8 months ago

grymoire commented 8 months ago

I have it running on a M5Stack-Basic using platformio. While running, I long-press button one, and it writes a pcap file. If I collect more data and try to write more data, it fails. After closing the file, it cannot open a new file. sd_begin() fails. I think I've tracked it down to a ESP_ERR_NO_MEM error. It should also "reset" the screen and start counting handshakes, deauths, etc again.

What this means is that once I create a pcap file, I have to unplug and re-plug the device to continue to capture. The ability to create multiple pcap files makes it easier to capture information for longer periods without the danger of losing information.