hf mf nested - now use cliparser
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ local function main(args)
|
||||
|
||||
--Trying to find the other keys
|
||||
if useNested then
|
||||
core.console( ('hf mf nested 1 0 A %s d'):format(keyA) )
|
||||
core.console( ('hf mf nested -t 1 -b 0 --keya -k %s --dumpkeys'):format(keyA) )
|
||||
end
|
||||
|
||||
core.clearCommandBuffer()
|
||||
|
||||
Reference in New Issue
Block a user