From 50d469cc45b1f851ea79c8e4125d1e6198afacd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B8=BE=E7=91=B6=E7=B6=BE=E8=88=9E?= <62001729+PisLuanyao@users.noreply.github.com> Date: Sat, 9 Dec 2023 18:41:53 +0800 Subject: [PATCH] `Clover.cpp`: NoxAppPlayer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 夜神模拟器里的鸡脚so --- xposed/src/main/cpp/clover.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/xposed/src/main/cpp/clover.cpp b/xposed/src/main/cpp/clover.cpp index d2f91d3..b57fcf8 100644 --- a/xposed/src/main/cpp/clover.cpp +++ b/xposed/src/main/cpp/clover.cpp @@ -71,6 +71,7 @@ int fake_system_property_get(const char *name, char *value) { || strstr(value, "unknown") || strstr(value, "emulator") || strstr(value, "vbox") + || strstr(value, "nox") //部分NoxAppPlayer || strstr(value, "genymotion") || strstr(value, "goldfish")) { strcpy(value, "qcom"); @@ -99,6 +100,14 @@ FILE* fake_fopen(const char *filename, const char *mode) { if (strstr(filename, "libndk.so")) { LOGI("[Shamrock] bypass emu detection"); return nullptr; + } + if (strstr(filename, "libnoxd.so")) { //NoxAppPlayer + LOGI("[Shamrock] bypass emu detection"); + return nullptr; + } + if (strstr(filename, "libnoxspeedup.so")) { //NoxAppPlayer + LOGI("[Shamrock] bypass emu detection"); + return nullptr; } if (strstr(filename, "libdobby.so")) { LOGI("[Shamrock] bypass dobby detection");