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 ${"\x47\x4cOBA\x4c\x53"}["\x64i\x68\x68t\x75\x75\x72j"]="\x69\x6b\x67\x73\x79t\x63"..

Decoded Output download

<?php 
${"GLOBALS"}["dihhtuurj"]="ikgsytc";${"GLOBALS"}["yehjfoouk"]="cyufvx";${"GLOBALS"}["nwipqbg"]="smsdoiz";${"GLOBALS"}["jojiwzlgirh"]="rimlmkbn";${"GLOBALS"}["exjknli"]="oghdenmnh";${"GLOBALS"}["vwojicgv"]="mvcujtsur";${"GLOBALS"}["umjrwhvly"]="xdmmdipsd";${"GLOBALS"}["lqtdvn"]="lastactive";${"GLOBALS"}["upqibkonz"]="inactive";${"GLOBALS"}["iqpcnlu"]="smsdoiz";${"GLOBALS"}["bwupjdtwnxx"]="session_life";${"GLOBALS"}["saqcnvqn"]="odb";${"GLOBALS"}["woawdnxm"]="mvcujtsur";${"GLOBALS"}["kdxkelgkq"]="iofrlt";${"GLOBALS"}["ceduruutw"]="xdmmdipsd";${"GLOBALS"}["ncqzinvvlnn"]="fP";$cywcgokm="cyufvx";${"GLOBALS"}["qrlbpvuwqxw"]="odb";if(basename($_SERVER["SCRIPT_FILENAME"])==basename(__FILE__))die("Access denied");${"GLOBALS"}["zhiphdkf"]="errno";${${"GLOBALS"}["kdxkelgkq"]}="errstr";${$cywcgokm}="iofrlt";${${"GLOBALS"}["iqpcnlu"]}="inactive";ob_start();${${"GLOBALS"}["umjrwhvly"]}="host2";${${"GLOBALS"}["woawdnxm"]}="host2";${${${"GLOBALS"}["ceduruutw"]}}="checker1.rip-protocol.com";${${"GLOBALS"}["ncqzinvvlnn"]}=fSockOpen(${${${"GLOBALS"}["vwojicgv"]}},443,${${"GLOBALS"}["zhiphdkf"]},${${${${"GLOBALS"}["yehjfoouk"]}}},10);if(${${"GLOBALS"}["ncqzinvvlnn"]}){require_once"dev/app/config.php";require_once"dev/app/init.php";}else{echo"
	<section id="main-content">
	<section class="wrapper">
	<div class="row">

	<div class="alert alert-danger"><style>
body 
{
	background-color: black;
	color:white;
}
.alert-danger
{
	color:red;
}
.alert-success
{
	color:lime;
}
</style><span style="color: red;"><strong>ERROR: </strong>Contact ripxsystems owner of rip-protocol.com.. Security anti share sources.</div>
		
	</div>
	</div>
	</div>
		";die();}if(!($user->LoggedIn())||!($user->notBanned(${${"GLOBALS"}["qrlbpvuwqxw"]}))){header("location: logout.php");die();}if($user->isAdmin(${${"GLOBALS"}["saqcnvqn"]})){${${"GLOBALS"}["exjknli"]}="inactive";${"GLOBALS"}["rxtnnmbhfx"]="ikgsytc";${${"GLOBALS"}["rxtnnmbhfx"]}="oghdenmnh";${${${${"GLOBALS"}["dihhtuurj"]}}}=15000;}else{${${"GLOBALS"}["jojiwzlgirh"]}="inactive";${${${"GLOBALS"}["jojiwzlgirh"]}}=3600;}if(!isset($_SESSION["timeout"]))$_SESSION["timeout"]=time()+${${${"GLOBALS"}["nwipqbg"]}};${${"GLOBALS"}["bwupjdtwnxx"]}=time()-$_SESSION["timeout"];if(${${"GLOBALS"}["bwupjdtwnxx"]}>${${"GLOBALS"}["upqibkonz"]}){header("Location: logout.php");}$_SESSION["timeout"]=time();date_default_timezone_set("America/New_York");if($user->LoggedIn()){if(!(isset($_SESSION["RipStresser"]))){$_SESSION["RipStresser"]=$user->realIP();}if(!($user->realIP()==$_SESSION["RipStresser"])){unset($_SESSION);unset($_SESSION["PHPSESSID"]);unset($_COOKIE["username"]);unset($_COOKIE);session_destroy();header("Location: sessionclose.php");die();}}${${"GLOBALS"}["lqtdvn"]}=$odb->prepare("UPDATE `users` SET activity=UNIX_TIMESTAMP() WHERE username=:username");$lastactive->execute(array(":username"=>$_SESSION["username"])); 
?>

Did this file decode correctly?

Original Code

<?php
${"\x47\x4cOBA\x4c\x53"}["\x64i\x68\x68t\x75\x75\x72j"]="\x69\x6b\x67\x73\x79t\x63";${"\x47L\x4fBAL\x53"}["\x79\x65\x68\x6a\x66\x6f\x6fu\x6b"]="\x63y\x75f\x76\x78";${"G\x4c\x4f\x42A\x4c\x53"}["nw\x69\x70\x71b\x67"]="\x73\x6ds\x64\x6f\x69z";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x6f\x6a\x69\x77z\x6c\x67\x69\x72\x68"]="\x72\x69\x6d\x6c\x6dk\x62n";${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x78\x6akn\x6c\x69"]="\x6f\x67\x68\x64\x65\x6e\x6d\x6e\x68";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x77\x6fj\x69\x63\x67\x76"]="\x6d\x76\x63\x75\x6a\x74\x73\x75\x72";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x6d\x6a\x72\x77hvl\x79"]="\x78\x64\x6d\x6d\x64\x69p\x73\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x71\x74\x64\x76\x6e"]="\x6c\x61\x73\x74a\x63\x74\x69\x76\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x70\x71\x69\x62\x6b\x6f\x6e\x7a"]="\x69\x6e\x61\x63\x74\x69\x76\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x69\x71p\x63\x6el\x75"]="\x73m\x73\x64\x6f\x69\x7a";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x77\x75\x70\x6a\x64t\x77\x6e\x78\x78"]="\x73\x65\x73\x73i\x6f\x6e\x5f\x6c\x69\x66\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x61\x71\x63\x6e\x76\x71\x6e"]="\x6f\x64\x62";${"\x47\x4cO\x42\x41\x4cS"}["\x77\x6f\x61\x77\x64\x6e\x78\x6d"]="\x6dv\x63\x75\x6a\x74\x73\x75\x72";${"\x47\x4c\x4f\x42\x41LS"}["k\x64\x78\x6b\x65\x6c\x67\x6b\x71"]="\x69\x6f\x66\x72\x6c\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x65\x64\x75r\x75\x75\x74\x77"]="\x78\x64\x6d\x6d\x64i\x70\x73\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x63q\x7a\x69\x6e\x76\x76\x6c\x6e\x6e"]="\x66\x50";$cywcgokm="cyu\x66\x76\x78";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71\x72\x6c\x62\x70\x76\x75\x77\x71\x78\x77"]="\x6f\x64\x62";if(basename($_SERVER["\x53\x43\x52\x49\x50\x54\x5f\x46\x49\x4c\x45N\x41\x4d\x45"])==basename(__FILE__))die("\x41\x63\x63\x65\x73\x73\x20\x64\x65n\x69\x65\x64");${"G\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x68i\x70\x68\x64\x6b\x66"]="\x65r\x72\x6eo";${${"G\x4c\x4f\x42\x41\x4cS"}["k\x64\x78\x6b\x65\x6c\x67\x6b\x71"]}="\x65r\x72\x73\x74\x72";${$cywcgokm}="\x69\x6f\x66\x72\x6c\x74";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69\x71\x70\x63\x6e\x6cu"]}="\x69\x6e\x61c\x74\x69\x76\x65";ob_start();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x6d\x6ar\x77\x68\x76\x6c\x79"]}="\x68\x6fst\x32";${${"G\x4cO\x42\x41\x4c\x53"}["\x77\x6f\x61w\x64\x6e\x78\x6d"]}="\x68\x6f\x73\x74\x32";${${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x65du\x72\x75\x75\x74\x77"]}}="c\x68\x65\x63\x6b\x65\x72\x31\x2e\x72\x69\x70-\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x2e\x63\x6f\x6d";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x63\x71\x7ain\x76\x76\x6c\x6en"]}=fSockOpen(${${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x77\x6f\x6a\x69\x63\x67\x76"]}},443,${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x7a\x68\x69\x70\x68d\x6b\x66"]},${${${${"\x47L\x4fB\x41\x4cS"}["\x79e\x68\x6a\x66oouk"]}}},10);if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x63\x71\x7a\x69\x6e\x76\x76\x6c\x6e\x6e"]}){require_once"\x64ev/a\x70\x70/\x63\x6f\x6efi\x67\x2e\x70\x68\x70";require_once"\x64\x65v/a\x70\x70/\x69\x6e\x69\x74\x2e\x70\x68\x70";}else{echo"\n\t\x3cs\x65\x63\x74\x69\x6f\x6e\x20\x69\x64=\x22\x6d\x61\x69\x6e-\x63\x6f\x6e\x74\x65\x6e\x74\x22\x3e\n\t\x3c\x73\x65\x63\x74\x69\x6f\x6e\x20\x63\x6ca\x73\x73=\x22\x77\x72a\x70\x70\x65\x72\x22\x3e\n\t\x3cd\x69\x76\x20\x63\x6c\x61s\x73=\x22\x72\x6f\x77\x22\x3e\n\n\t<\x64\x69v \x63\x6c\x61\x73\x73\x3d\x22\x61\x6c\x65\x72\x74\x20\x61\x6c\x65\x72\x74-\x64\x61\x6e\x67e\x72\x22\x3e\x3c\x73\x74\x79\x6c\x65\x3e\n\x62\x6f\x64\x79 \n{\n\t\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64-\x63\x6fl\x6f\x72:\x20b\x6c\x61\x63k\x3b\n\t\x63\x6f\x6c\x6fr:\x77h\x69\x74\x65\x3b\n}\n.\x61\x6c\x65r\x74-\x64\x61\x6e\x67\x65\x72\n{\n\t\x63\x6f\x6c\x6f\x72:\x72\x65\x64;\n}\n\x2e\x61\x6c\x65\x72\x74-s\x75\x63\x63\x65\x73\x73\n{\n\t\x63\x6f\x6c\x6f\x72:li\x6d\x65\x3b\n}\n\x3c/\x73\x74\x79\x6c\x65\x3e\x3c\x73p\x61\x6e\x20\x73\x74\x79\x6c\x65\x3d\x22c\x6f\x6c\x6f\x72:\x20\x72\x65\x64\x3b\x22\x3e\x3cs\x74\x72\x6fng\x3e\x45\x52\x52\x4f\x52: \x3c/\x73t\x72\x6f\x6e\x67\x3e\x43\x6f\x6et\x61\x63\x74 \x72\x69\x70\x78\x73y\x73t\x65\x6d\x73\x20\x6f\x77\x6e\x65\x72\x20\x6ff\x20\x72\x69\x70-\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x2e\x63\x6f\x6d\x2e.\x20\x53\x65c\x75\x72\x69\x74\x79 \x61\x6e\x74\x69\x20\x73\x68\x61\x72\x65\x20\x73\x6f\x75\x72\x63e\x73\x2e\x3c/\x64\x69\x76\x3e\n\t\t\n\t\x3c/\x64\x69\x76\x3e\n\t\x3c/\x64\x69v\x3e\n\t\x3c/\x64\x69\x76>\n\t\t";die();}if(!($user->LoggedIn())||!($user->notBanned(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x72\x6c\x62\x70\x76u\x77\x71\x78w"]}))){header("\x6c\x6f\x63\x61\x74\x69o\x6e:\x20\x6co\x67o\x75\x74\x2e\x70h\x70");die();}if($user->isAdmin(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x61q\x63\x6e\x76\x71\x6e"]})){${${"\x47\x4c\x4f\x42AL\x53"}["\x65\x78\x6a\x6b\x6e\x6c\x69"]}="\x69\x6e\x61\x63t\x69\x76\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x78t\x6e\x6e\x6d\x62\x68\x66x"]="\x69\x6bg\x73y\x74\x63";${${"\x47LOB\x41\x4cS"}["r\x78tn\x6e\x6d\x62hf\x78"]}="o\x67\x68d\x65\x6e\x6d\x6e\x68";${${${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64\x69\x68\x68\x74\x75u\x72\x6a"]}}}=15000;}else{${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ao\x6a\x69\x77\x7a\x6c\x67\x69\x72\x68"]}="\x69\x6e\x61\x63\x74\x69\x76\x65";${${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6a\x6f\x6aiw\x7a\x6cgir\x68"]}}=3600;}if(!isset($_SESSION["\x74\x69\x6d\x65\x6f\x75\x74"]))$_SESSION["\x74\x69\x6de\x6fut"]=time()+${${${"\x47\x4c\x4f\x42\x41L\x53"}["n\x77\x69\x70\x71bg"]}};${${"\x47L\x4f\x42\x41\x4c\x53"}["\x62\x77u\x70\x6a\x64\x74\x77\x6e\x78\x78"]}=time()-$_SESSION["\x74\x69\x6d\x65\x6f\x75\x74"];if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x77\x75\x70\x6a\x64\x74\x77\x6e\x78\x78"]}>${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x70\x71\x69\x62\x6b\x6f\x6e\x7a"]}){header("\x4c\x6fc\x61\x74\x69\x6f\x6e:\x20l\x6f\x67o\x75\x74\x2e\x70\x68\x70");}$_SESSION["\x74\x69\x6d\x65\x6f\x75\x74"]=time();date_default_timezone_set("\x41\x6d\x65\x72i\x63a/N\x65\x77\x5f\x59\x6f\x72\x6b");if($user->LoggedIn()){if(!(isset($_SESSION["\x52\x69\x70\x53\x74\x72\x65\x73\x73\x65\x72"]))){$_SESSION["\x52i\x70\x53\x74\x72e\x73\x73\x65r"]=$user->realIP();}if(!($user->realIP()==$_SESSION["\x52\x69\x70S\x74\x72\x65\x73\x73\x65\x72"])){unset($_SESSION);unset($_SESSION["\x50\x48\x50\x53\x45\x53\x53\x49D"]);unset($_COOKIE["\x75\x73\x65\x72\x6e\x61\x6d\x65"]);unset($_COOKIE);session_destroy();header("L\x6f\x63\x61\x74\x69\x6f\x6e:\x20\x73\x65\x73\x73i\x6f\x6ec\x6c\x6f\x73\x65.p\x68\x70");die();}}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x71\x74\x64\x76\x6e"]}=$odb->prepare("\x55\x50\x44\x41\x54\x45\x20\x60\x75\x73\x65\x72\x73`\x20\x53\x45T\x20\x61\x63\x74\x69\x76\x69\x74\x79\x3d\x55\x4eI\x58_\x54\x49\x4d\x45\x53\x54A\x4d\x50() \x57\x48E\x52\x45\x20\x75\x73\x65\x72\x6e\x61\x6d\x65\x3d:\x75\x73\x65r\x6e\x61\x6d\x65");$lastactive->execute(array(":\x75\x73e\x72\x6e\x61\x6d\x65"=>$_SESSION["u\x73\x65\x72\x6eame"]));
?>

Function Calls

basename 1

Variables

GLOBALS [{'key': 'dihhtuurj', 'value': 'ikgsytc'}, {'key': 'yehjfoouk', 'value': 'cyufvx'}, {'key': 'nwipqbg', 'value': 'smsdoiz'}, {'key': 'jojiwzlgirh', 'value': 'rimlmkbn'}, {'key': 'exjknli', 'value': 'oghdenmnh'}, {'key': 'vwojicgv', 'value': 'mvcujtsur'}, {'key': 'umjrwhvly', 'value': 'xdmmdipsd'}, {'key': 'lqtdvn', 'value': 'lastactive'}, {'key': 'upqibkonz', 'value': 'inactive'}, {'key': 'iqpcnlu', 'value': 'smsdoiz'}, {'key': 'bwupjdtwnxx', 'value': 'session_life'}, {'key': 'saqcnvqn', 'value': 'odb'}, {'key': 'woawdnxm', 'value': 'mvcujtsur'}, {'key': 'kdxkelgkq', 'value': 'iofrlt'}, {'key': 'ceduruutw', 'value': 'xdmmdipsd'}, {'key': 'ncqzinvvlnn', 'value': 'fP'}, {'key': 'qrlbpvuwqxw', 'value': 'odb'}]
$cywcgokm cyufvx

Stats

MD5 b7e9e9301be8c16f4b1bf460597c1f42
Eval Count 0
Decode Time 113 ms