mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-16 10:03:04 -07:00
lib scripts
This commit is contained in:
parent
c666269670
commit
cc914ccac1
5 changed files with 100 additions and 5 deletions
13
client/experimental_lib/example_py/test_grab.py
Executable file
13
client/experimental_lib/example_py/test_grab.py
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import pm3
|
||||
from output_grabber import OutputGrabber
|
||||
|
||||
out = OutputGrabber()
|
||||
p=pm3.pm3("/dev/ttyACM1")
|
||||
print("Device:", p.name)
|
||||
with out:
|
||||
p.console("hw status")
|
||||
for line in out.capturedtext.split('\n'):
|
||||
if "Unique ID" in line:
|
||||
print(line)
|
Loading…
Add table
Add a link
Reference in a new issue