Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /opt/rh/gcc-toolset-11/root/usr/share/systemtap/tapset/linux/powerpc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/rh/gcc-toolset-11/root/usr/share/systemtap/tapset/linux/powerpc/sysc_sys32_utimes.stp
# sys32_utimes ________________________________________
#
# asmlinkage long sys32_utimes(char __user *filename,
#			struct compat_timeval __user *tvs)
#

@define _SYSCALL_SYS32_UTIMES_NAME
%(
	name = "sys32_utimes"
%)

@define _SYSCALL_SYS32_UTIMES_ARGSTR
%(
	argstr = sprintf("%s, %p", path, tvp_uaddr)
%)

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

# dw_sys32_utimes _____________________________________________________

probe dw_syscall.sys32_utimes = kernel.function("sys32_utimes") ?
{
	@_SYSCALL_SYS32_UTIMES_NAME
	filename_uaddr = $filename
	path = user_string_quoted($filename)
	tvp_uaddr = $tvs
	@_SYSCALL_SYS32_UTIMES_ARGSTR
}
probe dw_syscall.sys32_utimes.return = kernel.function("sys32_utimes").return ?
{
	@_SYSCALL_SYS32_UTIMES_NAME
	@SYSC_RETVALSTR($return)
}

# nd_sys32_utimes _____________________________________________________

probe nd_syscall.sys32_utimes = kprobe.function("sys32_utimes") ?
{
	@_SYSCALL_SYS32_UTIMES_NAME
	asmlinkage()
	filename_uaddr = pointer_arg(1)
	path = user_string_quoted(filename_uaddr)
	tvp_uaddr = pointer_arg(2)
	@_SYSCALL_SYS32_UTIMES_ARGSTR
}
probe nd_syscall.sys32_utimes.return = kprobe.function("sys32_utimes").return ?
{
	@_SYSCALL_SYS32_UTIMES_NAME
	@SYSC_RETVALSTR(returnval())
}

Spamworldpro Mini