From: Iceman Date: Sat, 22 Jul 2017 11:38:30 +0000 (+0200) Subject: Merge pull request #362 from merlokk/master X-Git-Tag: v3.1.0~184 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/6f7a0f7d86fa7f3d658bf559c972e082009f7332?hp=8614a5a27113700652da38e5e9fdbde3ea80a5c5 Merge pull request #362 from merlokk/master small fix formatmifare.lua --- diff --git a/client/scripts/formatMifare.lua b/client/scripts/formatMifare.lua index 66a61fba..a14c6b78 100644 --- a/client/scripts/formatMifare.lua +++ b/client/scripts/formatMifare.lua @@ -92,7 +92,7 @@ function GetCardInfo() numSectors = 5 elseif 0x10 == result.sak then -- NXP MIFARE Plus 2k numSectors = 32 - elseif 0x01 == sak then -- NXP MIFARE TNP3xxx 1K + elseif 0x01 == result.sak then -- NXP MIFARE TNP3xxx 1K numSectors = 16 else print("I don't know how many sectors there are on this type of card, defaulting to 16")