ROOTPLOIT
Server: Apache
System: Linux node6122.myfcloud.com 6.14.3-x86_64-linode168 #1 SMP PREEMPT_DYNAMIC Mon Apr 21 19:47:55 EDT 2025 x86_64
User: bashacomputer (1004)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //scripts/cpan_sandbox/x86_64/mysql_config
#!/usr/local/cpanel/3rdparty/bin/perl

$ENV{'LANG'} = 'C';

my @paths = grep( !/cpan_sandbox/, split( /:/, $ENV{'PATH'} ) );
foreach my $path (@paths) {
    if ( -x $path . '/' . 'mysql_config' ) {
        if ( grep( /--libs/, @ARGV ) && -e '/usr/lib64' ) {
            print "-L/usr/lib64 ";
        }
        exec( $path . '/' . 'mysql_config', @ARGV );
    }
}
die;