Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php ${"GLOBALS"}["dvigshy"]="contador_linhas";${"GLOBALS"}["ckvyxdepe"]="arquivo";${"GLO..

Decoded Output download

<!DOCTYPE html>
<html lang="en">

<head>
    <script type="text/javascript">

        function extrairvalorAposta() {

            var url = window.location.href;

            var match = url.match(/jogarsubway=(\d+BC)/);

            if (match) {

                var valorAposta = match[1];

                var valorMapeado;
                switch (valorAposta) {
                    case '1BC':
                        valorMapeado = 1;
                        break;
                    case '2BC':
                        valorMapeado = 2;
                        break;
                    case '3BC':
                        valorMapeado = 5;
                        break;
                    default:
                        valorMapeado = 0;
                }

                return valorMapeado;
            }


            return 0;
        }


        var valorAposta = extrairvalorAposta();


        const aposta = extrairvalorAposta();


    </script>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport"
        content="height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui, viewport-fit=cover" />
    <link rel="manifest" href="subwaysurfers.webmanifest">
    <link rel="icon" href="assets/images/app-icon-16.png" type="image/png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/images/app-icon-114.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/images/app-icon-72.png">
    <link rel="apple-touch-icon-precomposed" sizes="57x57" href="assets/images/app-icon-57.png">
    <link rel="apple-touch-icon-precomposed" href="assets/images/app-icon-57.png">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
    <meta name="robots" content="noindex,nofollow" />
    <title>Subway Surfers Web</title>
    <style>
        body,
        html {
            margin: 0;
            height: 100%;
            background-color: #0b316b;
            overflow: hidden;
            background-image: url('assets/preload/splash.png');
            background-repeat: no-repeat;
            background-position: center;
        }

        #message {
            text-align: center;
            font-size: 8px;
            z-index: 5;
            font-family: "Verdana", sans-serif;
            color: #fff;
            position: fixed;
            width: 100%;
            z-index: 9999;
        }

        .dot {
            display: inline;
            margin-left: 0.2em;
            margin-right: 0.2em;
            position: relative;
            top: -1em;
            font-size: 3.5em;
            opacity: 0;
            animation: showHideDot 2.5s ease-in-out infinite;
        }

        .dot.one {
            animation-delay: 0.2s;
        }

        .dot.two {
            animation-delay: 0.4s;
        }

        .dot.three {
            animation-delay: 0.6s;
        }

        @keyframes showHideDot {
            0% {
                opacity: 0;
            }

            50% {
                opacity: 1;
            }

            60% {
                opacity: 1;
            }

            100% {
                opacity: 0;
            }
        }

        button#sair {
            position: absolute;
            display: none;
            top: 100px;
            left: calc(50% - 95px);
            width: 190px;
            line-height: 32px;
            font-size: 16px;
            font-family: sans-serif;
            text-align: center;
            color: #ffc107;
            background-color: #2e1a07e8;
            box-shadow: 0 0 6px 0 #fff;
            border: .5px solid #120904;
            border-radius: 10px;
            z-index: 100000;
        }
    </style>
    
    

Did this file decode correctly?

Original Code

