From: iceman1001 Date: Wed, 25 Jan 2017 07:36:51 +0000 (+0100) Subject: CHG:forget the "base".. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/4431b482d76e683ca88fed39ac388f2bb83986ef CHG:forget the "base".. --- diff --git a/client/scripts/hard_autopwn.lua b/client/scripts/hard_autopwn.lua index a4eb8eb7..3f2ed870 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 = tonumber(key) + keyA = tonumber(key,16) else local err, foundkey = core.hardnested(blockno, keytype, key, trgblockno, tostring(targetkeytype), trgkey, 0,0,0,0) foundkey = foundkey or ""