mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Clover.cpp
: NoxAppPlayer
稍微动了一下,方便看,希望没搞错
This commit is contained in:
parent
48b1b40e1c
commit
cd19426d1b
@ -93,38 +93,23 @@ FILE* fake_fopen(const char *filename, const char *mode) {
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr(filename, "libhoudini.so")) {
|
const char* emuSpecFile[] = {
|
||||||
|
"libhoudini.so",
|
||||||
|
"libndk.so",
|
||||||
|
"libnoxd.so", //NoxAppPlayer
|
||||||
|
"libnoxspeedup.so", //NoxAppPlayer
|
||||||
|
"nox-prop", //NoxAppPlayer (MayUseless?)
|
||||||
|
"nox-vbox-sf", //NoxAppPlayer (MayUseless?)
|
||||||
|
"noxd", //NoxAppPlayer (MayUseless?)
|
||||||
|
"noxspeedup", //NoxAppPlayer (MayUseless?)
|
||||||
|
};
|
||||||
|
for (const char* keyword : emuSpecFile) {
|
||||||
|
if (strstr(filename, keyword)) {
|
||||||
LOGI("[Shamrock] bypass emu detection");
|
LOGI("[Shamrock] bypass emu detection");
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
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, "nox-prop")) { //NoxAppPlayer (Useless?)
|
|
||||||
LOGI("[Shamrock] bypass emu detection");
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
if (strstr(filename, "nox-vbox-sf")) { //NoxAppPlayer (Useless?)
|
|
||||||
LOGI("[Shamrock] bypass emu detection");
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
if (strstr(filename, "noxd")) { //NoxAppPlayer (Useless?)
|
|
||||||
LOGI("[Shamrock] bypass emu detection");
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
if (strstr(filename, "noxspeedup")) { //NoxAppPlayer (Useless?)
|
|
||||||
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");
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user