mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
CHG: renamed struct sector -> sector_t
CHG: defines on armside CHG: #define WIN32 -> _WIN32 CHG: started to enhance "hf mf chkkeys" REM: removed some duplicates etc in default keys.
This commit is contained in:
parent
318bae20de
commit
57778a4630
12 changed files with 64 additions and 41 deletions
|
@ -30,6 +30,7 @@ If you want to add more, just put them inside /lualibs/mf_default_keys.lua\n"):f
|
|||
|
||||
Arguments:
|
||||
-h : this help
|
||||
-p : print keys
|
||||
]]
|
||||
|
||||
local TIMEOUT = 10000 -- 10 seconds
|
||||
|
@ -179,12 +180,20 @@ local function dumptofile(results)
|
|||
file:close()
|
||||
end
|
||||
end
|
||||
local function printkeys()
|
||||
for i=0,#keys do
|
||||
print(i,keys[i])
|
||||
|
||||
end
|
||||
print ('Number of keys: '..#keys)
|
||||
end
|
||||
|
||||
local function main( args)
|
||||
|
||||
-- Arguments for the script
|
||||
for o, a in getopt.getopt(args, 'h') do
|
||||
for o, a in getopt.getopt(args, 'hp') do
|
||||
if o == "h" then return help() end
|
||||
if o == "p" then return printkeys() end
|
||||
end
|
||||
|
||||
result, err = reader.read1443a()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue