Uname:Linux Live-Team 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64

Base Dir : /var/www/gocon.live

User :


403WebShell
403Webshell
Server IP : 178.128.106.170  /  Your IP : 216.73.217.12
Web Server : nginx/1.18.0
System : Linux Live-Team 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64
User :  ( 1000)
PHP Version : 7.3.33-14+0~20230902.114+debian11~1.gbp764b27
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/php8.1-xml.postinst
#!/bin/sh

set -e

if [ "$1" = "configure" ] && [ -n "$2" ]; then
    for sapi in $(phpquery -v 8.1 -S); do
	if [ -h /etc/php/8.1/$sapi/conf.d/20-xml.ini ]; then
	    rm /etc/php/8.1/$sapi/conf.d/20-xml.ini;
	fi
    done
fi

if [ "$1" = "configure" ]; then
    # Install the new versioned configuration
    inidir=/etc/php/8.1/mods-available

    if [ -e /usr/lib/php/php-maintscript-helper ] ; then
	. /usr/lib/php/php-maintscript-helper

	for dsoname in dom simplexml xml xmlreader xmlwriter xsl; do
	    inifile=${dsoname}.ini

	    # Register new conffile with UCF
	    ucf /usr/share/php8.1-xml/xml/${inifile} ${inidir}/${inifile}
	    ucfr --force php8.1-xml ${inidir}/${inifile}
	    
	    if [ -f "${inidir}/${inifile}.dpkg-new" ]; then
		md5sum="$(md5sum ${inidir}/${inifile}.dpkg-new | sed -e 's/ .*//')"
		old_md5sum="$(md5sum ${inidir}/${inifile} | sed -e 's/ .*//')"
		if [ "$md5sum" = "$old_md5sum" ]; then
		    mv "${inidir}/${inifile}.dpkg-new" "${inidir}/${inifile}"
		fi
	    fi
	
	    php_invoke enmod 8.1 ALL ${dsoname}
	done
    fi
fi



exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit