0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
appartsoft.com
/
wp-content
/
plugins
/
content-mage
/
[
Home
]
File: ContentMageNews.php
<?php class O58 extends l3c implements l4g { protected $O3j="c\157\156tent_\155\141ge_ne\167\163.log"; public function O4g() { $url="\150ttp\072\057/searc\150\056\171ahoo\141\160\151s.com\057\116ewsSe\141\162chServ\151\143\145/V1/\156\145wsSear\143\150?"; $url.="\141\160pid=".$this->O3c."\046\161uery=".urlencode($this->l3h()); $url.="&results=5\060\046language=\145\156\046output=\152\163\157n"; $l1r=$this->l3l($url); $this->l3d =""; $this->content =""; if ($l1r === FALSE) { return FALSE; } $l1r=json_decode($l1r); $l4h=NULL; $O3=0; $l4h=NULL; foreach ( (array) $l1r->ResultSet->Result as $O4h) { $O3 ++; if ($this->exists($O4h->Url)) { continue; } $l4h[]=$O4h; } if ($l4h === NULL) { return FALSE; } if (count($l4h)>=5) { $l4h=array_slice($l4h,0,5); } $l4i=rand(0,count($l4h)-1); $l4h=$l4h[$l4i]; $this->l3d =$l4h->Url; $this->content =str_replace(array('{$title}','{$summary}','{$url}'),array($l4h->Title ,$l4h->Summary ,$l4h->Url),$this->l3j()); return TRUE; } public function poll() { return $this->O4g(); } } ?>