pm3_console() in Python/Lua/C: replace passthru by capture and quiet

This commit is contained in:
Philippe Teuwen committed 2024-10-29 21:13:38 +01:00
1 parent 57ec287ab0
commit de96479d80
16 files changed
+4341 -4193

No files matched your search

@@ -13,3 +13,4 @@
ln -s build/proxmark3 .
)
ln -s ../pyscripts/pm3.py
ln -s ../lualibs/dkjson.lua
@@ -1,4 +1,8 @@
#!/bin/bash
cd ..
make -j
(
cd ..
make -j
)
ln -s ../pyscripts/pm3.py
ln -s ../lualibs/dkjson.lua
@@ -10,7 +10,7 @@ for line in p.grabbed_output:gmatch("[^\r\n]+") do
end
print("Device:", p.name)
p:console("Rem passthru remark! :coffee:", true)
p:console("Rem passthru remark! :coffee:", false, false)
local json = require("dkjson")
print("Fetching prefs:")
@@ -11,7 +11,7 @@ for line in p.grabbed_output.split('\n'):
if "uC:" in line:
print(line)
print("Device:", p.name)
p.console("Rem passthru remark! :coffee:", True)
p.console("Rem passthru remark! :coffee:", capture=False, quiet=False)
import json
print("Fetching prefs:")