proxmark3/client/experimental_client_with_swig/testembedded_grab.py
2020-11-13 22:40:06 +01:00

13 lines
263 B
Python
Executable file

#!/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)