Initial Commit
This commit is contained in:
29
patches/frida-core/0006-Florida-thread_gmain.patch
Normal file
29
patches/frida-core/0006-Florida-thread_gmain.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From 8d04db531ec7e5ce45e783b75114b6f04f3c16a6 Mon Sep 17 00:00:00 2001
|
||||
From: Ylarod <me@ylarod.cn>
|
||||
Date: Tue, 18 Jul 2023 16:04:15 +0800
|
||||
Subject: [PATCH 6/7] 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 4317e802..f040406b 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.34.1
|
||||
|
||||
Reference in New Issue
Block a user