mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-31 12:00:10 -07:00
mfkeys.lua: Remove trailing whitespaces.
This commit is contained in:
parent
f88fa399bc
commit
b5cf8b07e2
1 changed files with 30 additions and 29 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue