403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.186
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  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