Merge pull request #3381 from aaronjamt/patch-mifare-detection
Don't check for MFC Mini if Plus detected
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user