show information if BEACON or PROBERESPONSE frames are missing
@@ -867,6 +867,24 @@ if(radiotappresent == false)
"from the driver to userspace applications.\n"
"https://www.radiotap.org/\n");
}
+if(beaconcount == 0)
+ {
+ fprintf(stdout, "\nInformation: missing frames!\n"
+ "This dump file does not contain BEACON frames.\n"
+ "A BEACON frame contain the ESSID which is mandatory to calculate a PMK.\n"
+ "It always happens if the capture file was cleaned or\n"
+ "it could happen if filter options are used during capturing.\n"
+ "That makes it impossibleto recover the PSK.\n");
+ }
+if(proberesponsecount == 0)
+ {
+ fprintf(stdout, "\nInformation: missing frames!\n"
+ "This dump file does not contain PROBERESPONSE frames.\n"
+ "A PROBERESPONSE frame contain the ESSID which is mandatory to calculate a PMK.\n"
+ "It always happens if the capture file was cleaned or\n"
+ "it could happen if filter options are used during capturing.\n"
+ "That makes it impossibleto recover the PSK.\n");
+ }
if(proberequestcount == 0)
{
fprintf(stdout, "\nInformation: missing frames!\n"
