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 goto m5AqdUMfHu46qn_O; ByukBt96gvtLxYwR: require "config.php"; goto exi_ICo3..

Decoded Output download

<?php  
goto m5AqdUMfHu46qn_O;  
ByukBt96gvtLxYwR:  
require "config.php";  
goto exi_ICo37NHIKWmD;  
exi_ICo37NHIKWmD:  
$error = "| \xe2\235\x8c Incorrect Password Input!";  
goto ym_ubyvSnJdKA56u;  
m5AqdUMfHu46qn_O:  
session_start();  
goto ByukBt96gvtLxYwR;  
PjTE0iJqkDp2eMDv:  
if (isset($_POST["submit"])) {  
goto RiKtDIuqAzcsacZF;  
NzqUGkSRTH20D0Pu:  
if ($key !== $config["key"]) {  
goto gMafU7qu90ECJoDP;  
Z0xU7a5jqgeGmOdS:  
exit;  
goto mc1ywQO5WMh54qO3;  
Ijd20BZ08HF944AP:  
header("Location: login.php");  
goto Z0xU7a5jqgeGmOdS;  
gMafU7qu90ECJoDP:  
$_SESSION["error"] = $error;  
goto Ijd20BZ08HF944AP;  
mc1ywQO5WMh54qO3:  
}  
goto jNWwt2hiosItKYY4;  
RiKtDIuqAzcsacZF:  
$key = QJJcYgoSLa6Ck0eC($_POST["key"]);  
goto NzqUGkSRTH20D0Pu;  
AH5sGp2y3Vbh5H8X:  
header("Location: index.php");  
goto L3oWdeAS33sDVTQc;  
jNWwt2hiosItKYY4:  
$_SESSION["login"] = $key;  
goto AH5sGp2y3Vbh5H8X;  
L3oWdeAS33sDVTQc:  
exit;  
goto CAa8Os85LEDVsaeQ;  
CAa8Os85LEDVsaeQ:  
}  
goto ZBgpizdxVjs2Tl43;  
uOSPK4XRUEA0sqgR:  
function qjjcYgOSlA6CK0Ec($param)  
{  
if (!preg_match("/^[A-Za-z0-9]+$/", $param)) {  
header("HTTP/1.1 500 Internal Server Error");  
exit;  
}  
return $param;  
}  
goto PjTE0iJqkDp2eMDv;  
bqsAl0l6QbGZxJS1:  
if (isset($_SESSION["error"])) {  
$error = $_SESSION["error"];  
echo "<span>{$error}</span>";  
}  
goto va5ax4YIV11AJoHE;  
ym_ubyvSnJdKA56u:  
if (isset($_SESSION["login"])) {  
header("Location: index.php");  
exit;  
}  
goto uOSPK4XRUEA0sqgR;  
ZBgpizdxVjs2Tl43:  
echo "<!DOCTYPE html>\xd\xa<html lang="en"> 
 
\xa<head> 
\xa    <meta charset="UTF-8">\xd 
    <meta name="viewport" content="width=device-width, initial-scale=1.0">\xd\xa    <meta http-equiv="X-UA-Compatible" content="ie=edge"> 
    <title>#MAR$#</title> 
    <meta name="description" content="description here"> 
    <meta name="keywords" content="keywords,here">\xd\xa\xd\xa    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">\xd\xa    <link href="https://unpkg.com/tailwindcss/dist/tailwind.min.css" rel="stylesheet">\xd\xa    <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.bundle.min.js" integrity="sha256-XF29CBwU1MWLaGEnsELogU6Y6rcc5nCkhhx89nFMIDQ=" crossorigin="anonymous"></script>\xd\xa 
\xa    <link rel="stylesheet" href="css/css.css">\xd\xa\xd\xa</head> 
\xd 
<body class="bg-black-alt font-sans leading-normal tracking-normal"> 
 
    <!--Container-->\xd\xa    <div class="container w-full mx-auto pt-20">\xd\xa 
\xa        <div class="w-full px-4 md:px-0 md:mt-8 mb-16 text-gray-800 leading-normal"> 
 
