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 eval("?>".base64_decode("PD9waHANCglyZXF1aXJlICJkYl9jb25maWcucGhwIjsNCgkkY29ucz1uZXc..

Decoded Output download

?>b'<?php
	require "db_config.php";
	$cons=new PDO("mysql:host=$k;port=$r;dbname=$n", "$t", "$o");
	$conlpk=new PDO("mysql:host=$k;port=$r;dbname=$n2", "$t", "$o");
	//set default timezone
	date_default_timezone_set(\'Asia/Jakarta\');
?>'

Did this file decode correctly?

Original Code

<?php eval("?>".base64_decode("PD9waHANCglyZXF1aXJlICJkYl9jb25maWcucGhwIjsNCgkkY29ucz1uZXcgUERPKCJteXNxbDpob3N0PSRrO3BvcnQ9JHI7ZGJuYW1lPSRuIiwgIiR0IiwgIiRvIik7DQoJJGNvbmxwaz1uZXcgUERPKCJteXNxbDpob3N0PSRrO3BvcnQ9JHI7ZGJuYW1lPSRuMiIsICIkdCIsICIkbyIpOw0KCS8vc2V0IGRlZmF1bHQgdGltZXpvbmUNCglkYXRlX2RlZmF1bHRfdGltZXpvbmVfc2V0KCdBc2lhL0pha2FydGEnKTsNCj8+")); ?>

Function Calls

base64_decode 1

Variables

None

Stats

MD5 5752013273fc3a29be6798575d08fc14
Eval Count 1
Decode Time 97 ms