mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-28 19:31:19 +08:00
14 lines
263 B
Python
14 lines
263 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
import pm3
|
||
|
from output_grabber import OutputGrabber
|
||
|
|
||
|
out = OutputGrabber()
|
||
|
p=pm3.pm3()
|
||
|
print("Device:", p.name)
|
||
|
with out:
|
||
|
p.console("hw status")
|
||
|
for line in out.capturedtext.split('\n'):
|
||
|
if "Unique ID" in line:
|
||
|
print(line)
|