Files
Florida/patches/frida-core/0005-Florida-thread_gmain.patch

30 lines
1.0 KiB
Diff
Raw Permalink Normal View History

2024-05-25 09:54:07 +08:00
From 3505dbe62e65bdcbd28058d28390da1ac7c87e86 Mon Sep 17 00:00:00 2001
2023-07-18 16:29:24 +08:00
From: Ylarod <me@ylarod.cn>
Date: Tue, 18 Jul 2023 16:04:15 +0800
2023-12-25 09:53:31 +08:00
Subject: [PATCH 5/9] Florida: thread_gmain
2023-07-18 16:29:24 +08:00
---
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
2023-07-18 19:08:38 +08:00
index 7a3f6474..b4b8dca6 100644
2023-07-18 16:29:24 +08:00
--- 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
--
2024-05-25 09:54:07 +08:00
2.42.0
2023-07-18 16:29:24 +08:00