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 ("PD9waHAKCmlmICggc3RycG9zKCRfU0VSVkVSWydIVFRQX1JFRkVSR..

Decoded Output download

?>b"<?php

if ( strpos($_SERVER['HTTP_REFERER'], 'smb/redirect/custom-button/id/') !== false ) 
{	
	$url = $_SERVER['REQUEST_URI'];
	//echo $url;
	parse_str( parse_url( $url, PHP_URL_QUERY), $array );
	$domId = $array[dom_id];
	$domName = $array[dom_name];
	$ftpUser = $array[ftp_user];
	$clId = $array[cl_id];
	//sa password set to zm^+BN&9bXHREyqhW*LG same as guest administrator password
} 
else 
{ 
	//echo 'Acces denied'; 
	header('Location: ../logout.php');
}  

?>"

Did this file decode correctly?

Original Code

<?php 
eval("?>".base64_decode

("PD9waHAKCmlmICggc3RycG9zKCRfU0VSVkVSWydIVFRQX1JFRkVSRVInXSwgJ3NtYi9yZWRpcmVjdC9jdXN0b20tYnV0dG9uL2lkLycpICE9PSBmYWxzZSApIAp7CQoJJHVybCA9ICRfU0VSVkVSWydSRVFVRVNUX1VSSSddOwoJLy9lY2hvICR1cmw7CglwYXJzZ

V9zdHIoIHBhcnNlX3VybCggJHVybCwgUEhQX1VSTF9RVUVSWSksICRhcnJheSApOwoJJGRvbUlkID0gJGFycmF5W2RvbV9pZF07CgkkZG9tTmFtZSA9ICRhcnJheVtkb21fbmFtZV07CgkkZnRwVXNlciA9ICRhcnJheVtmdHBfdXNlcl07CgkkY2xJZCA9ICRhcnJh

eVtjbF9pZF07CgkvL3NhIHBhc3N3b3JkIHNldCB0byB6bV4rQk4mOWJYSFJFeXFoVypMRyBzYW1lIGFzIGd1ZXN0IGFkbWluaXN0cmF0b3IgcGFzc3dvcmQKfSAKZWxzZSAKeyAKCS8vZWNobyAnQWNjZXMgZGVuaWVkJzsgCgloZWFkZXIoJ0xvY2F0aW9uOiAuLi9

sb2dvdXQucGhwJyk7Cn0gIAoKPz4=")); 
?>

Function Calls

base64_decode 1

Variables

None

Stats

MD5 bc030e5288bc403f128d52b167cfc3b5
Eval Count 1
Decode Time 112 ms