GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — linuxKernelRoot/testRoot/init64_helper.h at master · ptr-ptr/linuxKernelRoot Expand file tree/ Copy pathinit64_helper.hMore file actions 23 lines (21 loc) · 926 Bytes / Copy pathinit64_helper.hFile metadata and controls23 lines (21 loc) · 926 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #ifndef INIT64_HELPER_H_ #define INIT64_HELPER_H_ #include <unistd.h> #include "process64_inject.h" //注入init64进程远程执行命令,备注:此命令会自动提权到ROOT、并且关闭SELinux。结束运行后可根据自己的需要决定是否手动重新打开SELinux ssize_t inject_init64_run_cmd_wrapper( unsigned int root_key, const char *cmd, const char* p_out_result_buf = NULL, size_t out_result_buf_size = 0) { return inject_process64_run_cmd_wrapper(root_key, 1, cmd, p_out_result_buf, out_result_buf_size, false, false, false, NULL, false, NULL); } //fork安全版本(可用于安卓APP直接调用) ssize_t safe_inject_init64_run_cmd_wrapper( unsigned int root_key, const char *cmd, const char* p_out_result_buf = NULL, size_t out_result_buf_size = 0) { return safe_inject_process64_run_cmd_wrapper(root_key, 1, cmd, p_out_result_buf, out_result_buf_size, false, false, false, NULL, false, NULL); } #endif /* INIT64_HELPER_H_ */ |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |