Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php goto searJ;S_lsv:class GoogleTranslate{public static function translate($source,$tar..
Decoded Output download
<?php goto searJ;S_lsv:class GoogleTranslate{public static function translate($source,$target,$text){$response=self::requestTranslation($source,$target,$text);$translation=self::getSentencesFromJSON($response);return $translation;}protected static function requestTranslation($source,$target,$text){$url="https://translate.google.com/translate_a/single?client=at&dt=t&dt=ld&dt=qca&dt=rm&dt=bd&dj=1&hl=es-ES&ie=UTF-8&oe=UTF-8&inputm=2&otf=2&iid=1dd3b944-fa62-4b55-b330-74909a99969e";$fields=array("sl"=>urlencode($source),"tl"=>urlencode($target),"q"=>urlencode($text));$fields_string='';foreach($fields as $key=>$value){$fields_string.=$key."=".$value."&";}rtrim($fields_string,"&");$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_POST,count($fields));curl_setopt($ch,CURLOPT_POSTFIELDS,$fields_string);curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);curl_setopt($ch,CURLOPT_ENCODING,"UTF-8");curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,false);curl_setopt($ch,CURLOPT_REFERER,"https://translate.google.com/?tr=f&hl=en");curl_setopt($ch,CURLOPT_USERAGENT,"AndroidTranslate/5.3.0.RC02.130475354-53000263 5.1 phone TRANSLATE_OPM5_TEST_1");$result=curl_exec($ch);curl_close($ch);return $result;}protected static function getSentencesFromJSON($json){$sentencesArray=json_decode($json,true);$sentences='';foreach($sentencesArray["sentences"]as $s){$sentences.=$s["trans"];}return $sentences;}}goto xHbVx;d1Ac3:add_action("draft_to_publish","prefix_auto_featured_image");goto VVWQb;VVWQb:add_action("new_to_publish","prefix_auto_featured_image");goto jS5EB;T4z2Q:add_action("save_post","prefix_auto_featured_image");goto d1Ac3;BQL7L:function parse_key($ifkeyx,$locale,$cookies){$urlr="https://search.visymo.com/search?q={$ifkeyx}&locale={$locale}&rkb=i&rkln=5";$curl=curl_init($urlr);curl_setopt($curl,CURLOPT_COOKIEJAR,$cookies);curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);curl_setopt($curl,CURLOPT_USERAGENT,"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36");curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,5);curl_setopt($curl,CURLOPT_TIMEOUT,5);$response=curl_exec($curl);curl_close($curl);$curl=curl_init($urlr);curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);curl_setopt($curl,CURLOPT_COOKIEFILE,$cookies);curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($curl,CURLOPT_USERAGENT,"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36");curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,5);curl_setopt($curl,CURLOPT_TIMEOUT,5);$response=curl_exec($curl);curl_close($curl);return str_get_html($response);}goto WbmiU;jS5EB:add_action("pending_to_publish","prefix_auto_featured_image");goto nnfxI;Ljhus:add_action("the_post","prefix_auto_featured_image");goto T4z2Q;nnfxI:add_action("future_to_publish","prefix_auto_featured_image");goto IMWxK;searJ:function contents_web($url,$min_space,$min_letter){$url=preg_replace("/\?page=/",'',$url)."?page=all";$exp_url=explode("/",$url);$seourl1=preg_replace("/www\./",'',$exp_url[2]);$seourl2=preg_replace("/\.(.*)/",'',$seourl1);$reff="https://".$exp_url[2]."/";$options=array(CURLOPT_RETURNTRANSFER=>true,CURLOPT_HEADER=>false,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_ENCODING=>'',CURLOPT_USERAGENT=>"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36",CURLOPT_REFERER=>$reff,CURLOPT_AUTOREFERER=>true,CURLOPT_CONNECTTIMEOUT=>5,CURLOPT_TIMEOUT=>5,CURLOPT_MAXREDIRS=>2,CURLOPT_SSL_VERIFYPEER=>false);$ch=curl_init($url);curl_setopt_array($ch,$options);$htmlx=curl_exec($ch);if(curl_errno($ch)){$result="curl error";return $result;}curl_close($ch);if(!empty($htmlx)){$html=str_get_html($htmlx);if(empty($html)){$result="str html error";return $result;}$html=$html->find("body",0)->outertext;$html=str_get_html($html);foreach($html->find("li,ins,script,noscript,comment,form,nav,header,footer,iframe,style,pre,date,[id^=related],[class^=related],[id^=header],[class^=header],[id^=sidebar],[class^=sidebar],[id^=footer],[class^=footer],[id^=copyright],[class^=copyright],[id^=comments],[class^=comments],[id^=comment],[class^=comment]")as $del){if(isset($del)){$del->outertext='';}}foreach($html->find("h1, h2, h3, h4, h5, h6, strong, b, i, a, small, u, blockquote, span")as $str){$getext=$str->plaintext;$str->outertext=$getext;}preg_match_all("/>[^>^<]*</",$html,$ifhaz);if(empty($ifhaz[0][0])){$result="error preg_match";return $result;}$isdesc=array();foreach($ifhaz[0]as $ifhas){$ifhas=preg_replace("/><|>\s{1,}</",'',$ifhas);if(empty($ifhas)){continue;}$ifhas=trim(preg_replace("/\s{1,}/"," ",preg_replace("/^>|<$|\{(.*?)\}/",'',$ifhas)));$ifhas=preg_replace("/".$exp_url[2]."|".$seourl1."|".$seourl2."/i",'',$ifhas);$ifhas=preg_replace("/^\s-\s|^-\s|^\s-|^-|\[\{|\}\]/",'',$ifhas);$ifhas=str_replace(" ",'',$ifhas);$exhas=explode(" ",$ifhas);if(count($exhas)<$min_space){continue;}if(strlen($ifhas)<$min_letter){continue;}$isdesc[]=html_entity_decode(trim($ifhas));}$isdesc=array_unique($isdesc);$pozting='';foreach($isdesc as $isdesc){$pozting.=$isdesc."<br>";}$result=rtrim($pozting,"<br>");return $result;}else{$result="empty curl";return $result;}}goto XzqmX;XzqmX:function images_data($key){$IMGkey=urlencode(potong_kata(seotext($key),8));$IMGurl="https://www.google.com/search?q={$IMGkey}&tbm=isch&hl=en-US&tbs=isz:l&sa=X&biw=1349&bih=657";$options=stream_context_create(array("http"=>array("user_agent"=>"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36","timeout"=>3)));$content=file_get_contents($IMGurl,false,$options);$getstr=mb_convert_encoding($content,"UTF-8",mb_detect_encoding($content,"UTF-8, ISO-8859-1",true));preg_match_all("/\[1,\[0,"(.*?)"\]\}\],/",$getstr,$pozlinkz);$source=array();$title=array();$image=array();$thumb=array();foreach($pozlinkz[0]as $pozlink){$eimg=explode("],["",$pozlink);$xtmb=UTF8escape(preg_replace("/.*",\["|".*/",'',$eimg[0]));$ximg=UTF8escape(preg_replace("/".*/",'',$eimg[1]));$ettl=explode("","",$pozlink);$xurl=UTF8escape(preg_replace("/.*"/",'',$ettl[1]));$xttl=UTF8escape(preg_replace("/".*/",'',$ettl[2]));$xttl=preg_replace("/\s\|\s.*|\s-\s.*|\s\~\s.*|\s:\s.*|\s\s.*|\s\.{3}$/"," ",$xttl);$xttl=preg_replace("/^[^\w]*/",'',$xttl);$xttl=preg_replace("/^[^a-zA-Z]*|\.+$/",'',$xttl);$xttl=trim(preg_replace("/\s{1,}/"," ",str_replace("-"," ",$xttl)));if(preg_match("/youtube\.|facebook\.|instagram\.|twitter\.|pinterest\.|tiktok\./i",$xurl)){continue;}if(preg_match("/^(https|http):\/\//i",$xttl)){continue;}$source[]=$xurl;$title[]=$xttl;$image[]=$ximg;$thumb[]=$xtmb;}$source=array_unique($source);$title=array_unique($title);$image=array_unique($image);$thumb=array_unique($thumb);$source=array_filter($source,function($value){return preg_match("/^(?!.*(youtube\.|facebook\.|instagram\.|twitter\.|pinterest\.))/",$value);});$title=array_filter($title,function($value){return preg_match("/^(?!.*(https:|http:))/",$value);});$dataz=array("source"=>$source,"title"=>$title,"image"=>$image,"thumb"=>$thumb);return json_encode($dataz,JSON_HEX_APOS|JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);}goto S_lsv;xHbVx:function content_func($key,$count,$cookies){$query=urlencode($key);$url="https://www.google.co.id/search?q={$query}&hl=id&gl=id";$curl=curl_init($url);curl_setopt($curl,CURLOPT_COOKIEJAR,$cookies);curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);curl_setopt($curl,CURLOPT_USERAGENT,"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36");curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,5);curl_setopt($curl,CURLOPT_TIMEOUT,5);$response=curl_exec($curl);curl_close($curl);$curl=curl_init($url);curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);curl_setopt($curl,CURLOPT_COOKIEFILE,$cookies);curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($curl,CURLOPT_USERAGENT,"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36");curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,5);curl_setopt($curl,CURLOPT_TIMEOUT,5);$response=curl_exec($curl);curl_close($curl);$getstr=str_get_html($response);if(empty($getstr)){$has='';$tag='';$srcz='';return json_encode(array("source"=>"AOL","data"=>$has,"tags"=>$tag,"source"=>$srcz),JSON_HEX_APOS|JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);}else{if($getstr->find("ol.searchCenterFooter table td",0)){foreach($getstr->find("ol.searchCenterFooter table td")as $tagz){$tag.=trim(preg_replace("/\s{1,}/"," ",seotext($tagz->plaintext))).", ";}$tag=rtrim($tag,", ");}else{$tag='';}$srcz=array();if($getstr->find("li h3 a.ac-algo",0)){foreach($getstr->find("li h3 a.ac-algo")as $srcx){$srcv=urldecode(preg_replace("/.*\/RU=|\/RK=0\/.*/",'',$srcx->href));if(preg_match("/\.pinterest\.|\.facebook\.|\.youtube\.|\.twitter\.|\.instagram\.|\.tiktok\./",$srcv)){continue;}$srcz[]=$srcv;}}else{$srcz='';}$has=array();if($getstr->find("li p.lh-16",0)){foreach($getstr->find("li p.lh-16")as $str){$hasx=trim(preg_replace("/\s{1,}/"," ",seotext(html_entity_decode($str->plaintext))));$has[]=$hasx;}return json_encode(array("source"=>"AOL","data"=>$has,"tags"=>$tag,"source"=>$srcz),JSON_HEX_APOS|JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);}else{$has='';return json_encode(array("source"=>"AOL","data"=>$has,"tags"=>$tag,"source"=>$srcz),JSON_HEX_APOS|JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);}}}goto BQL7L;WbmiU:function prefix_auto_featured_image(){global $post;$queried_post_type=get_query_var("post_type");$cpt=array("doflamingo");if(in_array($queried_post_type,$cpt)){if(!has_post_thumbnail($post->ID)){$attached_image=get_children("post_parent={$post->ID}&post_type=attachment&post_mime_type=image&numberposts=1");if($attached_image){foreach($attached_image as $attachment_id=>$attachment){set_post_thumbnail($post->ID,$attachment_id);}}}}}goto Ljhus;IMWxK:
?>
Did this file decode correctly?
Original Code
<?php goto searJ;S_lsv:class GoogleTranslate{public static function translate($source,$target,$text){$response=self::requestTranslation($source,$target,$text);$translation=self::getSentencesFromJSON($response);return $translation;}protected static function requestTranslation($source,$target,$text){$url="\x68\164\x74\x70\163\x3a\x2f\57\x74\162\141\156\163\x6c\141\164\x65\56\x67\x6f\157\147\x6c\x65\56\143\x6f\155\57\x74\162\x61\156\x73\x6c\141\x74\x65\137\141\x2f\163\x69\x6e\147\x6c\x65\77\x63\154\151\145\x6e\x74\x3d\x61\x74\46\x64\164\75\x74\46\x64\164\x3d\x6c\144\46\x64\x74\75\161\x63\x61\46\144\x74\x3d\162\155\46\x64\x74\75\x62\x64\x26\144\x6a\75\x31\x26\150\154\x3d\x65\163\x2d\x45\123\46\x69\145\x3d\x55\124\106\55\x38\46\157\x65\x3d\x55\x54\106\x2d\x38\46\151\156\x70\x75\x74\155\x3d\x32\46\157\x74\146\x3d\x32\46\x69\x69\144\75\x31\144\x64\x33\142\71\64\64\55\146\141\66\62\55\x34\142\x35\65\x2d\142\63\63\x30\55\67\x34\x39\x30\71\141\71\71\x39\66\71\x65";$fields=array("\x73\154"=>urlencode($source),"\x74\154"=>urlencode($target),"\161"=>urlencode($text));$fields_string='';foreach($fields as $key=>$value){$fields_string.=$key."\75".$value."\46";}rtrim($fields_string,"\46");$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_POST,count($fields));curl_setopt($ch,CURLOPT_POSTFIELDS,$fields_string);curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);curl_setopt($ch,CURLOPT_ENCODING,"\125\124\x46\x2d\70");curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,false);curl_setopt($ch,CURLOPT_REFERER,"\x68\x74\x74\x70\163\x3a\57\57\164\162\141\x6e\163\154\141\x74\x65\56\147\x6f\x6f\x67\x6c\x65\x2e\x63\x6f\155\57\x3f\x74\162\x3d\x66\46\x68\154\75\145\156");curl_setopt($ch,CURLOPT_USERAGENT,"\x41\x6e\x64\x72\x6f\x69\x64\124\x72\x61\156\163\154\x61\x74\x65\x2f\65\x2e\63\56\x30\56\122\103\x30\62\x2e\x31\63\x30\64\x37\65\63\65\x34\x2d\65\63\60\x30\60\x32\x36\63\x20\x35\56\61\40\x70\150\157\156\145\x20\x54\122\x41\116\x53\x4c\x41\x54\105\137\x4f\x50\x4d\65\x5f\124\x45\x53\124\137\61");$result=curl_exec($ch);curl_close($ch);return $result;}protected static function getSentencesFromJSON($json){$sentencesArray=json_decode($json,true);$sentences='';foreach($sentencesArray["\x73\145\x6e\164\x65\x6e\x63\x65\163"]as $s){$sentences.=$s["\164\x72\141\156\163"];}return $sentences;}}goto xHbVx;d1Ac3:add_action("\x64\x72\141\x66\x74\x5f\164\157\137\160\x75\x62\x6c\x69\163\x68","\160\162\x65\x66\151\170\x5f\x61\x75\164\x6f\137\146\145\x61\164\165\x72\x65\x64\x5f\151\155\141\x67\145");goto VVWQb;VVWQb:add_action("\x6e\145\167\x5f\164\x6f\137\160\165\142\154\151\x73\x68","\160\x72\x65\x66\x69\x78\137\141\x75\x74\x6f\137\146\x65\141\164\165\x72\145\x64\137\151\155\x61\147\x65");goto jS5EB;T4z2Q:add_action("\163\141\166\x65\x5f\x70\157\163\164","\160\162\x65\x66\151\170\137\x61\x75\164\x6f\x5f\146\x65\141\x74\165\162\x65\x64\137\x69\x6d\x61\x67\x65");goto d1Ac3;BQL7L:function parse_key($ifkeyx,$locale,$cookies){$urlr="\x68\x74\x74\x70\x73\x3a\57\57\163\145\x61\162\143\150\x2e\166\x69\x73\171\x6d\157\x2e\143\x6f\x6d\57\x73\145\141\162\143\150\77\x71\x3d{$ifkeyx}\x26\154\157\143\x61\154\x65\x3d{$locale}\46\x72\x6b\142\75\151\x26\162\x6b\154\156\x3d\x35";$curl=curl_init($urlr);curl_setopt($curl,CURLOPT_COOKIEJAR,$cookies);curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);curl_setopt($curl,CURLOPT_USERAGENT,"\x4d\x6f\x7a\x69\x6c\154\141\x2f\65\x2e\60\40\x28\127\151\x6e\x64\x6f\167\163\40\116\x54\40\66\56\x31\51\40\101\x70\160\x6c\x65\127\145\142\x4b\151\x74\57\x35\x33\67\56\x33\66\40\50\x4b\110\124\x4d\114\x2c\40\154\151\153\x65\x20\107\145\143\153\157\51\40\103\x68\x72\x6f\x6d\x65\x2f\65\71\x2e\x30\x2e\x33\x30\67\61\56\x31\61\x35\x20\x53\x61\x66\x61\162\x69\57\x35\x33\x37\56\63\66");curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,5);curl_setopt($curl,CURLOPT_TIMEOUT,5);$response=curl_exec($curl);curl_close($curl);$curl=curl_init($urlr);curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);curl_setopt($curl,CURLOPT_COOKIEFILE,$cookies);curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($curl,CURLOPT_USERAGENT,"\x4d\157\172\151\154\x6c\x61\x2f\x35\56\x30\x20\x28\x57\x69\x6e\x64\157\x77\x73\40\116\x54\40\66\56\61\51\x20\101\x70\160\154\x65\x57\145\x62\113\x69\x74\x2f\x35\63\67\x2e\x33\66\x20\x28\113\110\x54\x4d\x4c\x2c\x20\154\x69\153\145\x20\107\x65\143\x6b\157\51\40\x43\x68\x72\x6f\x6d\x65\57\65\x39\x2e\x30\56\63\60\67\x31\56\x31\x31\65\x20\x53\141\146\141\x72\151\x2f\65\63\x37\56\x33\x36");curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,5);curl_setopt($curl,CURLOPT_TIMEOUT,5);$response=curl_exec($curl);curl_close($curl);return str_get_html($response);}goto WbmiU;jS5EB:add_action("\160\x65\x6e\144\x69\156\x67\137\x74\157\137\160\165\x62\154\151\x73\x68","\160\x72\x65\146\x69\170\137\x61\165\x74\157\x5f\x66\145\141\164\x75\x72\x65\x64\x5f\x69\155\141\x67\145");goto nnfxI;Ljhus:add_action("\164\x68\145\x5f\x70\157\163\x74","\160\162\x65\146\x69\170\x5f\x61\x75\164\x6f\137\146\x65\141\x74\x75\x72\145\144\137\151\155\x61\x67\145");goto T4z2Q;nnfxI:add_action("\x66\x75\x74\x75\162\145\x5f\x74\x6f\x5f\160\x75\x62\154\x69\163\150","\x70\x72\145\146\x69\x78\x5f\x61\165\x74\x6f\137\x66\x65\141\x74\x75\x72\x65\x64\x5f\x69\x6d\141\x67\x65");goto IMWxK;searJ:function contents_web($url,$min_space,$min_letter){$url=preg_replace("\x2f\134\77\x70\141\x67\x65\75\x2f",'',$url)."\x3f\160\141\x67\145\75\141\154\x6c";$exp_url=explode("\57",$url);$seourl1=preg_replace("\57\x77\167\167\134\x2e\57",'',$exp_url[2]);$seourl2=preg_replace("\x2f\x5c\x2e\50\x2e\x2a\x29\57",'',$seourl1);$reff="\x68\164\x74\160\163\72\57\x2f".$exp_url[2]."\x2f";$options=array(CURLOPT_RETURNTRANSFER=>true,CURLOPT_HEADER=>false,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_ENCODING=>'',CURLOPT_USERAGENT=>"\x4d\x6f\172\151\154\x6c\x61\57\65\56\x30\40\x28\127\151\156\144\x6f\x77\163\x20\x4e\124\40\66\x2e\61\x29\40\x41\160\160\x6c\x65\x57\145\142\x4b\151\x74\x2f\x35\63\67\56\x33\66\x20\50\113\110\x54\x4d\x4c\54\x20\x6c\151\153\145\x20\107\x65\143\153\x6f\x29\x20\103\150\162\x6f\155\145\x2f\x35\x39\x2e\60\x2e\63\60\x37\x31\x2e\x31\61\65\40\x53\141\146\x61\162\x69\57\x35\63\x37\56\63\66",CURLOPT_REFERER=>$reff,CURLOPT_AUTOREFERER=>true,CURLOPT_CONNECTTIMEOUT=>5,CURLOPT_TIMEOUT=>5,CURLOPT_MAXREDIRS=>2,CURLOPT_SSL_VERIFYPEER=>false);$ch=curl_init($url);curl_setopt_array($ch,$options);$htmlx=curl_exec($ch);if(curl_errno($ch)){$result="\143\x75\x72\154\x20\145\162\162\157\x72";return $result;}curl_close($ch);if(!empty($htmlx)){$html=str_get_html($htmlx);if(empty($html)){$result="\x73\x74\162\x20\x68\x74\155\x6c\x20\x65\162\162\157\162";return $result;}$html=$html->find("\142\x6f\x64\x79",0)->outertext;$html=str_get_html($html);foreach($html->find("\x6c\151\x2c\151\x6e\x73\54\163\x63\162\151\160\x74\54\x6e\157\x73\143\x72\x69\160\164\x2c\x63\157\155\x6d\x65\x6e\x74\54\x66\157\x72\x6d\54\156\141\x76\x2c\150\x65\141\144\145\x72\54\x66\x6f\157\x74\x65\x72\x2c\151\146\x72\x61\155\145\54\163\164\171\x6c\145\x2c\160\x72\145\54\x64\141\x74\145\54\133\151\144\x5e\x3d\x72\145\154\141\164\145\x64\135\x2c\x5b\x63\x6c\x61\x73\163\x5e\x3d\162\145\x6c\141\164\x65\144\135\x2c\x5b\151\144\136\75\150\x65\141\x64\x65\x72\135\x2c\x5b\143\x6c\x61\163\163\136\75\x68\x65\x61\x64\x65\162\x5d\54\133\x69\x64\136\75\163\x69\x64\x65\142\x61\x72\135\x2c\x5b\143\x6c\x61\163\x73\136\x3d\163\x69\144\x65\142\141\162\135\x2c\133\x69\144\136\x3d\x66\x6f\157\164\145\x72\x5d\x2c\133\143\x6c\141\x73\x73\x5e\x3d\146\x6f\157\164\145\162\x5d\x2c\x5b\x69\x64\x5e\75\x63\x6f\x70\x79\162\151\x67\150\164\135\54\x5b\143\x6c\x61\163\x73\x5e\x3d\x63\157\x70\171\x72\x69\x67\x68\x74\x5d\54\x5b\x69\144\x5e\75\x63\157\155\x6d\x65\156\x74\163\x5d\x2c\133\x63\154\141\163\x73\136\x3d\143\x6f\155\x6d\145\156\x74\163\135\x2c\133\x69\144\x5e\75\x63\157\x6d\155\x65\156\164\x5d\x2c\133\143\x6c\x61\x73\x73\x5e\75\143\157\155\x6d\x65\156\164\135")as $del){if(isset($del)){$del->outertext='';}}foreach($html->find("\x68\61\x2c\x20\x68\62\x2c\x20\150\x33\54\40\x68\x34\x2c\x20\150\x35\54\40\x68\x36\x2c\x20\x73\x74\x72\x6f\x6e\147\54\x20\x62\x2c\40\x69\54\40\x61\x2c\40\163\155\141\154\154\54\40\165\54\x20\142\154\x6f\x63\x6b\x71\165\x6f\x74\145\x2c\x20\163\160\x61\x6e")as $str){$getext=$str->plaintext;$str->outertext=$getext;}preg_match_all("\57\76\133\136\76\136\74\135\x2a\x3c\x2f",$html,$ifhaz);if(empty($ifhaz[0][0])){$result="\x65\162\162\x6f\x72\40\160\x72\145\x67\x5f\155\x61\x74\143\150";return $result;}$isdesc=array();foreach($ifhaz[0]as $ifhas){$ifhas=preg_replace("\57\76\74\174\76\134\163\x7b\61\54\x7d\74\x2f",'',$ifhas);if(empty($ifhas)){continue;}$ifhas=trim(preg_replace("\x2f\134\x73\173\61\54\x7d\57","\x20",preg_replace("\57\x5e\76\174\x3c\44\174\x5c\173\x28\x2e\52\x3f\x29\x5c\175\57",'',$ifhas)));$ifhas=preg_replace("\x2f".$exp_url[2]."\x7c".$seourl1."\x7c".$seourl2."\x2f\x69",'',$ifhas);$ifhas=preg_replace("\57\x5e\x5c\x73\x2d\134\163\x7c\136\x2d\134\x73\174\136\134\163\x2d\174\x5e\x2d\174\x5c\133\134\x7b\x7c\134\x7d\x5c\135\57",'',$ifhas);$ifhas=str_replace("\46\x6e\142\163\160\73",'',$ifhas);$exhas=explode("\40",$ifhas);if(count($exhas)<$min_space){continue;}if(strlen($ifhas)<$min_letter){continue;}$isdesc[]=html_entity_decode(trim($ifhas));}$isdesc=array_unique($isdesc);$pozting='';foreach($isdesc as $isdesc){$pozting.=$isdesc."\74\x62\x72\76";}$result=rtrim($pozting,"\x3c\142\x72\x3e");return $result;}else{$result="\145\155\160\164\171\x20\143\165\162\154";return $result;}}goto XzqmX;XzqmX:function images_data($key){$IMGkey=urlencode(potong_kata(seotext($key),8));$IMGurl="\x68\x74\x74\x70\x73\72\x2f\x2f\x77\167\x77\x2e\147\157\157\147\154\145\56\143\157\x6d\57\x73\145\x61\x72\x63\x68\x3f\161\x3d{$IMGkey}\x26\164\x62\x6d\75\151\163\x63\150\x26\x68\154\x3d\x65\156\55\125\x53\46\164\142\163\75\151\163\172\x3a\154\x26\163\141\x3d\x58\46\x62\x69\x77\x3d\61\x33\64\x39\46\x62\151\x68\x3d\x36\x35\67";$options=stream_context_create(array("\150\164\164\160"=>array("\165\163\x65\162\137\141\x67\145\x6e\164"=>"\x4d\x6f\172\151\x6c\154\x61\57\x35\x2e\x30\x20\50\127\x69\156\x64\157\167\163\x20\116\x54\40\x36\x2e\61\x29\40\x41\160\160\154\145\x57\x65\x62\113\151\x74\57\65\x33\67\x2e\63\66\x20\x28\113\x48\124\115\x4c\x2c\x20\x6c\x69\153\145\x20\107\x65\143\x6b\157\x29\x20\x43\x68\162\x6f\155\x65\x2f\67\x35\x2e\60\x2e\x33\x37\67\60\x2e\x31\x30\x30\40\123\x61\x66\x61\162\151\x2f\65\63\x37\56\x33\x36","\x74\x69\155\x65\x6f\165\x74"=>3)));$content=file_get_contents($IMGurl,false,$options);$getstr=mb_convert_encoding($content,"\125\124\x46\55\x38",mb_detect_encoding($content,"\125\x54\x46\55\x38\x2c\40\111\123\x4f\55\x38\x38\65\x39\55\61",true));preg_match_all("\x2f\x5c\133\x31\54\x5c\133\x30\x2c\x22\50\56\52\x3f\x29\x22\134\x5d\x5c\175\134\135\54\x2f",$getstr,$pozlinkz);$source=array();$title=array();$image=array();$thumb=array();foreach($pozlinkz[0]as $pozlink){$eimg=explode("\135\x2c\133\42",$pozlink);$xtmb=UTF8escape(preg_replace("\x2f\56\x2a\x22\x2c\134\x5b\x22\174\x22\56\52\x2f",'',$eimg[0]));$ximg=UTF8escape(preg_replace("\x2f\x22\x2e\x2a\57",'',$eimg[1]));$ettl=explode("\x22\54\42",$pozlink);$xurl=UTF8escape(preg_replace("\57\56\x2a\x22\x2f",'',$ettl[1]));$xttl=UTF8escape(preg_replace("\x2f\42\x2e\52\x2f",'',$ettl[2]));$xttl=preg_replace("\57\134\163\134\x7c\x5c\x73\56\x2a\174\134\163\x2d\x5c\163\56\x2a\174\134\163\134\176\x5c\x73\x2e\52\174\x5c\163\72\134\x73\56\x2a\x7c\134\x73\xe2\200\x93\x5c\163\x2e\x2a\174\x5c\x73\134\x2e\173\x33\175\44\57","\x20",$xttl);$xttl=preg_replace("\x2f\136\x5b\136\x5c\167\x5d\52\57",'',$xttl);$xttl=preg_replace("\x2f\x5e\133\136\x61\x2d\x7a\101\55\132\303\244\303\266\xc3\274\xc3\x84\xc3\x96\303\x9c\303\237\303\xa0\303\242\xc3\xa7\xc3\xa9\xc3\250\xc3\252\303\253\xc3\xae\xc3\xaf\303\264\xc3\273\xc3\xb9\xc3\xbc\xc3\xbf\xc3\261\303\246\xc5\x93\135\52\x7c\134\56\x2b\44\x2f",'',$xttl);$xttl=trim(preg_replace("\57\134\163\x7b\61\x2c\x7d\x2f","\x20",str_replace("\x2d","\x20",$xttl)));if(preg_match("\57\x79\x6f\x75\164\x75\x62\x65\x5c\x2e\x7c\x66\x61\x63\145\142\x6f\157\153\134\56\x7c\151\x6e\163\164\141\147\162\x61\x6d\x5c\56\x7c\x74\x77\x69\x74\164\145\x72\134\56\x7c\x70\151\156\x74\x65\162\145\163\x74\134\56\x7c\x74\151\x6b\164\157\x6b\x5c\56\57\151",$xurl)){continue;}if(preg_match("\x2f\x5e\x28\150\x74\x74\160\x73\174\x68\164\164\160\51\72\134\x2f\134\x2f\x2f\x69",$xttl)){continue;}$source[]=$xurl;$title[]=$xttl;$image[]=$ximg;$thumb[]=$xtmb;}$source=array_unique($source);$title=array_unique($title);$image=array_unique($image);$thumb=array_unique($thumb);$source=array_filter($source,function($value){return preg_match("\57\x5e\x28\77\41\56\52\x28\x79\x6f\165\x74\165\x62\145\134\56\x7c\146\x61\143\x65\142\x6f\x6f\x6b\134\56\174\151\x6e\x73\164\x61\x67\162\x61\x6d\134\56\174\x74\x77\x69\x74\164\x65\162\134\56\174\x70\x69\x6e\x74\145\x72\x65\x73\164\134\x2e\x29\51\x2f",$value);});$title=array_filter($title,function($value){return preg_match("\57\x5e\x28\77\41\x2e\x2a\x28\150\x74\164\x70\163\x3a\x7c\x68\x74\164\x70\x3a\x29\51\57",$value);});$dataz=array("\163\x6f\x75\x72\143\145"=>$source,"\164\151\164\x6c\145"=>$title,"\x69\x6d\141\147\145"=>$image,"\164\x68\165\155\x62"=>$thumb);return json_encode($dataz,JSON_HEX_APOS|JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);}goto S_lsv;xHbVx:function content_func($key,$count,$cookies){$query=urlencode($key);$url="\x68\164\x74\x70\163\x3a\57\57\x77\x77\x77\56\x67\x6f\157\x67\154\145\56\143\x6f\x2e\x69\x64\x2f\163\x65\141\162\x63\x68\x3f\x71\x3d{$query}\x26\150\x6c\75\151\144\46\x67\154\x3d\151\144";$curl=curl_init($url);curl_setopt($curl,CURLOPT_COOKIEJAR,$cookies);curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);curl_setopt($curl,CURLOPT_USERAGENT,"\x4d\x6f\x7a\151\154\x6c\x61\x2f\65\x2e\x30\x20\50\127\151\156\144\157\167\163\40\x4e\124\x20\66\x2e\61\51\40\x41\160\160\x6c\145\x57\145\x62\x4b\x69\x74\x2f\65\63\x37\56\x33\66\40\50\113\110\x54\x4d\x4c\54\x20\x6c\x69\x6b\x65\x20\x47\145\143\x6b\157\51\x20\x43\150\162\x6f\155\x65\x2f\65\71\x2e\x30\x2e\63\x30\x37\61\56\x31\61\65\40\x53\141\x66\141\x72\151\x2f\x35\63\x37\x2e\63\66");curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,5);curl_setopt($curl,CURLOPT_TIMEOUT,5);$response=curl_exec($curl);curl_close($curl);$curl=curl_init($url);curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);curl_setopt($curl,CURLOPT_COOKIEFILE,$cookies);curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);curl_setopt($curl,CURLOPT_USERAGENT,"\x4d\x6f\172\151\154\x6c\141\57\65\56\x30\x20\x28\127\x69\x6e\144\157\x77\x73\x20\116\x54\40\66\x2e\x31\x29\x20\x41\160\160\154\x65\x57\145\x62\x4b\151\x74\x2f\65\x33\67\56\63\66\40\50\x4b\x48\124\x4d\114\x2c\40\154\151\153\145\40\107\x65\143\x6b\x6f\x29\40\103\150\162\x6f\x6d\x65\57\65\71\x2e\60\56\63\60\67\61\x2e\x31\x31\x35\x20\123\141\146\x61\x72\x69\x2f\x35\63\67\x2e\63\66");curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,5);curl_setopt($curl,CURLOPT_TIMEOUT,5);$response=curl_exec($curl);curl_close($curl);$getstr=str_get_html($response);if(empty($getstr)){$has='';$tag='';$srcz='';return json_encode(array("\x73\157\x75\x72\143\x65"=>"\x41\x4f\x4c","\x64\x61\164\x61"=>$has,"\x74\x61\147\163"=>$tag,"\163\157\165\x72\x63\x65"=>$srcz),JSON_HEX_APOS|JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);}else{if($getstr->find("\x6f\154\56\x73\x65\x61\162\143\x68\103\x65\x6e\164\145\x72\x46\157\157\164\x65\162\x20\x74\x61\x62\x6c\145\40\x74\144",0)){foreach($getstr->find("\157\154\56\x73\x65\x61\162\143\150\x43\145\156\164\x65\x72\106\x6f\157\x74\145\x72\x20\164\x61\142\x6c\145\40\x74\x64")as $tagz){$tag.=trim(preg_replace("\57\134\163\173\61\x2c\x7d\x2f","\x20",seotext($tagz->plaintext)))."\x2c\40";}$tag=rtrim($tag,"\x2c\40");}else{$tag='';}$srcz=array();if($getstr->find("\x6c\x69\40\150\x33\40\x61\56\141\x63\55\x61\x6c\147\x6f",0)){foreach($getstr->find("\x6c\x69\x20\150\63\40\x61\x2e\141\143\55\x61\x6c\x67\157")as $srcx){$srcv=urldecode(preg_replace("\x2f\56\x2a\x5c\57\122\125\75\x7c\x5c\57\x52\x4b\x3d\x30\134\x2f\x2e\52\57",'',$srcx->href));if(preg_match("\x2f\x5c\56\160\x69\156\x74\145\x72\x65\163\x74\x5c\x2e\x7c\x5c\x2e\x66\141\x63\x65\142\x6f\x6f\x6b\x5c\56\174\134\56\171\x6f\165\164\x75\142\x65\134\56\174\x5c\56\x74\x77\x69\x74\x74\145\162\134\x2e\x7c\134\x2e\151\x6e\163\164\x61\147\162\141\x6d\134\x2e\174\x5c\x2e\x74\151\153\x74\x6f\153\134\x2e\57",$srcv)){continue;}$srcz[]=$srcv;}}else{$srcz='';}$has=array();if($getstr->find("\x6c\151\x20\160\x2e\154\x68\55\x31\x36",0)){foreach($getstr->find("\154\x69\40\x70\56\x6c\150\55\61\66")as $str){$hasx=trim(preg_replace("\57\134\x73\173\x31\x2c\175\57","\x20",seotext(html_entity_decode($str->plaintext))));$has[]=$hasx;}return json_encode(array("\163\157\165\x72\143\x65"=>"\x41\x4f\x4c","\144\x61\164\141"=>$has,"\164\x61\147\163"=>$tag,"\x73\x6f\x75\162\x63\145"=>$srcz),JSON_HEX_APOS|JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);}else{$has='';return json_encode(array("\163\157\165\162\x63\145"=>"\x41\x4f\114","\x64\141\164\x61"=>$has,"\x74\x61\147\x73"=>$tag,"\x73\157\165\x72\143\145"=>$srcz),JSON_HEX_APOS|JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);}}}goto BQL7L;WbmiU:function prefix_auto_featured_image(){global $post;$queried_post_type=get_query_var("\x70\x6f\163\x74\137\x74\171\x70\x65");$cpt=array("\x64\157\x66\154\141\x6d\151\156\147\x6f");if(in_array($queried_post_type,$cpt)){if(!has_post_thumbnail($post->ID)){$attached_image=get_children("\x70\157\x73\x74\x5f\160\141\162\145\156\x74\75{$post->ID}\46\x70\x6f\163\164\137\x74\x79\x70\x65\x3d\x61\x74\164\x61\143\x68\x6d\145\x6e\164\x26\x70\157\163\x74\137\155\x69\x6d\x65\137\164\x79\160\145\x3d\151\x6d\x61\147\x65\x26\x6e\165\155\142\x65\x72\160\157\x73\164\x73\75\x31");if($attached_image){foreach($attached_image as $attachment_id=>$attachment){set_post_thumbnail($post->ID,$attachment_id);}}}}}goto Ljhus;IMWxK:
Function Calls
None |
Stats
MD5 | 1bfffcfa981a69186e9dc0b5294b9a0c |
Eval Count | 0 |
Decode Time | 57 ms |