Linux host2.homegym.sg 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
Apache
Server IP : 159.223.38.192 & Your IP : 159.223.38.192
Domains : 20 Domain
User : eachadea
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
usr /
src /
file_protector-1.1-1578 /
Delete
Unzip
Name
Size
Permission
Date
Action
common
[ DIR ]
drwxr-xr-x
2025-09-08 19:44
ftrace_hooks
[ DIR ]
drwxr-xr-x
2025-09-08 19:44
lsm_hooks
[ DIR ]
drwxr-xr-x
2025-09-08 19:44
syscall_hooks
[ DIR ]
drwxr-xr-x
2025-09-08 19:44
transport
[ DIR ]
drwxr-xr-x
2025-09-08 19:44
Kbuild
10.29
KB
-rw-r--r--
2025-09-08 19:44
Makefile
2.23
KB
-rw-r--r--
2025-09-08 19:44
compat.c
8.42
KB
-rw-r--r--
2025-09-08 19:44
compat.h
11.98
KB
-rw-r--r--
2025-09-08 19:44
debug.h
3.56
KB
-rw-r--r--
2025-09-08 19:44
dkms.conf
146
B
-rw-r--r--
2025-09-08 19:44
file_contexts.c
52.97
KB
-rw-r--r--
2025-09-08 19:44
file_contexts.h
2.86
KB
-rw-r--r--
2025-09-08 19:44
file_contexts_priv.h
5.33
KB
-rw-r--r--
2025-09-08 19:44
file_handle_tools.h
2.53
KB
-rw-r--r--
2025-09-08 19:44
file_key_tools.h
950
B
-rw-r--r--
2025-09-08 19:44
file_path_tools.h
2.09
KB
-rw-r--r--
2025-09-08 19:44
hashtable_compat.h
2.73
KB
-rw-r--r--
2025-09-08 19:44
hook_trampoline_common.h
4.29
KB
-rw-r--r--
2025-09-08 19:44
interval_tree.h
779
B
-rw-r--r--
2025-09-08 19:44
memory.c
3.31
KB
-rw-r--r--
2025-09-08 19:44
memory.h
2.99
KB
-rw-r--r--
2025-09-08 19:44
module.c
2.67
KB
-rw-r--r--
2025-09-08 19:44
module_ref.h
421
B
-rw-r--r--
2025-09-08 19:44
module_rundown_protection.c
3.64
KB
-rw-r--r--
2025-09-08 19:44
module_rundown_protection.h
743
B
-rw-r--r--
2025-09-08 19:44
path_tools.h
5.84
KB
-rw-r--r--
2025-09-08 19:44
rundown_protection.c
4.2
KB
-rw-r--r--
2025-09-08 19:44
rundown_protection.h
2.83
KB
-rw-r--r--
2025-09-08 19:44
safe_kobject.h
1.28
KB
-rw-r--r--
2025-09-08 19:44
si_common.h
4.3
KB
-rw-r--r--
2025-09-08 19:44
si_fp_properties.h
858
B
-rw-r--r--
2025-09-08 19:44
si_fp_properties_x.h
18.53
KB
-rw-r--r--
2025-09-08 19:44
si_fp_value_types.h
515
B
-rw-r--r--
2025-09-08 19:44
si_fp_value_types_x.h
1.25
KB
-rw-r--r--
2025-09-08 19:44
si_size.h
4.26
KB
-rw-r--r--
2025-09-08 19:44
si_templates.h
2.99
KB
-rw-r--r--
2025-09-08 19:44
si_writer.h
7.52
KB
-rw-r--r--
2025-09-08 19:44
si_writer_common.h
14.63
KB
-rw-r--r--
2025-09-08 19:44
stringify.h
261
B
-rw-r--r--
2025-09-08 19:44
task_info_map.c
17.1
KB
-rw-r--r--
2025-09-08 19:44
task_info_map.h
6.33
KB
-rw-r--r--
2025-09-08 19:44
task_tools.h
1.34
KB
-rw-r--r--
2025-09-08 19:44
tracepoints.c
3.58
KB
-rw-r--r--
2025-09-08 19:44
tracepoints.h
299
B
-rw-r--r--
2025-09-08 19:44
write_protection.h
2.2
KB
-rw-r--r--
2025-09-08 19:44
Save
Rename
/** @file @brief Linux kernel 'module' @details Copyright (c) 2017 Acronis International GmbH @author Mikhail Krivtsov (mikhail.krivtsov@acronis.com) @since $Id: $ */ #include "debug.h" // DPRINTF #include "file_contexts.h" #include "ftrace_hooks/fsnotify_listener.h" #include "module_rundown_protection.h" #include "syscall_common.h" #include "task_info_map.h" #include "tracepoints.h" #include "transport.h" #include <linux/rcupdate.h> #include <linux/module.h> #include <linux/version.h> // LINUX_VERSION_CODE, KERNEL_VERSION() #ifdef __DEBUG_LEVEL__ #ifdef DEFAULT_LOGGER_DEBUG_LEVEL unsigned int logger_debug_level = DEFAULT_LOGGER_DEBUG_LEVEL; #else unsigned int logger_debug_level = 0; #endif #endif /* Initialization order is very important. 'transport' depends on 'pid_bw_list' 'syscall_hooks' and 'tracepoints' depend on 'transport' */ static int __init module_init_impl(void) { int ret; IPRINTF("DRIVER_VERSION=%s", DRIVER_VERSION_STRING); IPRINTF("LINUX_VERSION_CODE=%u.%u.%u", LINUX_VERSION_CODE >> 16, (LINUX_VERSION_CODE >> 8) & 0xFF, LINUX_VERSION_CODE & 0xFF); #if defined RHEL_RELEASE_CODE IPRINTF("RHEL_RELEASE_CODE=%u.%u", RHEL_RELEASE_CODE >> 8, RHEL_RELEASE_CODE & 0xFF); #endif compat_init(); ret = memory_init(); if (ret) { EPRINTF("'%s()' failure %i", "memory_init", ret); return ret; } ret = task_info_maps_init(); if (ret) { EPRINTF("'%s()' failure %i", "task_info_maps_init", ret); goto fail_task_info_maps; } ret = file_contexts_init(); if (ret) { EPRINTF("'%s()' failure %i", "file_contexts_init", ret); goto fail_file_contexts; } ret = fsnotify_events_listener_global_init(); if (ret) { EPRINTF("'%s()' failure %i", "fsnotify_events_listener_global", ret); goto fail_fsnotify_events_listener; } mod_rundown_protection_init(false /*not ready*/); ret = transport_mod_init(); if (ret) { EPRINTF("'%s()' failure %i", "transport_mod_init", ret); goto fail_transport_mod; } DPRINTF("ret=%i", ret); return ret; fail_transport_mod: fsnotify_events_listener_global_init_fail_free(); fail_fsnotify_events_listener: file_contexts_init_fail_free(); fail_file_contexts: task_info_maps_init_fail_free(); fail_task_info_maps: memory_deinit(); return ret; } static void __exit module_down_impl(void) { IPRINTF("module unload started"); transport_mod_down(); fsnotify_events_listener_global_deinit(); task_info_maps_deinit(); file_contexts_deinit(); memory_deinit(); IPRINTF("module unload finished"); } MODULE_AUTHOR("Acronis International GmbH"); MODULE_DESCRIPTION("APL (Active Protection for Linux)"); MODULE_LICENSE("GPL"); MODULE_VERSION(DRIVER_VERSION_STRING); module_init(module_init_impl); module_exit(module_down_impl);