403Webshell
Server IP : 118.27.122.120  /  Your IP : 216.73.216.136
Web Server : Apache
System : Linux web0216.sh.tyo1 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64
User : r4834334 ( 11094)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/thread-self/root/opt/rh/devtoolset-8/root/usr/share/systemtap/tapset/linux/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/opt/rh/devtoolset-8/root/usr/share/systemtap/tapset/linux//sysc_kill.stp
# kill _______________________________________________________
# long sys_kill(int pid, int sig)

@define _SYSCALL_KILL_NAME
%(
	name = "kill"
%)

@define _SYSCALL_KILL_ARGSTR
%(
	argstr = sprintf("%d, %s", pid, sig_name)
%)

probe syscall.kill = dw_syscall.kill !, nd_syscall.kill ? {}
probe syscall.kill.return = dw_syscall.kill.return !, nd_syscall.kill.return ? {}

# dw_kill _____________________________________________________

probe dw_syscall.kill = kernel.function("sys_kill").call
{
	@_SYSCALL_KILL_NAME
	pid = __int32($pid)
	sig = __int32($sig)
	sig_name = _signal_name(sig)
	@_SYSCALL_KILL_ARGSTR
}
probe dw_syscall.kill.return = kernel.function("sys_kill").return
{
	@_SYSCALL_KILL_NAME
	retstr = return_str(1, $return)
}

# nd_kill _____________________________________________________

probe nd_syscall.kill = kprobe.function("sys_kill") ?
{
	@_SYSCALL_KILL_NAME
	asmlinkage()
	pid = int_arg(1)
	sig = int_arg(2)
	sig_name = _signal_name(sig)
	@_SYSCALL_KILL_ARGSTR
}
probe nd_syscall.kill.return = kprobe.function("sys_kill").return ?
{
	@_SYSCALL_KILL_NAME
	retstr = returnstr(1)
}

Youez - 2016 - github.com/yon3zu
LinuXploit