This commit is contained in:
Philippe Teuwen
2019-05-01 01:38:52 +02:00
parent 5801cfa4a8
commit 4f11ef048f
11 changed files with 38 additions and 38 deletions

View File

@@ -209,7 +209,7 @@ local function perform_check(numsectors)
core.fast_push_mode(true)
local start_time = os.time()
for sector = 0, #keys do
-- Check if user aborted
if core.ukbhit() then
@@ -231,15 +231,15 @@ local function perform_check(numsectors)
keys[sector] = {succA, succB, keyA, keyB}
end
local end_time = os.time()
print('')
print('[+] mfkeys - Checkkey execution time: '..os.difftime(end_time, start_time)..' sec')
core.fast_push_mode(false)
display_results(keys)
-- save to dumpkeys.bin
dumptofile(keys)
end
@@ -282,7 +282,7 @@ local function main(args)
-- identify tag
tag, err = lib14a.read(false, true)
if not tag then return oops(err) end
-- detect sectors and print taginfo
numsectors = taginfo(tag)