Don't check for Mifare Mini if Plus detected

This commit is contained in:
Aaron Tulino (Aaronjamt) committed 2026-06-13 19:03:50 -07:00
1 parent e166cb2f85
commit b3dc459b86
1 file changed
+1 -1
+1 -1
View File
@@ -3158,7 +3158,7 @@ static int CmdHF14AMfAutoPWN(const char *Cmd) {
PrintAndLogEx(INFO, "MIFARE Plus card detected. Using limited set of attacks");
}
if (isMifareMini && sector_cnt != MIFARE_MINI_MAXSECTOR) {
if (!isMifarePlus && isMifareMini && sector_cnt != MIFARE_MINI_MAXSECTOR) {
PrintAndLogEx(WARNING, "MIFARE Mini S20 card detected. Changing sector count to %u", MIFARE_MINI_MAXSECTOR);
sector_cnt = MIFARE_MINI_MAXSECTOR;
}