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 header("\x41\x63\143\145\163\163\x2d\103\x6f\156\x74\x72\157\x6c\x2d\x41\154\154\x..

Decoded Output download

<?php 
 header("Access-Control-Allow-Origin: *"); 
 require_once "init.php"; 
 $F2d4d8f7981ac574 = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "settings")); 
 $a8bb73cba48fb7f6 = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "servers")); 
 $Df06db369f6b9832 = parse_ini_file(CONFIG_PATH . "config.ini"); 
 define("SERVER_ID", 
 intval($Df06db369f6b9832["server_id"])); 
 if (!empty($F2d4d8f7981ac574["live_streaming_pass"])) { 
	 function c29C46a45e7A2107() { 
		 return $_SERVER["REMOTE_ADDR"]; 
		 } 
		 } DB709ED65ae02245(); 
		 function c29C46a45e7A2107() { 
			 return $_SERVER["REMOTE_ADDR"]; 
			 } 
			 if (!isset($_GET["token"])) { 
				 if (!isset($_GET["token"])) { 
 
				 } $c59ec257c284c894 = C29C46a45e7A2107(); 
				 $Cc5f933d7da183ba = explode("/", Xui\Functions::decrypt($_GET["token"], 
				 $F2d4d8f7981ac574["live_streaming_pass"], 
				 OPENSSL_EXTRA)); 
				 $ee7553b0caebc8c4 = $F2d4d8f7981ac574["ip_subnet_match"] ? implode(".", array_slice(explode(".", $Cc5f933d7da183ba[0]), 0, -1)) == implode(".", array_slice(explode(".", $c59ec257c284c894), 0, -1)) : $Cc5f933d7da183ba[0] == $c59ec257c284c894; 
				 if (!(is_array($Cc5f933d7da183ba) && ($ee7553b0caebc8c4 or !$F2d4d8f7981ac574["restrict_same_ip"]))) { 
				 } 
				 echo file_get_contents(STREAMS_PATH . intval($Cc5f933d7da183ba[1]) . "_.key"); 
				 exit; 
				 header("Access-Control-Allow-Origin: *"); require_once "init.php"; 
				 $F2d4d8f7981ac574 = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "settings")); 
				 $a8bb73cba48fb7f6 = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "servers")); 
				 $Df06db369f6b9832 = parse_ini_file(CONFIG_PATH . "config.ini"); 
				 define("SERVER_ID", intval($Df06db369f6b9832["server_id"])); 
				 if (!empty($F2d4d8f7981ac574["live_streaming_pass"])) { 
					 echo file_get_contents(STREAMS_PATH . intval($Cc5f933d7da183ba[1]) . "_.key"); 
					 exit; 
					 DB709eD65aE02245(); 
					 DB709eD65aE02245(); ?>

Did this file decode correctly?

Original Code

<?php
 header("\x41\x63\143\145\163\163\x2d\103\x6f\156\x74\x72\157\x6c\x2d\x41\154\154\x6f\x77\55\x4f\x72\151\x67\151\x6e\x3a\40\52");
 require_once "\151\156\151\x74\56\160\x68\x70";
 $F2d4d8f7981ac574 = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "\x73\145\164\164\x69\156\x67\163"));
 $a8bb73cba48fb7f6 = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "\x73\145\162\x76\x65\162\163"));
 $Df06db369f6b9832 = parse_ini_file(CONFIG_PATH . "\x63\157\x6e\x66\x69\147\56\151\x6e\x69");
 define("\123\105\122\x56\105\122\x5f\x49\104",
 intval($Df06db369f6b9832["\x73\145\162\x76\x65\162\x5f\151\x64"]));
 if (!empty($F2d4d8f7981ac574["\154\151\x76\x65\137\x73\x74\x72\145\141\155\x69\x6e\x67\137\x70\141\x73\x73"])) {
	 function c29C46a45e7A2107() {
		 return $_SERVER["\x52\105\x4d\x4f\x54\105\x5f\x41\104\104\122"];
		 }
		 } DB709ED65ae02245();
		 function c29C46a45e7A2107() {
			 return $_SERVER["\x52\105\x4d\x4f\x54\105\x5f\x41\104\104\122"];
			 }
			 if (!isset($_GET["\x74\x6f\153\x65\x6e"])) {
				 if (!isset($_GET["\x74\x6f\153\x65\x6e"])) {

				 } $c59ec257c284c894 = C29C46a45e7A2107();
				 $Cc5f933d7da183ba = explode("\57", Xui\Functions::decrypt($_GET["\164\x6f\153\x65\156"],
				 $F2d4d8f7981ac574["\154\151\x76\x65\x5f\163\x74\x72\x65\x61\x6d\x69\156\x67\137\x70\141\x73\x73"],
				 OPENSSL_EXTRA));
				 $ee7553b0caebc8c4 = $F2d4d8f7981ac574["\151\x70\137\x73\x75\142\156\145\164\137\x6d\x61\x74\x63\x68"] ? implode("\x2e", array_slice(explode("\56", $Cc5f933d7da183ba[0]), 0, -1)) == implode("\56", array_slice(explode("\56", $c59ec257c284c894), 0, -1)) : $Cc5f933d7da183ba[0] == $c59ec257c284c894;
				 if (!(is_array($Cc5f933d7da183ba) && ($ee7553b0caebc8c4 or !$F2d4d8f7981ac574["\162\x65\163\x74\162\x69\143\x74\x5f\x73\141\x6d\x65\x5f\151\160"]))) {
				 }
				 echo file_get_contents(STREAMS_PATH . intval($Cc5f933d7da183ba[1]) . "\137\56\x6b\145\x79");
				 exit;
				 header("\x41\x63\143\145\163\163\x2d\103\x6f\156\x74\x72\157\x6c\x2d\x41\154\154\x6f\x77\55\x4f\x72\151\x67\151\x6e\x3a\40\52"); require_once "\151\156\151\x74\56\160\x68\x70";
				 $F2d4d8f7981ac574 = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "\x73\145\164\164\x69\156\x67\163"));
				 $a8bb73cba48fb7f6 = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "\x73\145\162\x76\x65\162\163"));
				 $Df06db369f6b9832 = parse_ini_file(CONFIG_PATH . "\x63\157\x6e\x66\x69\147\56\151\x6e\x69");
				 define("\123\105\122\x56\105\122\x5f\x49\104", intval($Df06db369f6b9832["\x73\145\162\x76\x65\162\x5f\151\x64"]));
				 if (!empty($F2d4d8f7981ac574["\154\151\x76\x65\137\x73\x74\x72\145\141\155\x69\x6e\x67\137\x70\141\x73\x73"])) {
					 echo file_get_contents(STREAMS_PATH . intval($Cc5f933d7da183ba[1]) . "\137\56\x6b\145\x79");
					 exit;
					 DB709eD65aE02245();
					 DB709eD65aE02245();

Function Calls

None

Variables

None

Stats

MD5 1c8d996552d4b1c97938724c201b115f
Eval Count 0
Decode Time 49 ms