mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fm11rf08s script: colors module optional
This commit is contained in:
parent
494a201e9d
commit
1e0661edf6
1 changed files with 8 additions and 2 deletions
|
@ -16,10 +16,16 @@
|
||||||
import time
|
import time
|
||||||
import subprocess
|
import subprocess
|
||||||
import argparse
|
import argparse
|
||||||
# pip install ansicolors
|
|
||||||
from colors import color
|
|
||||||
import pm3
|
import pm3
|
||||||
from output_grabber import OutputGrabber
|
from output_grabber import OutputGrabber
|
||||||
|
# optional color support
|
||||||
|
try:
|
||||||
|
# pip install ansicolors
|
||||||
|
from colors import color
|
||||||
|
except ModuleNotFoundError:
|
||||||
|
def color(s, fg=None):
|
||||||
|
_ = fg
|
||||||
|
return str(s)
|
||||||
|
|
||||||
BACKDOOR_RF08S = "A396EFA4E24F"
|
BACKDOOR_RF08S = "A396EFA4E24F"
|
||||||
NUM_SECTORS = 16
|
NUM_SECTORS = 16
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue