Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /scripts/cpan_sandbox/x86_64/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //scripts/cpan_sandbox/x86_64/perl
#!/usr/local/cpanel/3rdparty/bin/perl

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

foreach my $path ( grep( !/cpan_sandbox/, split( /:/, $ENV{'PATH'} ) ) ) {
    next if $path =~ m{^/usr/local/cpanel/};
    if ( -x $path . '/' . 'perl' ) {
        if ( grep( /^Makefile\.PL$/, @ARGV ) ) {
            print STDERR "perl-64bit-hack: enabled\n";
            exec( $path . '/' . 'perl', '-I/usr/local/cpanel/scripts/cpan_sandbox', '-MExtUtils::MakeMaker::64BitHack', @ARGV );
        }
        else {
            exec( $path . '/' . 'perl', @ARGV );
        }
    }
}

die "Failed to exec perl: $!";

ZeroDay Forums Mini