Linux evo.fastest-server.com 5.14.0-284.1101.el9.tuxcare.11.els11.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 14 13:30:35 UTC 2026 x86_64
LiteSpeed
Server IP : 103.249.112.113 & Your IP : 216.73.217.135
Domains : 988 Domain
User : tanishks
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
lve /
dbgovernor /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-09-04 11:34
chek_mysql_rpms_local
1.79
KB
-rwxr-xr-x
2026-08-06 17:01
cpanel-common-lve
2.16
KB
-rwxr-xr-x
2026-08-06 17:01
cpanel-delete-hooks
1.98
KB
-rwxr-xr-x
2026-08-06 17:01
cpanel-install-hooks
3.48
KB
-rwxr-xr-x
2026-08-06 17:01
cpanel-mysql-url-detect.pm
1.6
KB
-rwxr-xr-x
2026-08-06 17:01
cpanel_map_rebuilder
1.5
KB
-rwxr-xr-x
2026-08-06 17:01
dbgovernor_map
4.15
KB
-rwxr-xr-x
2026-08-06 17:01
dbgovernor_map.py
3.16
KB
-rwxr-xr-x
2026-08-06 17:01
dbgovernor_map_plesk.py
4.21
KB
-rwxr-xr-x
2026-08-06 17:01
dbgovernor_version.py
28
B
-rw-r--r--
2026-08-06 17:01
dbgovernor_watchdog.py
7.03
KB
-rwxr-xr-x
2026-08-06 17:01
detect-cpanel-mysql-version.pm
4.83
KB
-rwxr-xr-x
2026-08-06 17:01
map_hook
664
B
-rwxr-xr-x
2026-08-06 17:01
merge_logs.py
984
B
-rwxr-xr-x
2026-08-06 17:01
mysql_backup.sh
24.38
KB
-rwxr-xr-x
2026-08-06 17:01
mysql_hook
42
B
-rwxr-xr-x
2026-08-06 17:01
sentry_cleaner.sh
1.21
KB
-rwxr-xr-x
2026-08-06 17:01
sentry_daemon.py
19.72
KB
-rwxr-xr-x
2026-08-06 17:01
sentry_sdk_wrapper.py
7.14
KB
-rwxr-xr-x
2026-08-06 17:01
set_cpanel_mysql_version.pm
381
B
-rwxr-xr-x
2026-08-06 17:01
sync_hook
501
B
-rwxr-xr-x
2026-08-06 17:01
Save
Rename
#!/usr/bin/bash ################################################## # Common fucntions # ################################################## common_tmp_path="/usr/share/lve/dbgovernor/tmp" function removeEmptyStringsFromFile(){ filename="$1" res=$(sed -e '/^$/d' "$filename") echo "$res" > "$filename" } function deleteAllInclude(){ #1 - hook #2 - tmp name #3 - pattern if [ ! -e "$common_tmp_path" ]; then mkdir -p "$common_tmp_path" fi if [ -e "$1" ];then cat "$1" | sed "$3" > "$common_tmp_path/$2.tmp.$$" cat "$common_tmp_path/$2.tmp.$$" > "$1" rm -f "$common_tmp_path/$2.tmp.$$" fi } function createHookHeader(){ #1 - hook name if [ ! -e "$common_tmp_path" ]; then mkdir -p "$common_tmp_path" fi if [ ! -e "$1" ]; then echo "#!/bin/bash" > "$1" chmod 755 "$1" else chmod 755 "$1" tmp=$(cat "$1" | egrep "#!/bin/bash|#!/bin/sh") if [ -z "$tmp" ];then rm -f "$1".governorh.bak mv "$1" "$1".governorh.bak echo "#!/bin/bash" > "$1" echo "$1.governorh.bak"' "$@"' >> "$1" chmod 755 "$1" fi fi } function checkHookString(){ #1 - hook name #2 - pattern string #3 - comment srting if [ -e "$1" ];then tmp=$(cat "$1" | grep "$2") if [ -z "$tmp" ];then echo "$2 #$3" >> "$1" fi fi } function checkHookStringParam(){ #1 - hook name #2 - pattern string #3 - comment srting if [ -e "$1" ];then tmp=$(cat "$1" | grep "$2") if [ -z "$tmp" ];then echo "$2 \"\$1\" #$3" >> "$1" fi fi } function rewriteDBUserHook(){ #1 - hook name if [ -e "$1" ]; then correct=$(cat "$1" | grep '/usr/share/lve/dbgovernor/utils/dbgovernor_map "$1"') if [ -z "$correct" ]; then is_hook=$(cat "$1" | grep "/usr/share/lve/dbgovernor/utils/dbgovernor_map") if [ -n "$is_hook" ]; then sed "s/dbgovernor_map/dbgovernor_map \"\$1\"/" -i "$1" fi fi fi } function removeHookString(){ #1 - hook name #2 - pattern string if [ -e "$1" ]; then if grep -qF "$2" "$1"; then # If found, use sed to delete the hook line from the file sed -i "/$(echo "$2" | sed -e 's/[\/&]/\\&/g')/d" "$1" fi fi }