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/sh eval 'if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"}; else exec /usr/bin/perl -x $0 ${1+"$@"}; fi;' if 0; #!/usr/bin/perl BEGIN { unshift @INC, '/usr/local/cpanel', '/scripts'; } use strict; use warnings; use POSIX; use Try::Tiny; use Cpanel::Config::Users; use Cpanel::DB::Map; my $log = "/usr/share/lve/dbgovernor/map_rebuilder.log"; # copy STDOUT/STDERR to another filehandle open (my $ORIGOUT, '>&', STDOUT); open (my $ORIGERR, '>&', STDERR); # redirect STDOUT/STDERR to log.txt open (STDOUT, '>>', $log); open (STDERR, ">&", STDOUT); my @users = Cpanel::Config::Users::getcpusers(); foreach my $user (@users) { try { # try to obtain mapping for each user my $user_map = Cpanel::DB::Map->new ( { cpuser => $user, db => 'MYSQL' } ); } catch { my $err = $_; if (index($err, "CpuserNotInMap") != -1) { # rebuild map if problem was detected print strftime "---***--- %Y-%m-%d %H:%M:%S ", localtime time; print "CpuserNotInMap detected for user `$user`\n", "Attempt to restore...\n"; # validate against a strict allowlist, then invoke via the list form (no /bin/sh) if ($user =~ /^[A-Za-z0-9][A-Za-z0-9_.-]*$/) { system('/scripts/rebuild_dbmap', $user); } else { print "Skipping rebuild_dbmap: refusing unsafe user name `$user`\n"; } } } } close(STDOUT); close(STDERR); # restore STDOUT/STDERR open (STDOUT, '>&', $ORIGOUT); open (STDERR, '>&', $ORIGERR);