Merge pull request #3381 from aaronjamt/patch-mifare-detection

Don't check for MFC Mini if Plus detected
This commit is contained in:
Iceman authored and GitHub committed 2026-06-14 08:42:19 +02:00
commit accd6f5797
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;
}