mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 12:59:44 -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("|--------------------------------------|")
|
print("|--------------------------------------|")
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- A little helper to place an item first in the list
|
-- A little helper to place an item first in the list
|
||||||
local function placeFirst(akey, list)
|
local function placeFirst(akey, list)
|
||||||
akey = akey:lower()
|
akey = akey:lower()
|
||||||
|
|
@ -106,6 +107,7 @@ local function placeFirst(akey, list)
|
||||||
end
|
end
|
||||||
return result
|
return result
|
||||||
end
|
end
|
||||||
|
|
||||||
local function dumptofile(results)
|
local function dumptofile(results)
|
||||||
local sector, blockNo, keyA, keyB,_
|
local sector, blockNo, keyA, keyB,_
|
||||||
|
|
||||||
|
|
@ -159,7 +161,7 @@ local function main( args)
|
||||||
elseif 0x09 == result.sak then -- NXP MIFARE Mini 0.3k
|
elseif 0x09 == result.sak then -- NXP MIFARE Mini 0.3k
|
||||||
-- MIFARE Classic mini offers 320 bytes split into five sectors.
|
-- MIFARE Classic mini offers 320 bytes split into five sectors.
|
||||||
numSectors = 5
|
numSectors = 5
|
||||||
elseif 0x10 == result.sak then-- "NXP MIFARE Plus 2k"
|
elseif 0x10 == result.sak then -- NXP MIFARE Plus 2k
|
||||||
numSectors = 32
|
numSectors = 32
|
||||||
else
|
else
|
||||||
print("I don't know how many sectors there are on this type of card, defaulting to 16")
|
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
|
end
|
||||||
|
|
||||||
main(args)
|
main(args)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue