Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.222
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
src /
file_protector-1.1-1572 /
[ HOME SHELL ]
Name
Size
Permission
Action
common
[ DIR ]
drwxr-xr-x
ftrace_hooks
[ DIR ]
drwxr-xr-x
lsm_hooks
[ DIR ]
drwxr-xr-x
syscall_hooks
[ DIR ]
drwxr-xr-x
transport
[ DIR ]
drwxr-xr-x
Kbuild
10.29
KB
-rw-r--r--
Makefile
2.23
KB
-rw-r--r--
compat.c
8.38
KB
-rw-r--r--
compat.h
11.98
KB
-rw-r--r--
debug.h
3.56
KB
-rw-r--r--
dkms.conf
146
B
-rw-r--r--
file_contexts.c
52.97
KB
-rw-r--r--
file_contexts.h
2.86
KB
-rw-r--r--
file_contexts_priv.h
5.33
KB
-rw-r--r--
file_handle_tools.h
2.23
KB
-rw-r--r--
file_key_tools.h
950
B
-rw-r--r--
file_path_tools.h
2.09
KB
-rw-r--r--
hashtable_compat.h
2.73
KB
-rw-r--r--
hook_trampoline_common.h
4.29
KB
-rw-r--r--
interval_tree.h
779
B
-rw-r--r--
memory.c
3.31
KB
-rw-r--r--
memory.h
2.99
KB
-rw-r--r--
module.c
2.67
KB
-rw-r--r--
module_ref.h
421
B
-rw-r--r--
module_rundown_protection.c
3.64
KB
-rw-r--r--
module_rundown_protection.h
743
B
-rw-r--r--
path_tools.h
5.84
KB
-rw-r--r--
rundown_protection.c
4.2
KB
-rw-r--r--
rundown_protection.h
2.83
KB
-rw-r--r--
safe_kobject.h
1.28
KB
-rw-r--r--
si_common.h
4.23
KB
-rw-r--r--
si_fp_properties.h
858
B
-rw-r--r--
si_fp_properties_x.h
16.77
KB
-rw-r--r--
si_fp_value_types.h
515
B
-rw-r--r--
si_fp_value_types_x.h
1.25
KB
-rw-r--r--
si_size.h
4.15
KB
-rw-r--r--
si_templates.h
2.39
KB
-rw-r--r--
si_writer.h
6.93
KB
-rw-r--r--
si_writer_common.h
12.27
KB
-rw-r--r--
stringify.h
261
B
-rw-r--r--
task_info_map.c
14.61
KB
-rw-r--r--
task_info_map.h
6.33
KB
-rw-r--r--
task_info_map_common.h
4.15
KB
-rw-r--r--
task_tools.h
1.34
KB
-rw-r--r--
tracepoints.c
3.58
KB
-rw-r--r--
tracepoints.h
299
B
-rw-r--r--
write_protection.h
2.2
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tracepoints.c
/** @file @brief 'exec', 'exit' and 'fork' tracepoints @details Copyright (c) 2017-2021 Acronis International GmbH @author Mikhail Krivtsov (mikhail.krivtsov@acronis.com) @since $Id: $ */ #include "tracepoints.h" #include "compat.h" #include "debug.h" #include "exit_event.h" #include "exec_event.h" #include "ftrace_hooks/ftrace_events.h" #include "fork_event.h" #include "memory.h" #include "message.h" #include <linux/binfmts.h> #include <linux/dcache.h> // d_path #include <linux/file.h> // fput() #include <linux/fs.h> // struct file #include <linux/limits.h> // PATH_MAX #include <linux/mm.h> // get_task_exe_file() #include <linux/mm_types.h> // struct mm_struct #include <linux/path.h> // struct path #ifndef KERNEL_MOCK #include <linux/sched.h> // struct task_struct #else #include <mock/mock_sched.h> #endif #include <linux/tracepoint.h> #include <linux/version.h> // LINUX_VERSION_CODE, KERNEL_VERSION() #include <trace/events/sched.h> // TRACE_EVENT(sched_*) #ifdef HAVE_SCHED_PROCESS_EXEC_TRACEPOINT static bool g_registered_exec = false; #endif static bool g_registered_exit = false; static bool g_registered_fork = false; static TRACE_CB_PROTO(sched_process_exit, TP_PROTO(struct task_struct *p)) { DPRINTF("exit() p=%p { pid=%d tgid=%d }", p, p->pid, p->tgid); exit_event_nowait(p); } /* * Here the caller only guarantees locking for struct file and struct inode. * Locking must therefore be done in the probe to use the dentry. */ static TRACE_CB_PROTO(sched_process_fork, TP_PROTO(struct task_struct *current_macro, struct task_struct *p)) { DPRINTF("fork() current=%p { pid=%d tgid=%d comm='%s' } " "p=%p { pid=%d tgid=%d comm='%s' }", current_macro, current_macro->pid, current_macro->tgid, current_macro->comm, p, p->pid, p->tgid, p->comm); fork_event_nowait(current_macro, p); } #ifdef HAVE_SCHED_PROCESS_EXEC_TRACEPOINT static TRACE_CB_PROTO(sched_process_exec, TP_PROTO(struct task_struct *p, pid_t old_pid, struct linux_binprm *bprm)) { DPRINTF("exec() p=%p { pid=%d tgid=%d comm='%s' }", p, p->pid, p->tgid, p->comm); exec_event_nowait(p, bprm); } #endif int tracepoints_attach(void) { int ret; if (!ftrace_post_event_have(FTRACE_POST_EVENT_EXIT)) { ret = REGISTER_TRACE(sched_process_exit, TRACE_CB_NAME(sched_process_exit)); if (ret) { EPRINTF("'register_trace_sched_process_exit()' failure %i", ret); goto fail; } g_registered_exit = true; } if (!ftrace_post_event_have(FTRACE_POST_EVENT_FORK)) { ret = REGISTER_TRACE(sched_process_fork, TRACE_CB_NAME(sched_process_fork)); if (ret) { EPRINTF("'register_trace_sched_process_fork()' failure %i", ret); goto fail; } g_registered_fork = true; } #ifdef HAVE_SCHED_PROCESS_EXEC_TRACEPOINT if (!ftrace_post_event_have(FTRACE_POST_EVENT_EXEC)) { ret = REGISTER_TRACE(sched_process_exec, TRACE_CB_NAME(sched_process_exec)); if (ret) { EPRINTF("'register_trace_sched_process_exec()' failure %i", ret); goto fail; } g_registered_exec = true; } #endif IPRINTF("tracepoints attached"); return 0; fail: tracepoints_detach(); return ret; } void tracepoints_detach(void) { if (g_registered_fork) { UNREGISTER_TRACE(sched_process_fork, TRACE_CB_NAME(sched_process_fork)); g_registered_fork = false; } if (g_registered_exit) { UNREGISTER_TRACE(sched_process_exit, TRACE_CB_NAME(sched_process_exit)); g_registered_exit = false; } #ifdef HAVE_SCHED_PROCESS_EXEC_TRACEPOINT if (g_registered_exec) { UNREGISTER_TRACE(sched_process_exec, TRACE_CB_NAME(sched_process_exec)); g_registered_exec = false; } #endif tracepoint_synchronize_unregister(); IPRINTF("tracepoints detached"); }
Close