403Webshell
Server IP : 104.21.4.30  /  Your IP : 104.23.243.245
Web Server : Apache
System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : simottodesign.com_2tntp341vs7 ( 10011)
PHP Version : 8.3.31
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  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/alt-php-internal.postrm
#!/bin/bash

major_ver=8
minor_ver=2
patch_ver=25
php_version="${major_ver}${minor_ver}"
php_version_dot="${major_ver}.${minor_ver}"
php_version_slash="${major_ver}\.${minor_ver}"

__imunify=1

case "$1" in
    remove|purge)
        if [ -z "${__imunify}" ]; then
            if [ -e /opt/alt/alt-php-config/alt-php-panel-configuration.py ]; then
                /opt/alt/alt-php-config/alt-php-panel-configuration.py --mode=uninstall --php=${php_version}
            fi
            CONF_DIR='/etc/cl.selector'
            CONF_PATH="$CONF_DIR/selector.conf"
            VERS=${php_version_slash}

            if [ -e $CONF_PATH ]; then
                sed -i -e "/\s$VERS/d" $CONF_PATH
            fi

            if [ -x /usr/sbin/cagefsctl ]; then
                /usr/sbin/cagefsctl --wait-lock --remove-cl-alt
                if [ -x /usr/bin/selectorctl ]; then
                    if /usr/sbin/cagefsctl --wait-lock --list-enabled > /dev/null 2>&1; then
                        for account in `/usr/sbin/cagefsctl --wait-lock --list-enabled | grep -v ' enabled user(s)'`; do
                            selectorctl -u $account -b `selectorctl -c -u $account | awk '{ print $1 }'` || :
                        done
                    fi
                fi
            fi
        fi
        ;;
esac

Youez - 2016 - github.com/yon3zu
LinuXploit