0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
appartsoft.info
/
wp-content
/
plugins
/
content-mage
/
[
Home
]
File: ContentMageEzineArticles.php
<?php class l4t extends l3c implements l4g { protected $O3j="\143\157\156\164ent_ma\147\145\137ezinear\164\151\143les.log"; public function geturl($O3g,$l52=0) { $url="\150\164\164p://ezi\156\145\141rticles.\143\157\155/result\163\057?cx=par\164\156\145r-pub-\063\067\06544057\065\063\06000444\045\063A3ldny\162\166\151j91&co\146\075\106ORID%\063\101\0610&ie=\111\123\117-8859-\061\046"; $url.="q=".urlencode($O3g)."\046sa=&siteurl\075\145\172inearti\143\154\145s.com&s\164\141\162t=".($l52*0144)."&sa\075\116\046num=100"; echo $url; return $url; } public function O4g() { try { for ($O3=0; $O3<5; $O3 ++) { if ($this->l4j($O3)) { return TRUE; } } return FALSE; } catch (exception $O2a) { if ($O2a->getcode()<0) { return FALSE; } } } public function l4j($l52) { $O4j="\057/\144\151\166\133@class\075\047\147']/a[@c\154\141\163s='l']"; $url=$this->geturl($this->l3h()); $O13=preg_replace(array('@<head[^>]*?>.*?</head>@siu','@<style[^>]*?>.*?</style>@siu','@<script[^>]*?.*?</script>@siu','@<object[^>]*?.*?</object>@siu','@<embed[^>]*?.*?</embed>@siu','@<applet[^>]*?.*?</applet>@siu','@<noframes[^>]*?.*?</noframes>@siu','@<noscript[^>]*?.*?</noscript>@siu','@<noembed[^>]*?.*?</noembed>@siu','@<((br)|(hr))@iu','@</?((address)|(blockquote)|(center)|(del))@iu','@</?((div)|(h[1-9])|(ins)|(isindex)|(p)|(pre))@iu','@</?((dir)|(dl)|(dt)|(dd)|(li)|(menu)|(ol)|(ul))@iu','@</?((table)|(th)|(td)|(caption))@iu','@</?((form)|(button)|(fieldset)|(legend)|(input))@iu','@</?((label)|(select)|(optgroup)|(option)|(textarea))@iu','@</?((frameset)|(frame)|(iframe))@iu',),array(' ',' ',' ',' ',' ',' ',' ',' ',' ',"\n\0440","\n\0440","\n\044\060","\n\0440","\n\044\060","\n\0440","\n\0440","\n\044\060",),$this->l3l($url,$l52)); $O13="<bod\171\076".strip_tags($O13,'<a>')."</body>"; preg_match_all('/<a href=\\"(http:\\/\\/ezinearticles.*?)"/',$O13,$O52); foreach ($O52[1] as $url) { if (stripos($url,"\077\145\170\160\145\162\164\075") !== FALSE) { continue; } if (stripos($url,"\077\143\141\164\075") !== FALSE) { continue; } if (stripos($url,"ezi\156\145\141rticles.\143\157\155/sitemap\057") !== FALSE) { continue; } $l53=stripos($url,"\046\151d="); $id=substr($url,$l53+4); if ($this->exists($id)) { continue; } $l4h[]=$url; } $l4i=rand(0,count($l4h)-1); $url=$l4h[$l4i]; $id=substr($url,$l53+4); $this->l3d =$id; $l4k=$this->O4k($url); if ($l4k) { return TRUE; } return FALSE; } public function O4k($url) { $O4j="\057/div[@id\075\047\142ody']"; $O13=$this->l3l($url); if (function_exists("\151conv")) { $O13=iconv("IS\117\055\070859-1","UT\106\055\070\057\057\111GNO\122\105",(string) $O13); } $O33=new domdocument(); @$O33->loadhtml($O13); $entry=$O33->getelementbyid("b\157\144y"); if ($entry === NULL) { throw new exception("P\162o\142\141\142ly \171\157u\040h\141\166\145 \142een bann\145\144",-1); } $O13=$this->l4n($entry->childNodes); if (count(explode(" ",$O13))>self::O3e) { return FALSE; } $options=new l43; $options->load(); if ($options->l2f("s\150\157\167AuthorBi\157")) { $entry=$O33->getelementbyid("articl\145\055\162esource"); $O3p=$this->l4n($entry->childNodes); $this->l3p($O3p); } $this->content =$O13; return TRUE; } private function l4n($l4p) { $O13=""; foreach ($l4p as $O4p) { $l4q=new domdocument(); $l4q->appendchild($l4q->importnode($O4p,TRUE)); $O13.=$l4q->savehtml(); } return $O13; } public function poll() { return $this->O4g(); } public function O53() { $url=$this->geturl($this->l3h()); return $this->l3l($url); } public function l54() { $O4j="\057\057\150\062\133\100\143\154ass\075\047\162\047\135\057\141\133\100\143\154ass\075\047\154\047\135"; $url=$this->geturl($this->l3h()); $O13=$this->l3l($url); $l33=$this->l3o($O13,$O4j); return $l33->O54; } } ?>