摘要:
设置属性 // frameworks/base/core/java/android/os/SystemProperties.java native_set(String key, String def); // frameworks/base/core/jni/android_os_SystemPr 阅读全文
摘要:
Xposed XposedBridge hook模板 public static XC_MethodHook.Unhook findAndHookMethod(Class<?> clazz, String methodName, Object... parameterTypesAndCallback 阅读全文
摘要:
参考 lsposed运行流程分析 riru 通过修改系统属性ro.dalvik.vm.native.bridge将libriruloader.so注入到zygote进程中 zygote会执行LoadNativeBridge函数, LoadNativeBridge函数会根据属性ro.dalvik.vm 阅读全文
摘要:
Frida Gadget 方案 Frida Gadget 配置文件 { "interaction": { "type": "script-directory", "path": "/usr/local/frida/scripts" } } 网络方式 { "interaction": { "type" 阅读全文
摘要:
五种预编译选项 var prebuiltTypes = map[string]string{ "SHARED_LIBRARIES": "cc_prebuilt_library_shared", "STATIC_LIBRARIES": "cc_prebuilt_library_static", "EX 阅读全文
摘要:
#include <stdio.h> #include <stdlib.h> #include <sys/ptrace.h> #include <stdint.h> #include <errno.h> #include <sys/wait.h> int main(int argc, char* a 阅读全文
摘要:
起因 某APP注册NetworkCallback无法收到回调,当使用默认的NetworkRequest可以收到回调 connMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); networkCallb 阅读全文
摘要:
#include <stdio.h> #include <stdlib.h> #define max(a, b) (((a) > (b)) ? (a) : (b)) // 定义树节点结构体 typedef struct TreeNode { int key; struct TreeNode *lef 阅读全文
摘要:
玩转内核链表list_head container_of 是 Linux 内核中一个常用的宏,用于从结构体的成员指针获取包含该成员的整个结构体的指针。 /** * container_of - cast a member of a structure out to the containing st 阅读全文