From fc1c133c46aefc65dae10eb4fe81b39cd847c610 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 21 Mar 2020 23:13:41 +0100 Subject: [PATCH] fix: script hf_bruteforce - ensure zeropadding --- client/luascripts/hf_bruteforce.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/luascripts/hf_bruteforce.lua b/client/luascripts/hf_bruteforce.lua index ff8ba6764..485d72809 100644 --- a/client/luascripts/hf_bruteforce.lua +++ b/client/luascripts/hf_bruteforce.lua @@ -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)