Clover.cpp: NoxAppPlayer

夜神模拟器里的鸡脚so
This commit is contained in:
鸾瑶綾舞 2023-12-09 18:41:53 +08:00
parent 37f74d5284
commit 50d469cc45

View File

@ -71,6 +71,7 @@ int fake_system_property_get(const char *name, char *value) {
|| strstr(value, "unknown") || strstr(value, "unknown")
|| strstr(value, "emulator") || strstr(value, "emulator")
|| strstr(value, "vbox") || strstr(value, "vbox")
|| strstr(value, "nox") //部分NoxAppPlayer
|| strstr(value, "genymotion") || strstr(value, "genymotion")
|| strstr(value, "goldfish")) { || strstr(value, "goldfish")) {
strcpy(value, "qcom"); strcpy(value, "qcom");
@ -99,6 +100,14 @@ FILE* fake_fopen(const char *filename, const char *mode) {
if (strstr(filename, "libndk.so")) { if (strstr(filename, "libndk.so")) {
LOGI("[Shamrock] bypass emu detection"); LOGI("[Shamrock] bypass emu detection");
return nullptr; 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")) { if (strstr(filename, "libdobby.so")) {
LOGI("[Shamrock] bypass dobby detection"); LOGI("[Shamrock] bypass dobby detection");