From b13a8ce1d593508a129e5f9fcd50823fa5a79f0e Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 28 May 2026 23:24:14 +0200 Subject: [PATCH] mfulc_counterfeit_recovery --cuda: dummy call to wake up the GPU ahead --- client/pyscripts/mfulc_counterfeit_recovery.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/client/pyscripts/mfulc_counterfeit_recovery.py b/client/pyscripts/mfulc_counterfeit_recovery.py index 9db03b4d1..8e492029e 100755 --- a/client/pyscripts/mfulc_counterfeit_recovery.py +++ b/client/pyscripts/mfulc_counterfeit_recovery.py @@ -539,6 +539,16 @@ def main(): print(f"[+] \033[1;33mhf mfu sim -t 13 -u {uid} --1a1 {challenges['challenge_100']}\033[0m") return + if use_cuda: + cmd = [brute_tool, "-c", "00" * 8, "00" * 8, "00" * 16, "1"] + if debug: + print("[=] CMD:" + ' '.join(cmd)) + subprocess.Popen(cmd, stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, + stdin=subprocess.DEVNULL, + close_fds=True, + start_new_session=True,) + if not offline: import pm3 p = pm3.pm3()