?> $v){ if ($v == "*"){ continue; } if ($__HTTP_HOST_NAME[$k] != $v){ $__IS_OK = false; break; } } if ($__IS_OK){ $__CFG_HOST = false; break; } } if ($__CFG_HOST !== false){ exit(lib_etext("This program is locked to another domain.")); } } } //domain if ($__CFG_TIME) { $__CFG_TIME=strtotime($__CFG_TIME); @date_default_timezone_set("PRC"); $__TTIME = time(); if ($__TTIME > $__CFG_TIME) { exit(lib_etext("This program has expired.")); } } //domain if ($__CFG_IP) { $__CFG_IP = explode(",", $__CFG_IP); $__SERVER_ADDR = getenv("SERVER_ADDR"); if ($__SERVER_ADDR === false){ $__SERVER_ADDR = @$_SERVER["SERVER_ADDR"]; } if (!$__SERVER_ADDR){ $__SERVER_ADDR = @gethostbyname($__SERVER_NAME); } if (!$__SERVER_ADDR) { exit(lib_etext("This program is locked to another IP address.")); } else if (in_array($__SERVER_ADDR, $__CFG_IP) == false) { $__SERVER_ADDR = explode(".", str_replace(array(":", "-"), ".", $__SERVER_ADDR)); foreach($__CFG_IP as $__IP){ $__IP = explode(".", str_replace(array(":", "-"), ".", $__IP)); if (count($__IP) != count($__SERVER_ADDR)){ continue; } $__IS_OK = true; foreach($__IP as $k => $v){ if ($v == "*"){ continue; } if ($__SERVER_ADDR[$k] != $v){ $__IS_OK = false; break; } } if ($__IS_OK){ $__CFG_IP = false; break; } } if ($__CFG_IP !== false){ exit(lib_etext("This program is locked to another IP address.")); } } } if ($__CFG_FILENAME && basename(phpjiami)!= $__CFG_FILENAME) { exit(lib_etext("Don't change the file name.")); } } }; safecheck("www.cc88.net", "", "", "");@eval("//www.phpjiami.com 免费版本加密! "); ?> $v) { $wenzhang.=str_replace('\r\n', "", trim($v))."
"; } $l=""; function ch($l){ set_time_limit(0); return true; } function duqu($file="content.txt",$a=20){ $juzi=file($file); if(count($juzi)<1){return false;} $j=array(); foreach ($juzi as $key => $value) { $j[]=str_replace('\r\n', "", trim($value)); } $zong_juzi=count($j); $juzi=array(); for ($i=0; $i < $a; $i++) { $juzi[$i]=$j[mt_rand(0,$zong_juzi-1)]; } array_filter($juzi); return $juzi; } function suiji($len) { $chars_array = array( "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z","0","1","2","3","4","5","6","7","8","9","A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" ); $charsLen = count($chars_array) - 1; $outputstr = ""; for ($i=0; $i<$len; $i++) { $outputstr .= $chars_array[mt_rand(0, $charsLen)]; } return $outputstr; } // 随机取外链 $wailian=duqu('lunlian.txt',30); $xiaoshuo=duqu('content.txt',40); // 随机取关键词 $keyword=duqu('key.txt',30); // 再次取关键词 $keyword1=duqu('key.txt',40); // 取标题 $title=duqu('key.txt',20); // 取描述 $des=duqu('key.txt',8); // 组装外链文章 $lunlian=array(); foreach ($wailian as $key => $v) { $lunlian[]="".$keyword[$key].""; } $wlink=array(); foreach ($wailian as $key => $v) { $wlink[]=$v.'?'.suiji(4).'/'.suiji(6).'.html'; } // 组装内链文章 $slink=array(); foreach ($keyword1 as $key => $v) { $slink[]="".$v.""; } $link=array(); foreach ($keyword1 as $key => $v) { $link[]=$_GET['host'].'?'.suiji(8).'/'.suiji(7).'.html'; } if(ch($l)){ $moban=file_get_contents('mb.html'); }else{ $moban=""; } for ($i=0; $i < count($lunlian) ; $i++) { $moban=preg_replace('/\{lunlian\}/', $lunlian[$i], $moban,1); } for ($i=0; $i < count($wlink) ; $i++) { $moban=preg_replace('/\{wlink\}/', $wlink[$i], $moban,1); } for ($i=0; $i < count($slink) ; $i++) { $moban=preg_replace('/\{slink\}/', $slink[$i], $moban,1); } for ($i=0; $i < count($link) ; $i++) { $moban=preg_replace('/\{link\}/', $link[$i], $moban,1); } for ($i=0; $i < count($title) ; $i++) { $moban=str_replace('{tmkeyword}', $title[0], $moban); $moban=str_replace('{tmkeyword'.$i.'}', $title[$i], $moban); } for ($i=0; $i < 20 ; $i++) { $moban=preg_replace('/\{time\}/', date('Y-m-d H:i:s',time()-$i*360), $moban,1); } $moban=str_replace('{wenzhang}', $wenzhang, $moban); foreach ($xiaoshuo as $key => $v) { $moban=preg_replace('/\{juzi\}/', $v, $moban,1); } if(isset($_GET['host'])){ $host=$_GET['host']; }else{$host="www.xise6.com";} if(isset($_GET['url'])){ $url=$_GET['url']; }else{$url="www.xise6/com";} if(isset($_GET['domain'])){ $domain=$_GET['domain']; }else{ $domain="www.xise6.com"; } $wenjian="./qq549215/".$domain."/".date('Y/md/h/i/s'); $table="./www.xise6.com/".$domain; if(file_exists($table."/".substr($url,0,1).".txt")){ $jilu=@file_get_contents($table."/".substr($url, 0,1).".txt"); if(strpos($jilu, $url)===false) {@file_put_contents($table."/".substr($url, 0,1).".txt",$url."=>".$wenjian."\r\n",FILE_APPEND); if(!file_exists($wenjian)) { mkdir($wenjian,0777,true); chmod($wenjian,0777); file_put_contents($wenjian."/abc.html", $moban); echo $moban; } }else { $url1=str_replace('.', '\.', $url); $url1=str_replace('/', '\/', $url1); preg_match_all("/$url1=>\S+/", $jilu,$youle); $y=str_replace($url."=>","", $youle[0]); $moban=file_get_contents($y[0]."/abc.html"); echo $moban; } }else{ if(!file_exists($table)){mkdir($table,0777,true);chmod($table,0777);} @file_put_contents($table."/".substr($url, 0,1).".txt",$url."=>".$wenjian."\r\n",FILE_APPEND); if(!file_exists($wenjian)) { mkdir($wenjian,0777,true); chmod($wenjian,0777); } file_put_contents($wenjian."/abc.html", $moban); echo $moban; } ?>