mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-15 06:09:13 +08:00
more colors
This commit is contained in:
parent
96675f41a1
commit
8de4797b30
1 changed files with 5 additions and 3 deletions
|
@ -241,10 +241,12 @@ globals:
|
|||
if " | " in line and "# | s" not in line:
|
||||
blk0 = line[10:56+1]
|
||||
if res == 0:
|
||||
lprint(" - success", prompt='')
|
||||
s = color('ok', fg='green')
|
||||
lprint(f" ( {s} )", prompt='')
|
||||
bdkey = k
|
||||
break
|
||||
lprint(f" - fail [{res}]", prompt='')
|
||||
s = color('fail', fg='yellow')
|
||||
lprint(f" ( {s} ) [{res}]", prompt='')
|
||||
|
||||
if bdkey == "":
|
||||
lprint("\n Unknown key, or card not detected.", prompt='[!]')
|
||||
|
@ -474,7 +476,7 @@ globals:
|
|||
rv = False, mad, key
|
||||
|
||||
else:
|
||||
lprint("All keys verified OK")
|
||||
lprint("All keys verified")
|
||||
rv = True, mad, key
|
||||
|
||||
if mad is True:
|
||||
|
|
Loading…
Reference in a new issue