One Hat Cyber Team
Your IP :
52.14.165.32
Server IP :
104.21.7.16
Server :
Linux server3.shared.spaceship.host 4.18.0-372.9.1.1.lve.el8.x86_64 #1 SMP Tue May 24 07:49:22 EDT 2022 x86_64
Server Software :
LiteSpeed
PHP Version :
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
lsws
/
admin
/
misc
/
View File Name :
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