fix: script hf_bruteforce - ensure zeropadding

This commit is contained in:
iceman1001 2020-03-21 23:13:41 +01:00
commit fc1c133c46

View file

@ -96,10 +96,10 @@ local function main(args)
local command = ''
if mftype == 'mfc' then
command = 'hf 14a sim t 1 u %14X'
command = 'hf 14a sim t 1 u %014x'
msg('Bruteforcing Mifare Classic card numbers')
elseif mftype == 'mfu' then
command = 'hf 14a sim t 2 u %14X'
command = 'hf 14a sim t 2 u %014x'
msg('Bruteforcing Mifare Ultralight card numbers')
else
return print(usage)