\xa            <!--Console Content--> 
\xa 
            <div class="w-full p-3"> 
\xa                <!--Table Card--> 
\xa                <div class="bg-gray-900 border border-gray-800 rounded shadow"> 
                    <div class="border-b border-gray-800 p-3">\xd\xa                        <h5 class="font-bold uppercase text-gray-600"><i class="fas fa-fingerprint"></i> Login\xd 
                            ";  
goto bqsAl0l6QbGZxJS1;  
va5ax4YIV11AJoHE:  
echo "                        </h5> 
\xa                    </div>\xd 
                    <div class="p-5"> 
\xa                        <div class="w-full p-5 text-gray-700" style="text-align:center;"> 
                            <form method="post">\xd 
                                <i class="fas fa-unlock-alt"></i>&nbsp; 
                                <input type="text" id="key" name="key" placeholder="> Enter Password.." autocomplete="off" spellcheck="false" required>\xd\xa                                <br> <br> <button type="submit" name="submit" style="outline: none;">Login</button> 
                            </form> 
                        </div> 
                    </div> 
\xd\xa\xd 
                </div>\xd\xa                <div class="container  mx-auto flex py-2">\xd 
                    <a class="foot" href="https://t.me/bigseccommunity"> 
\xa                        \302\xa9 MARS | Bigsec Community\xd\xa                    </a> 
                </div> 
                <br>\xd 
                <div class="waviy font-bold uppercase"> 
\xa                    <span style="--i:1">M</span> 
                    <span style="--i:2; color:#03DAC6;">A</span> 
\xa                    <span style="--i:3">R</span> 
                    <span style="--i:4; color:#03DAC6;">$</span><br> 
                    <span style="--i:5; font-size:30px; color:#BB86FC;">Logs Panel</span><br>\xd\xa                    <span style="--i:6; font-size:small; color:#03DAC6;">For Bigsec Community</span>\xd 
                </div> 
             \xd\xa 
                <script src="js/js.js"></script>\xd\xa</body> 
\xd 
</html> 
";  
goto u2VpMh7srGTsu3NM;  
u2VpMh7srGTsu3NM:  
unset($_SESSION["error"]);  
?>

Did this file decode correctly?

Original Code

<?php 
goto m5AqdUMfHu46qn_O; 
ByukBt96gvtLxYwR: 
require "config.php"; 
goto exi_ICo37NHIKWmD; 
exi_ICo37NHIKWmD: 
$error = "| \xe2\235\x8c Incorrect Password Input!"; 
goto ym_ubyvSnJdKA56u; 
m5AqdUMfHu46qn_O: 
session_start(); 
goto ByukBt96gvtLxYwR; 
PjTE0iJqkDp2eMDv: 
if (isset($_POST["submit"])) { 
goto RiKtDIuqAzcsacZF; 
NzqUGkSRTH20D0Pu: 
if ($key !== $config["key"]) { 
goto gMafU7qu90ECJoDP; 
Z0xU7a5jqgeGmOdS: 
exit; 
goto mc1ywQO5WMh54qO3; 
Ijd20BZ08HF944AP: 
header("Location: login.php"); 
goto Z0xU7a5jqgeGmOdS; 
gMafU7qu90ECJoDP: 
$_SESSION["error"] = $error; 
goto Ijd20BZ08HF944AP; 
mc1ywQO5WMh54qO3: 
} 
goto jNWwt2hiosItKYY4; 
RiKtDIuqAzcsacZF: 
$key = QJJcYgoSLa6Ck0eC($_POST["key"]); 
goto NzqUGkSRTH20D0Pu; 
AH5sGp2y3Vbh5H8X: 
header("Location: index.php"); 
goto L3oWdeAS33sDVTQc; 
jNWwt2hiosItKYY4: 
$_SESSION["login"] = $key; 
goto AH5sGp2y3Vbh5H8X; 
L3oWdeAS33sDVTQc: 
exit; 
goto CAa8Os85LEDVsaeQ; 
CAa8Os85LEDVsaeQ: 
} 
goto ZBgpizdxVjs2Tl43; 
uOSPK4XRUEA0sqgR: 
function qjjcYgOSlA6CK0Ec($param) 
{ 
if (!preg_match("/^[A-Za-z0-9]+$/", $param)) { 
header("HTTP/1.1 500 Internal Server Error"); 
exit; 
} 
return $param; 
} 
goto PjTE0iJqkDp2eMDv; 
bqsAl0l6QbGZxJS1: 
if (isset($_SESSION["error"])) { 
$error = $_SESSION["error"]; 
echo "<span>{$error}</span>"; 
} 
goto va5ax4YIV11AJoHE; 
ym_ubyvSnJdKA56u: 
if (isset($_SESSION["login"])) { 
header("Location: index.php"); 
exit; 
} 
goto uOSPK4XRUEA0sqgR; 
ZBgpizdxVjs2Tl43: 
echo "<!DOCTYPE html>\xd\xa<html lang="en">

