Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/erp/htdocs/custom/phpsysinfo/includes/phpsysinfo/tools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/erp/htdocs/custom/phpsysinfo/includes/phpsysinfo/tools/cputest.php
<?php
header('Content-Type: text/plain');
$filename = '/proc/cpuinfo';
$contents=file_get_contents($filename);
echo "----------".$filename."----------\n";
if (strlen($contents)>0) {
    if (substr($contents, -1)!="\n") {
        $contents.="\n";
    }
    $contents = preg_replace('/^(\s*serial\s*:\s*)(\S+)/im', '$1xxxxxxxxxxxxxxxx', $contents);
    echo $contents;
}

Hry