repo.or.cz
/
RRG-proxmark3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
added more keys (@equipter)
[RRG-proxmark3.git]
/
client
/
experimental_client_with_swig
/
testembedded_grab.py
blob
caec75769cd85b88148440f3e62a636e3d79232b
1
#!/usr/bin/env python3
2
3
import
pm3
4
from
output_grabber
import
OutputGrabber
5
6
out
=
OutputGrabber
()
7
p
=
pm3
.
pm3
()
8
print
(
"Device:"
,
p
.
name
)
9
with out
:
10
p
.
console
(
"hw status"
)
11
for
line
in
out
.
capturedtext
.
split
(
'
\n
'
):
12
if
"Unique ID"
in
line
:
13
print
(
line
)