\xa<head>
\xa    <meta charset="UTF-8">\xd
    <meta name="viewport" content="width=device-width, initial-scale=1.0">\xd\xa    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>#MAR$#</title>
    <meta name="description" content="description here">
    <meta name="keywords" content="keywords,here">\xd\xa\xd\xa    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">\xd\xa    <link href="https://unpkg.com/tailwindcss/dist/tailwind.min.css" rel="stylesheet">\xd\xa    <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.bundle.min.js" integrity="sha256-XF29CBwU1MWLaGEnsELogU6Y6rcc5nCkhhx89nFMIDQ=" crossorigin="anonymous"></script>\xd\xa
\xa    <link rel="stylesheet" href="css/css.css">\xd\xa\xd\xa</head>
\xd
<body class="bg-black-alt font-sans leading-normal tracking-normal">

    <!--Container-->\xd\xa    <div class="container w-full mx-auto pt-20">\xd\xa
\xa        <div class="w-full px-4 md:px-0 md:mt-8 mb-16 text-gray-800 leading-normal">

\xa            <!--Console Content-->
\xa
            <div class="w-full p-3">
\xa                <!--Table Card-->
\xa                <div class="bg-gray-900 border border-gray-800 rounded shadow">
                    <div class="border-b border-gray-800 p-3">\xd\xa                        <h5 class="font-bold uppercase text-gray-600"><i class="fas fa-fingerprint"></i> Login\xd
                            "; 
goto bqsAl0l6QbGZxJS1; 
va5ax4YIV11AJoHE: 
echo "                        </h5>
\xa                    </div>\xd
                    <div class="p-5">
\xa                        <div class="w-full p-5 text-gray-700" style="text-align:center;">
                            <form method="post">\xd
                                <i class="fas fa-unlock-alt"></i>&nbsp;
                                <input type="text" id="key" name="key" placeholder="> Enter Password.." autocomplete="off" spellcheck="false" required>\xd\xa                                <br> <br> <button type="submit" name="submit" style="outline: none;">Login</button>
                            </form>
                        </div>
                    </div>
\xd\xa\xd
                </div>\xd\xa                <div class="container  mx-auto flex py-2">\xd
                    <a class="foot" href="https://t.me/bigseccommunity">
\xa                        \302\xa9 MARS | Bigsec Community\xd\xa                    </a>
                </div>
                <br>\xd
                <div class="waviy font-bold uppercase">
\xa                    <span style="--i:1">M</span>
                    <span style="--i:2; color:#03DAC6;">A</span>
\xa                    <span style="--i:3">R</span>
                    <span style="--i:4; color:#03DAC6;">$</span><br>
                    <span style="--i:5; font-size:30px; color:#BB86FC;">Logs Panel</span><br>\xd\xa                    <span style="--i:6; font-size:small; color:#03DAC6;">For Bigsec Community</span>\xd
                </div>
             \xd\xa
                <script src="js/js.js"></script>\xd\xa</body>
\xd
</html>
"; 
goto u2VpMh7srGTsu3NM; 
u2VpMh7srGTsu3NM: 
unset($_SESSION["error"]); 
?>

Function Calls

None

Variables

None

Stats

MD5 84c451c44cdd1f6360d832185f8d891b
Eval Count 0
Decode Time 47 ms