When a logo on the top of the page is clicked, it goes to site url/index.php which is known to me. But this index.php file is returning this script, I'm much amazed:
<?php
// pageok
// managed by puppet - hostingcms02
header("Content-type: text/plain");
// Total size of directory
$totalSize = 0;
// List of files in cwd
$dir = opendir('.');
while (($filename = readdir($dir)) ==! false) {
$files[] = $filename;
}
// The results of filesize are cached, clear that cache
clearstatcache();
// Total file sizes
foreach ($files as $file) {
// Add file to total size
$totalSize += filesize($file);
}
echo "pageok\n\n";
echo "Directory Size: $totalSize\n\n";
?>
I'm on GoDaddy hosting; and 1.5 version running.