mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 03:48:33 +08:00
chg: known key is treated as a string.
This commit is contained in:
parent
e36b07efc4
commit
f364f71294
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ function main(args)
|
||||||
-- or actually blockNo and keytype
|
-- or actually blockNo and keytype
|
||||||
-- just try default for now
|
-- just try default for now
|
||||||
if sector == 1 and targetkeytype == 0 then
|
if sector == 1 and targetkeytype == 0 then
|
||||||
keyA = key
|
keyA = tonumber(key)
|
||||||
else
|
else
|
||||||
local err, foundkey = core.hardnested(blockno, keytype, key, trgblockno, tostring(targetkeytype), trgkey, 0,0,0,0)
|
local err, foundkey = core.hardnested(blockno, keytype, key, trgblockno, tostring(targetkeytype), trgkey, 0,0,0,0)
|
||||||
foundkey = foundkey or ""
|
foundkey = foundkey or ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue