hf 14a cuids, sim - now use cliparser

This commit is contained in:
tcprst 2020-12-29 20:58:13 -05:00
commit 49990ab11d
No known key found for this signature in database
GPG key ID: 9145EAF5121AED25
6 changed files with 87 additions and 106 deletions

View file

@ -99,10 +99,10 @@ local function main(args)
local command = ''
if mftype == 'mfc' then
command = 'hf 14a sim t 1 u %014x'
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 %014x'
command = 'hf 14a sim -t 2 -u %014x'
msg('Bruteforcing Mifare Ultralight card numbers')
else
return print(usage)