403Webshell
Server IP : 192.64.112.168  /  Your IP : 3.138.123.240
Web Server : Apache
System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64
User : expressoneac ( 1128)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /sbin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /sbin/start-statd
#!/bin/sh
# nfsmount calls this script when mounting a filesystem with locking
# enabled, but when statd does not seem to be running (based on
# /var/run/rpc.statd.pid).
# It should run statd with whatever flags are apropriate for this
# site.
PATH="/sbin:/usr/sbin:/bin:/usr/bin"

# Use flock to serialize the running of this script
exec 9> /var/run/rpc.statd.lock
flock -e 9

if [ -s /var/run/rpc.statd.pid ] &&
       [ 1`cat /var/run/rpc.statd.pid` -gt 1 ] &&
       kill -0 `cat /var/run/rpc.statd.pid` > /dev/null 2>&1
then
    # statd already running - must have been slow to respond.
    exit 0
fi
# First try systemd if it's installed.
if [ -d /run/systemd/system ]; then
    # Quit only if the call worked.
    systemctl start rpc-statd.service && exit
fi

cd /
# Fall back to launching it ourselves.
exec rpc.statd --no-notify

Youez - 2016 - github.com/yon3zu
LinuXploit