style
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user