mfkeys.lua: Remove trailing whitespaces.

This commit is contained in:
Arnie97 2018-01-25 14:48:26 +08:00
parent f88fa399bc
commit b5cf8b07e2

View file

@ -90,6 +90,7 @@ local function displayresults(results)
print("|--------------------------------------|")
end
-- A little helper to place an item first in the list
local function placeFirst(akey, list)
akey = akey:lower()
@ -106,6 +107,7 @@ local function placeFirst(akey, list)
end
return result
end
local function dumptofile(results)
local sector, blockNo, keyA, keyB,_
@ -159,7 +161,7 @@ local function main( args)
elseif 0x09 == result.sak then -- NXP MIFARE Mini 0.3k
-- MIFARE Classic mini offers 320 bytes split into five sectors.
numSectors = 5
elseif 0x10 == result.sak then-- "NXP MIFARE Plus 2k"
elseif 0x10 == result.sak then -- NXP MIFARE Plus 2k
numSectors = 32
else
print("I don't know how many sectors there are on this type of card, defaulting to 16")
@ -200,4 +202,3 @@ local function main( args)
end
main(args)