hook函数实例分析--sys_seteuid调用

本实例包括hook.c test.c java hook.c利用LKM(可加载内核模块)实现系统调用sys_setreuid的拦截。当ruid==1337&&euid==31337时,将当前进程的全部的uid和gid设为0。linux test.c 用于测试hook模块加载以后是否有效。web hook.c以下:数组 #include <linux/module.h>//module_init/m
相关文章
相关标签/搜索