//
// This file is part of PHPHoP, the PHP Honeypot Project
//
// Copyright oudot@rstack.org 2005-2006
//
//
echo '
Index of '.dirname($_SERVER['PHP_SELF']).'
Index of '.dirname($_SERVER['PHP_SELF']).'
';
echo '- Parent Directory';
$handle = opendir(".");
while (false !== ($file = readdir($handle)))
{
if ( $file == '..' || ($file[0] == 'l' && $file[1] == 'i' && $file[2] == 'b') || $file == 'config.php'|| $file == 'index.php' || $file == '.'|| $file == 'logs'|| $file == 'phpshell.php.txt');
else
{
echo '
- '.$file.(is_dir($file)?'/':'').'';
}
}
closedir($handle);
echo '
'.$GLOBALS["SERVER_SOFTWARE"].' Server at '.$GLOBALS["HTTP_HOST"].' Port '.$GLOBALS["SERVER_PORT"].'
';
?>