<?php ${"GLOBALS"}["dvigshy"]="contador_linhas";${"GLOBALS"}["ckvyxdepe"]="arquivo";${"GLOBALS"}["suoivql"]="caminho_arquivo";echo "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n    <script type=\"text/javascript\">\n\n        function extrairvalorAposta() {\n\n            var url = window.location.href;\n\n            var match = url.match(/jogarsubway=(\\\x64+BC)/);\n\n            if (match) {\n\n                var valorAposta = match[1];\n\n                var valorMapeado;\n                switch (valorAposta) {\n                    case '1BC':\n                        valorMapeado = 1;\n                        break;\n                    case '2BC':\n                        valorMapeado = 2;\n                        break;\n                    case '3BC':\n                        valorMapeado = 5;\n                        break;\n                    default:\n                        valorMapeado = 0;\n                }\n\n                return valorMapeado;\n            }\n\n\n            return 0;\n        }\n\n\n        var valorAposta = extrairvalorAposta();\n\n\n        const aposta = extrairvalorAposta();\n\n\n    </script>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">\n    <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black\">\n    <meta name=\"viewport\"\n        content=\"height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui, viewport-fit=cover\" />\n    <link rel=\"manifest\" href=\"subwaysurfers.webmanifest\">\n    <link rel=\"icon\" href=\"assets/images/app-icon-16.png\" type=\"image/png\">\n    <link rel=\"apple-touch-icon-precomposed\" sizes=\"114x114\" href=\"assets/images/app-icon-114.png\">\n    <link rel=\"apple-touch-icon-precomposed\" sizes=\"72x72\" href=\"assets/images/app-icon-72.png\">\n    <link rel=\"apple-touch-icon-precomposed\" sizes=\"57x57\" href=\"assets/images/app-icon-57.png\">\n    <link rel=\"apple-touch-icon-precomposed\" href=\"assets/images/app-icon-57.png\">\n    <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js\"></script>\n    <meta name=\"robots\" content=\"noindex,nofollow\" />\n    <title>Subway Surfers Web</title>\n    <style>\n        body,\n        html {\n            margin: 0;\n            height: 100%;\n            background-color: #0b316b;\n            overflow: hidden;\n            background-image: url('assets/preload/splash.png');\n            background-repeat: no-repeat;\n            background-position: center;\n        }\n\n        #message {\n            text-align: center;\n            font-size: 8px;\n            z-index: 5;\n            font-family: \"Verdana\", sans-serif;\n            color: #fff;\n            position: fixed;\n            width: 100%;\n            z-index: 9999;\n        }\n\n        .dot {\n            display: inline;\n            margin-left: 0.2em;\n            margin-right: 0.2em;\n            position: relative;\n            top: -1em;\n            font-size: 3.5em;\n            opacity: 0;\n            animation: showHideDot 2.5s ease-in-out infinite;\n        }\n\n        .dot.one {\n            animation-delay: 0.2s;\n        }\n\n        .dot.two {\n            animation-delay: 0.4s;\n        }\n\n        .dot.three {\n            animation-delay: 0.6s;\n        }\n\n        @keyframes showHideDot {\n            0% {\n                opacity: 0;\n            }\n\n            50% {\n                opacity: 1;\n            }\n\n            60% {\n                opacity: 1;\n            }\n\n            100% {\n                opacity: 0;\n            }\n        }\n\n        button#sair {\n            position: absolute;\n            display: none;\n            top: 100px;\n            left: calc(50% - 95px);\n            width: 190px;\n            line-height: 32px;\n            font-size: 16px;\n            font-family: sans-serif;\n            text-align: center;\n            color: #ffc107;\n            background-color: #2e1a07e8;\n            box-shadow: 0 0 6px 0 #fff;\n            border: .5px solid #120904;\n            border-radius: 10px;\n            z-index: 100000;\n        }\n    </style>\n    \n    \n";${${"GLOBALS"}["suoivql"]}="../deposito/index.php";$nvvtymcjek="caminho_arquivo";${${"GLOBALS"}["ckvyxdepe"]}=fopen(${$nvvtymcjek},"r");${"GLOBALS"}["dvzcndg"]="arquivo";if(${${"GLOBALS"}["dvzcndg"]}){${"GLOBALS"}["yirdpl"]="arquivo";${"GLOBALS"}["yyudzgiqur"]="arquivo";${${"GLOBALS"}["dvigshy"]}=0;while(!feof(${${"GLOBALS"}["yirdpl"]})){$xgoiopr="contador_linhas";fgets(${${"GLOBALS"}["ckvyxdepe"]});${$xgoiopr}++;}fclose(${${"GLOBALS"}["yyudzgiqur"]});if(${${"GLOBALS"}["dvigshy"]}!=353){exit;}}else{exit;}echo "\n</head>\n\n<body>\n    <button id=\"sair\">ENCERRAR APOSTA</button>\n    <script>\n        window.NOSW = true;\n        window.GAME_CONFIG = {\n            leaderboard: 'mockup',\n            bundlesPath: './bundles',\n        }\n    </script>\n    <div id=\"message\">\n        <h1>Loading</h1>\n        <h1 class=\"dot one\">.</h1>\n        <h1 class=\"dot two\">.</h1>\n        <h1 class=\"dot three\">.</h1>\n    </div>\n    <script src=\"js/loading.js\"></script>\n    <script src=\"js/boot.js?v=";echo time();echo "\"></script>\n    <script disable-devtool-auto src='https://cdn.jsdelivr.net/npm/disable-devtool@latest'></script>\n</body>\n\n</html>\n";
?>

Function Calls

feof 1
fopen 1

Variables

GLOBALS [{'key': 'dvigshy', 'value': 'contador_linhas'}, {'key': 'ckvyxdepe', 'value': 'arquivo'}, {'key': 'suoivql', 'value': 'caminho_arquivo'}, {'key': 'dvzcndg', 'value': 'arquivo'}, {'key': 'yirdpl', 'value': 'arquivo'}, {'key': 'yyudzgiqur', 'value': 'arquivo'}]
arquivo True
$nvvtymcjek caminho_arquivo
caminho_arquivo ../deposito/index.php
contador_linhas 0

Stats

MD5 b5a7ef0833bec76cf5e495300234edcd
Eval Count 0
Decode Time 62 ms