mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Clover.cpp
: NoxAppPlayer
夜神模拟器里的鸡脚so
This commit is contained in:
parent
37f74d5284
commit
50d469cc45
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user