]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Merge pull request #362 from merlokk/master
authorIceman <iceman@iuse.se>
Sat, 22 Jul 2017 11:38:30 +0000 (13:38 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Jul 2017 11:38:30 +0000 (13:38 +0200)
small fix formatmifare.lua

client/scripts/formatMifare.lua

index 66a61fba9005f29555ae38904470e223bfa5dafb..a14c6b78ecf591e7c2c2c4baace1245cb29d64b8 100644 (file)
@@ -92,7 +92,7 @@ function GetCardInfo()
                numSectors = 5\r
        elseif  0x10 == result.sak then -- NXP MIFARE Plus 2k\r
                numSectors = 32\r
-       elseif  0x01 == sak then        -- NXP MIFARE TNP3xxx 1K\r
+       elseif  0x01 == result.sak then -- NXP MIFARE TNP3xxx 1K\r
                numSectors = 16\r
        else\r
                print("I don't know how many sectors there are on this type of card, defaulting to 16")\r
Impressum, Datenschutz