diff --git a/xposed/src/main/cpp/clover.cpp b/xposed/src/main/cpp/clover.cpp index 796c427..d2f91d3 100644 --- a/xposed/src/main/cpp/clover.cpp +++ b/xposed/src/main/cpp/clover.cpp @@ -96,7 +96,14 @@ FILE* fake_fopen(const char *filename, const char *mode) { LOGI("[Shamrock] bypass emu detection"); return nullptr; } - + if (strstr(filename, "libndk.so")) { + LOGI("[Shamrock] bypass emu detection"); + return nullptr; + } + if (strstr(filename, "libdobby.so")) { + LOGI("[Shamrock] bypass dobby detection"); + return nullptr; + } return backup_fopen(filename, mode); } @@ -120,4 +127,4 @@ Java_moe_fuqiuluo_shamrock_xposed_actions_AntiDetection_antiNativeDetections(JNI hook_function((void*) __system_property_get, (void *)fake_system_property_get, (void **) &backup_system_property_get); hook_function((void*) fopen, (void*) fake_fopen, (void**) &backup_fopen); return true; -} \ No newline at end of file +}