mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
pm3_console() in Python/Lua/C: replace passthru by capture and quiet
This commit is contained in:
@@ -538,7 +538,7 @@ if args.final_check:
|
||||
cmd = f"hf mf fchk -f keys_{uid:08x}.dic --no-default --dump"
|
||||
if args.debug:
|
||||
print(cmd)
|
||||
p.console(cmd, passthru=True)
|
||||
p.console(cmd, capture=False, quiet=False)
|
||||
else:
|
||||
print()
|
||||
print(plus + color("found keys:", fg="green"))
|
||||
|
||||
@@ -66,8 +66,8 @@ class pm3(object):
|
||||
_pm3.pm3_swiginit(self, _pm3.new_pm3(*args))
|
||||
__swig_destroy__ = _pm3.delete_pm3
|
||||
|
||||
def console(self, cmd, passthru=False):
|
||||
return _pm3.pm3_console(self, cmd, passthru)
|
||||
def console(self, cmd, capture=True, quiet=True):
|
||||
return _pm3.pm3_console(self, cmd, capture, quiet)
|
||||
name = property(_pm3.pm3_name_get)
|
||||
grabbed_output = property(_pm3.pm3_grabbed_output_get)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user