One Hat Cyber Team
Your IP :
216.73.216.216
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
systemtap
/
tapset
/
linux
/
Edit File:
sysc_sgetmask.stp
# sgetmask ___________________________________________________ # # sys_sgetmask(void) # @define _SYSCALL_SGETMASK_NAME %( name = "sgetmask" %) @define _SYSCALL_SGETMASK_ARGSTR %( argstr = "" %) probe syscall.sgetmask = dw_syscall.sgetmask !, nd_syscall.sgetmask ? {} probe syscall.sgetmask.return = dw_syscall.sgetmask.return !, nd_syscall.sgetmask.return ? {} # dw_sgetmask _____________________________________________________ probe dw_syscall.sgetmask = kernel.function("sys_sgetmask").call ? { @_SYSCALL_SGETMASK_NAME @_SYSCALL_SGETMASK_ARGSTR } probe dw_syscall.sgetmask.return = kernel.function("sys_sgetmask").return ? { @_SYSCALL_SGETMASK_NAME @SYSC_RETVALSTR($return) } # nd_sgetmask _____________________________________________________ probe nd_syscall.sgetmask = nd1_syscall.sgetmask!, nd2_syscall.sgetmask!, tp_syscall.sgetmask { } probe nd1_syscall.sgetmask = kprobe.function("sys_sgetmask") ? { @_SYSCALL_SGETMASK_NAME @_SYSCALL_SGETMASK_ARGSTR } /* kernel 4.17+ */ probe nd2_syscall.sgetmask = kprobe.function(@arch_syscall0_prefix "sys_sgetmask") ? { @_SYSCALL_SGETMASK_NAME @_SYSCALL_SGETMASK_ARGSTR } /* kernel 3.5+, but undesirable because it affects all syscalls */ probe tp_syscall.sgetmask = kernel.trace("sys_enter") ? { @__syscall_compat_gate(@const("__NR_sgetmask"), @const("__NR_compat_sgetmask")) @_SYSCALL_SGETMASK_NAME @_SYSCALL_SGETMASK_ARGSTR } probe nd_syscall.sgetmask.return = nd1_syscall.sgetmask.return!, nd2_syscall.sgetmask.return!, tp_syscall.sgetmask.return { } probe nd1_syscall.sgetmask.return = kprobe.function("sys_sgetmask").return ? { @_SYSCALL_SGETMASK_NAME @SYSC_RETVALSTR(returnval()) } /* kernel 4.17+ */ probe nd2_syscall.sgetmask.return = kprobe.function(@arch_syscall0_prefix "sys_sgetmask").return ? { @_SYSCALL_SGETMASK_NAME @SYSC_RETVALSTR(returnval()) } /* kernel 3.5+, but undesirable because it affects all syscalls */ probe tp_syscall.sgetmask.return = kernel.trace("sys_exit") { __set_syscall_pt_regs($regs) @__syscall_compat_gate(@const("__NR_sgetmask"), @const("__NR_compat_sgetmask")) @_SYSCALL_SGETMASK_NAME @SYSC_RETVALSTR($ret) }
Simpan