hf legic restore - now use cliparser

This commit is contained in:
tcprst 2020-12-21 12:50:12 -05:00
commit ef2dfc8b3b
No known key found for this signature in database
GPG key ID: 9145EAF5121AED25
3 changed files with 21 additions and 50 deletions

View file

@ -456,7 +456,7 @@ local function writeToTag(plainBytes)
-- write data to file
if (writeOutputBytes(bytes, "hf-legic-UID-dump.bin")) then
-- write pm3-buffer to Tag
cmd = ('hf legic restore f hf-legic-UID-dump')
cmd = ('hf legic restore -f hf-legic-UID-dump')
core.console(cmd)
end
end