show only own PMKID type 4, too
@@ -3877,12 +3877,15 @@ if(authlen >= WPAKEY_SIZE +PMKID_SIZE)
pmkid = (pmkid_t*)(wpakptr +WPAKEY_SIZE);
if(pmkid->id != TAG_VENDOR) return;
if(memcmp(pmkid->pmkid, &zeroed32, 16) != 0)
+ {
+ if((pmkid->len == 0x14) && (pmkid->type == 0x04))
{
if(addownap(AP_PMKID, macfrx->addr3) == false) return;
pmkidroguecount++;
if((statusout &STATUS_EAPOL) == STATUS_EAPOL) printpmkid(macfrx->addr1, macfrx->addr3, pmkid->pmkid, lastkeyver, "PMKIDROGUE");
}
}
+ }
return;
}
/*===========================================================================*/
