]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
chg: known key is treated as a string.
authoriceman1001 <iceman@iuse.se>
Wed, 25 Jan 2017 00:11:34 +0000 (01:11 +0100)
committericeman1001 <iceman@iuse.se>
Wed, 25 Jan 2017 00:11:34 +0000 (01:11 +0100)
client/scripts/hard_autopwn.lua

index 1ba8b512679e74740f18ce3579881821a17aa8f0..a4eb8eb704b4748f8a821b896aa4ac2806a8b0f2 100644 (file)
@@ -168,7 +168,7 @@ function main(args)
                        -- or actually blockNo and keytype
                        -- just try default for now
                        if sector == 1 and targetkeytype == 0 then
-                               keyA = key
+                               keyA = tonumber(key)
                        else
                                local err, foundkey = core.hardnested(blockno, keytype, key, trgblockno, tostring(targetkeytype), trgkey, 0,0,0,0)
                                foundkey = foundkey or ""
Impressum, Datenschutz