fix: 'script run mifare_autopwn' - out of context,...

This commit is contained in:
iceman1001 2017-12-10 09:25:26 +01:00
parent e5f2198653
commit 8fbea68295

View file

@ -158,7 +158,7 @@ local function main(args)
print("Using key: "..key);
else
-- Crack it
local key, cnt
local cnt
err, res = core.mfDarkside()
if err == -1 then return oops("Button pressed. Aborted.")
elseif err == -2 then return oops("Card is not vulnerable to Darkside attack (doesn't send NACK on authentication requests).")