hf mf nested - now use cliparser

This commit is contained in:
tcprst 2021-02-07 17:32:25 -05:00
commit 200e2e540f
No known key found for this signature in database
GPG key ID: 9145EAF5121AED25
4 changed files with 71 additions and 63 deletions

View file

@ -99,7 +99,7 @@ local function nested(key,sak)
else
print("I don't know how many sectors there are on this type of card, defaulting to 16")
end
local cmd = string.format('hf mf nested %d 0 A %s d', typ, key)
local cmd = string.format('hf mf nested -t %d -b 0 --keya -k %s --dumpkeys', typ, key)
core.console(cmd)
end