From: iceman1001 Date: Wed, 25 Jan 2017 00:11:34 +0000 (+0100) Subject: chg: known key is treated as a string. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/f364f712945fec98aa3f165b40f465bf18490156 chg: known key is treated as a string. --- diff --git a/client/scripts/hard_autopwn.lua b/client/scripts/hard_autopwn.lua index 1ba8b512..a4eb8eb7 100644 --- a/client/scripts/hard_autopwn.lua +++ b/client/scripts/hard_autopwn.lua @@ -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 ""