MOON
Server: Apache
System: Linux server1.quantilytics.org 3.10.0-1160.119.1.el7.tuxcare.els21.x86_64 #1 SMP Tue Jun 17 03:11:12 UTC 2025 x86_64
User: hnhtennm (1016)
PHP: 8.0.30
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;