mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-27 01:25:41 +08:00
pm3_mfdread.py script python3 and warn for bitstring module
This commit is contained in:
parent
af7fb17607
commit
5527cb2428
1 changed files with 7 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# mfdread.py - Mifare dumps parser in human readable format
|
||||
|
@ -18,8 +18,11 @@ import copy
|
|||
import sys
|
||||
from collections import defaultdict
|
||||
|
||||
from bitstring import BitArray
|
||||
|
||||
try:
|
||||
from bitstring import BitArray
|
||||
except ModuleNotFoundError:
|
||||
print("Please install bitstring module first.")
|
||||
sys.exit(1)
|
||||
|
||||
class Options:
|
||||
FORCE_1K = False
|
||||
|
@ -28,7 +31,7 @@ class Options:
|
|||
if len(sys.argv) == 1:
|
||||
sys.exit('''
|
||||
------------------
|
||||
Usage: mfdread.py ./dump.mfd
|
||||
Usage: pm3_mfdread.py ./dump.mfd
|
||||
Mifare dumps reader.
|
||||
''')
|
||||
|
||||
|
|
Loading…
Reference in a new issue