From eac56e85a60b250805d83c47acb2d7eff1d46802 Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 16:04:15 +0800 Subject: [PATCH 5/9] Florida: thread_gmain --- src/anti-anti-frida.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/anti-anti-frida.py b/src/anti-anti-frida.py index 7a3f6474..b4b8dca6 100644 --- a/src/anti-anti-frida.py +++ b/src/anti-anti-frida.py @@ -29,4 +29,9 @@ if __name__ == "__main__": # gum-js-loop thread random_name = "".join(random.sample("abcdefghijklmn", 11)) print(f"[*] Patch `gum-js-loop` to `{random_name}`") - os.system(f"sed -b -i s/gum-js-loop/{random_name}/g {input_file}") \ No newline at end of file + os.system(f"sed -b -i s/gum-js-loop/{random_name}/g {input_file}") + + # gmain thread + random_name = "".join(random.sample("abcdefghijklmn", 5)) + print(f"[*] Patch `gmain` to `{random_name}`") + os.system(f"sed -b -i s/gmain/{random_name}/g {input_file}") \ No newline at end of file -- 2.39.3 (Apple Git-145)