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 namespace App\Console\Commands; use GuzzleHttp\Psr7\Request; class JavbusCrawler ex..

Decoded Output download

<?php
 namespace App\Console\Commands; use GuzzleHttp\Psr7\Request; class JavbusCrawler extends BaseCrawler { protected $signature = "avbook:javbus {--movieid=} {--magnetid=} {--moviemax=120} {--movie404=1} {--movie=} {--page=} {--magpage=} {--genre=}"; protected $description = "Javbus.com Crawler "; public function __construct() { parent::__construct(); } public function handle_all_movie($moviemax = 300, $movie404 = 0) { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["javbushost"]; $this->hosturl = "https://{$this->sphost}/"; $start_type = "movie"; $cki = "__cfduid=abb34186a88cf87a8cf32e4dbbd6b06791472108187" . '' . "; existmag=all; appad=off; cnadd5=off; PHPSESSID=b83l3o7d0ps34e14f3xxxx" . rand(1000, 9999); $headers = array("Host" => $this->sphost, "Accept-Encoding" => "gzip, deflate", "Referer" => $this->hosturl, "User-Agent" => "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0", "Accept" => "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Language" => "zh-CN,zh;q=0.9,en;q=0.8", "Cookie" => $cki, "Connection" => "keep-alive", "Cache-Control" => "max-age=0"); $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $r = $this->prepare_movie_rquests("https://{$this->sphost}/AVOP-404", $movie404); if ($r) { $this->start_spider($moviemax); } } public function handle_movie($movieid) { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["javbushost"]; $this->hosturl = "https://{$this->sphost}/"; $start_type = "movie"; $cki = "__cfduid=abb34186a88cf87a8cf32e4dbbd6b06791472108187" . '' . "; existmag=all; appad=off; cnadd5=off; PHPSESSID=b83l3o7d0ps34e14f3xxxx" . rand(1000, 9999); $headers = array("Host" => $this->sphost, "Accept-Encoding" => "gzip, deflate", "Referer" => $this->hosturl, "User-Agent" => "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0", "Accept" => "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Language" => "zh-CN,zh;q=0.9,en;q=0.8", "Cookie" => $cki, "Connection" => "keep-alive", "Cache-Control" => "max-age=0"); $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $requrl = "https://{$this->sphost}/{$movieid}"; $response = $this->spclient->get($requrl); $code = $response->getStatusCode(); if ($code == 200) { $func_name = $this->func_get_info_name; $data = $this->{$func_name}($response); if (!empty($data)) { $this->database->insert($this->in_table_name, $data); $this->handle_magnet($data["gid"]); } else { } } else { echo "{$code}"; } } public function handle_page($gid) { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["javbushost"]; $this->hosturl = "https://{$this->sphost}/"; $start_type = "page"; $cki = "__cfduid=abb34186a88cf87a8cf32e4dbbd6b06791472108187" . '' . "; existmag=all; appad=off; cnadd5=off; PHPSESSID=b83l3o7d0ps34e14f3xxxx" . rand(1000, 9999); $headers = array("Host" => $this->sphost, "Accept-Encoding" => "gzip, deflate", "Referer" => $this->hosturl, "User-Agent" => "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0", "Accept" => "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Language" => "zh-CN,zh;q=0.9,en;q=0.8", "Cookie" => $cki, "Connection" => "keep-alive", "Cache-Control" => "max-age=0"); $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $r = $this->prepare_page_rquests("https://{$this->sphost}/page/1", 1); if ($r) { $this->start_spider(200); } } public function handle_all_page($pagenum = 10, $genre = '') { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["javbushost"]; $this->hosturl = "https://{$this->sphost}/"; $start_type = "page"; $cki = "__cfduid=abb34186a88cf87a8cf32e4dbbd6b06791472108187" . '' . "; existmag=mag; appad=off; cnadd5=off; PHPSESSID=b83l3o7d0ps34e14f3xxxx" . rand(1000, 9999); $headers = array("Host" => $this->sphost, "Accept-Encoding" => "gzip, deflate", "Referer" => $this->hosturl, "User-Agent" => "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0", "Accept" => "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Language" => "zh-CN,zh;q=0.9,en;q=0.8", "Cookie" => $cki, "Connection" => "keep-alive", "Cache-Control" => "max-age=0"); $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $r = $this->prepare_page_rquests("https://{$this->sphost}/page/1", $pagenum, $genre); if ($r) { $this->start_spider(intval($this->option("moviemax"))); } } public function handle_all_magnet($pagenum = 1) { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["javbushost"]; $this->hosturl = "https://{$this->sphost}/"; $start_type = "magnet"; $headers = array("accept" => " */*", "accept-encoding" => " gzip, deflate", "accept-language" => " zh-CN,zh;q=0.9,en;q=0.8", "cookie" => " __cfduid=d81cc88b23e9028e96a7163ab877395191555602526; starinfo=glyphicon%20glyphicon-plus; existisgenres=gr_single; existmag=mag; 4fJN_2132_saltkey=Gj4yHsTs; 4fJN_2132_lastvisit=1555681998; PHPSESSID=qm0du428o07jr3ujljfd3t1vb1", "referer" => " " . $this->hosturl . "/SGA-128", "user-agent" => " Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.81 Safari/537.36", "x-requested-with" => " XMLHttpRequest"); $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $requrl = "{$this->hosturl}ajax/uncledatoolsbyajax.php?gid=39908097745&lang=zh&img=https://pics.javcdn.pw/cover/721a_b.jpg&uc=0&floor=695"; $r = $this->prepare_mag_rquests($requrl, $pagenum); if ($r) { $this->start_spider(intval($this->option("moviemax"))); } } public function handle_magnet($gid) { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["javbushost"]; $this->hosturl = "https://{$this->sphost}/"; $start_type = "magnet"; $headers = array("accept" => " */*", "accept-encoding" => " gzip, deflate", "accept-language" => " zh-CN,zh;q=0.9,en;q=0.8", "cookie" => " __cfduid=d81cc88b23e9028e96a7163ab877395191555602526; starinfo=glyphicon%20glyphicon-plus; existisgenres=gr_single; existmag=mag; 4fJN_2132_saltkey=Gj4yHsTs; 4fJN_2132_lastvisit=1555681998; PHPSESSID=qm0du428o07jr3ujljfd3t1vb1", "referer" => " " . $this->hosturl . "/SGA-128", "user-agent" => " Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.81 Safari/537.36", "x-requested-with" => " XMLHttpRequest"); $requrl = "{$this->hosturl}ajax/uncledatoolsbyajax.php?gid={$gid}&lang=zh&img=https://pics.javcdn.pw/cover/721a_b.jpg&uc=0&floor=695"; $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $response = $this->spclient->get($requrl); $code = $response->getStatusCode(); if ($code == 200) { $func_name = $this->func_get_info_name; $data = $this->{$func_name}($response, $gid); if (!empty($data)) { $this->database->insert($this->in_table_name, $data); } else { } } else { echo "error {$code}"; } } public function handle() { if ($this->option("movieid")) { $this->handle_movie($this->option("movieid")); return; } if ($this->option("magnetid")) { $this->handle_magnet($this->option("magnetid")); return; } if ($this->option("movie") == 1) { $movie404 = $this->option("movie404") * 1; $moviemax = $this->option("moviemax") * 1; $this->handle_all_movie($moviemax, $movie404); } if ($this->option("page") * 1 > 0) { $this->handle_all_page($this->option("page") * 1, $this->option("genre")); } if ($this->option("magpage") !== null) { $this->handle_all_magnet($this->option("magpage") * 1); } } public function update_ja_code_36($table_javbus, $table_avmoo) { $sql = "UPDATE  {$table_javbus} set avmoo_code_36 = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
REPLACE(movie_pic_cover,'cover/',''),'_b.jpg',''),
'https://pics.javbus.info/',''),
'https://pics.javcdn.pw/',''),\xa'https://images.javcdn.pw/',''),\xa'https://images.javbus.info/','') \xa\xa where   avmoo_code_36 = '' and  movie_pic_cover like '%https://%' "; $this->database->query($sql); $data = $this->database->query(" SELECT *  from  {$table_javbus} WHERE movie_pic_cover not like '%https://%' and  avmoo_code_36  =''   ")->fetchAll(\PDO::FETCH_ASSOC); $arr = array(); foreach ($data as $key => $val) { $arr[] = $val["movie_pic_cover"]; } $d = $this->database->select($table_avmoo, array("code_36", "movie_pic_cover"), array("movie_pic_cover" => $arr)); foreach ($d as $key => $val) { $this->database->query("update   {$table_javbus}  set  avmoo_code_36 = '{$val["code_36"]}'   WHERE movie_pic_cover  = '{$val["movie_pic_cover"]}'  "); echo "update avmoo_code_36 ::  {$key}  == {$val["code_36"]}  == {$val["movie_pic_cover"]}
 "; } $data = $this->database->query(" SELECT count(1) as avmoo_code_36_null_num  from  {$table_javbus} WHERE   avmoo_code_36  =''   ")->fetchAll(\PDO::FETCH_ASSOC); echo "avmoo_code_36_null_num : {$data[0]["avmoo_code_36_null_num"]} 
"; } public $sp_uri = ''; public function check_hosturl($requrl) { $this->info("GET: {$requrl}  before sql"); $response = $this->spclient->get($requrl); $code = $response->getStatusCode(); if ($code == 200 || $code == 404) { } else { $this->error(__METHOD__ . ":[{$requrl} |====\351\223\276\xe6\216\xa5\xe6\227\xa0\346\225\210]"); die; } $type = $response->getHeader("content-type"); $parsed = \GuzzleHttp\Psr7\parse_header($type); $this->spcharset = isset($parsed[0]["charset"]) ? $parsed[0]["charset"] : "UTF-8"; } public function prepare_page_rquests($requrl, $pagenum = 10, $genre = '') { $this->sp_uri = "https://" . $this->sphost . "/page/"; if (!empty($genre)) { $this->sp_uri = "https://" . $this->sphost . "/genre/" . $genre . "/"; } $this->magnet_time = time(); $this->check_hosturl($requrl); $this->arr_req_code_36 = array(); for ($i = 1; $i < $pagenum + 1; $i++) { $this->arr_req_code_36[] = $i; } $total = count($this->arr_req_code_36); $this->info("{$this->start_type} \345\x8d\x87\347\xba\xa7\346\x95\xb0\xe9\207\x8f\357\274\x9a {$total}"); $requests = function ($total) { foreach ($this->arr_req_code_36 as $key => $item) { $uri = $this->sp_uri . $item; echo "[\xe5\275\223\xe5\211\x8d({$key}) \346\200\xbb\346\225\xb0({$total})| =({$item})-|]"; (yield new Request("GET", $uri)); } }; $this->sprequests = $requests($total); return true; } public function prepare_movie_rquests($requrl, $remove404 = 0) { $this->info("GET: {$requrl}  before sql"); $this->check_hosturl($requrl); $sql = "select   DISTINCT(censored_id) from avbook_avmoo_movie "; $this->info($sql); $result_code_avmoo = $this->database->query($sql)->fetchAll(\PDO::FETCH_COLUMN, 0); $sql = "select   DISTINCT(censored_id) from avbook_javbus_movie"; $this->info($sql); $result_code_javbus = $this->database->query($sql)->fetchAll(\PDO::FETCH_COLUMN, 0); $this->info("javbus \xe7\x94\265\xe5\xbd\261 \xe6\x95\xb0\xe9\207\217\xef\274\232" . count($result_code_javbus)); $sql = "SELECT censored_id,COUNT(censored_id) as c FROM `avbook_avmoo_movie`  GROUP BY censored_id  HAVING c>1  "; $this->info($sql); $result_more = $this->database->query($sql)->fetchAll(); $this->info("avmoo censored_id \xe9\207\x8d\345\244\x8d\xe7\224\265\xe5\xbd\xb1\346\225\260\351\x87\217\357\xbc\x9a" . count($result_more)); foreach ($result_more as $value) { for ($i = 0; $i < intval($value[1]); $i++) { $end = $i + 1; $result_code_avmoo[] = $value[0] . "-" . $end; } } $this->info("avmoo \xe7\x94\xb5\xe5\xbd\xb1 \xe6\225\260\351\207\217\xef\xbc\232" . count($result_code_avmoo)); $result_dif = array_diff($result_code_avmoo, $result_code_javbus); if ($remove404 == 1) { $sql = "select  code_36 from avbook_crawler_404 where intable_name = '{$this->in_table_name}'  and checkdata = 1"; $this->info($sql); $table_code_36_404 = $this->database->query($sql)->fetchAll(\PDO::FETCH_COLUMN, 0); $result_dif = array_diff($result_dif, $table_code_36_404); } $this->arr_req_code_36 = array_values($result_dif); $total = count($this->arr_req_code_36); if ($total == 0) { $this->warn("{$this->start_type} \346\xb2\241\346\x9c\211\xe5\242\236\351\207\x8f\xe6\x9b\264\346\226\260"); return false; } $this->info("{$this->start_type} \xe5\x8d\207\xe7\xba\xa7\xe6\225\xb0\xe9\x87\x8f\357\274\232 {$total}"); $requests = function ($total) { foreach ($this->arr_req_code_36 as $key => $item) { $uri = "https://" . $this->sphost . "/" . $item; echo "[\345\275\x93\xe5\211\215({$key}) \346\x80\xbb\xe6\225\260({$total})| =({$item})-|]"; (yield new Request("GET", $uri)); } }; $this->sprequests = $requests($total); return true; } public function prepare_mag_rquests($requrl, $pagenum = 1) { $this->update_ja_code_36("avbook_javbus_movie", "avbook_avmoo_movie"); $this->check_hosturl($requrl); if ($pagenum == 0) { $sql = "select   DISTINCT(gid)    from {$this->table_prefix}movie   "; $this->info($sql); $table_code_36 = $this->database->query($sql)->fetchAll(\PDO::FETCH_COLUMN, 0); $this->arr_req_code_36 = array_values($table_code_36); } else { $slimit = "  ORDER BY t1.magnet_date desc LIMIT " . $pagenum * 30; $sql = "SELECT  t2.gid FROM avbook_avmoo_movie t1 LEFT JOIN  avbook_javbus_movie t2 on t1.code_36 = t2.avmoo_code_36  {$slimit} "; $this->info($sql); $table_code_36 = $this->database->query($sql)->fetchAll(\PDO::FETCH_COLUMN, 0); $this->arr_req_code_36 = array_values($table_code_36); } $total = count($this->arr_req_code_36); if ($total == 0) { $this->warn("{$this->start_type} \xe6\262\xa1\346\234\211\345\242\236\xe9\x87\x8f\346\233\xb4\xe6\x96\xb0"); return false; } $this->info("{$this->start_type} \xe5\215\207\xe7\272\247\346\225\xb0\xe9\x87\217\xef\xbc\232 {$total}"); $requests = function ($total) { foreach ($this->arr_req_code_36 as $key => $item) { $uri = "https://" . $this->sphost . "/ajax/uncledatoolsbyajax.php?gid=" . $item . "&lang=zh&img=https://pics.javcdn.pw/cover/72z3_b.jpg&uc=0&floor=601"; echo "[\xe5\xbd\223\xe5\x89\215({$key}) \346\x80\273\xe6\x95\xb0({$total})| =({$item})-|]"; (yield new Request("GET", $uri)); } }; $this->sprequests = $requests($total); return true; } public function get_info_en_star($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "UTF-8", $this->spcharset); if (strpos($content, "</html>") === false) { echo "\351\241\xb5\351\235\xa2\344\270\x8d\xe5\xae\214\xe6\225\xb4"; return null; } $arr_data = array(); $s = "#<a href="" . $this->hosturl . "star/(.*?)">English</a>#"; preg_match($s, $content, $out); if (empty($out[1])) { return null; } else { $arr_data["code_36"] = $out[1]; $arr_data["code_10"] = base_convert($arr_data["code_36"], 36, 10); } preg_match("#<span class="pb10">(.*?)</span>#", $content, $out); $arr_data["star_name"] = empty($out[1]) ? '' : $out[1]; preg_match("#"https://pics.javcdn.pw/actress/(.*?)"#", $content, $out); $arr_data["star_pic"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>D.O.B: (.*?)</p>#", $content, $out); $arr_data["star_birthday"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>Age: (.*?)</p>#", $content, $out); $arr_data["star_age"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>Cup: (.*?)</p>#", $content, $out); $arr_data["star_cupsize"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>Height: (.*?)cm</p>#", $content, $out); $arr_data["star_height"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>Bust: (.*?)cm</p>#", $content, $out); $arr_data["star_bust"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>Waist: (.*?)cm</p>#", $content, $out); $arr_data["star_waist"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>Hips: (.*?)cm</p>#", $content, $out); $arr_data["star_hip"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>Hometown: (.*?)</p>#", $content, $out); $arr_data["hometown"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>Hobby: (.*?)</p>#", $content, $out); $arr_data["hobby"] = empty($out[1]) ? '' : $out[1]; return $arr_data; } public function get_info_star($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "UTF-8", $this->spcharset); if (strpos($content, "</html>") === false) { echo "\xe9\xa1\265\xe9\x9d\242\xe4\xb8\x8d\345\256\x8c\xe6\225\264"; return null; } $arr_data = array(); $s = "#<a href="" . $this->hosturl . "star/(.*?)">\344\xb8\xad\xe6\226\x87</a>#"; preg_match($s, $content, $out); if (empty($out[1])) { return null; } else { $arr_data["code_36"] = $out[1]; $arr_data["code_10"] = base_convert($arr_data["code_36"], 36, 10); } preg_match("#<span class="pb10">(.*?)</span>#", $content, $out); $arr_data["star_name"] = empty($out[1]) ? '' : $out[1]; preg_match("#"https://pics.javcdn.pw/actress/(.*?)"#", $content, $out); $arr_data["star_pic"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>\xe7\224\x9f\346\227\xa5: (.*?)</p>#", $content, $out); $arr_data["star_birthday"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>\345\xb9\264\xe9\xbd\241: (.*?)</p>#", $content, $out); $arr_data["star_age"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>\347\275\251\346\235\xaf: (.*?)</p>#", $content, $out); $arr_data["star_cupsize"] = empty($out[1]) ? '' : $out[1]; preg_match("#\350\xba\253\xe9\253\x98: (.*?)cm</p>#", $content, $out); $arr_data["star_height"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>\350\203\270\xe5\x9c\215: (.*?)cm</p>#", $content, $out); $arr_data["star_bust"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>\350\x85\xb0\xe5\234\215: (.*?)cm</p>#", $content, $out); $arr_data["star_waist"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>\350\x87\x80\345\234\x8d: (.*?)cm</p>#", $content, $out); $arr_data["star_hip"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>\345\207\272\347\224\x9f\345\x9c\260: (.*?)</p>#", $content, $out); $arr_data["hometown"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p>\346\x84\233\345\245\275: (.*?)</p>#", $content, $out); $arr_data["hobby"] = empty($out[1]) ? '' : $out[1]; return $arr_data; } public function get_info_series($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "UTF-8", $this->spcharset); if (strpos($content, "</html>") === false) { echo "\351\241\265\351\x9d\xa2\344\270\215\xe5\xae\214\346\x95\264"; return null; } $arr_data = array(); $s = "#<a href="" . $this->hosturl . "series/(.*?)">\344\270\xad\xe6\x96\x87</a>#"; preg_match($s, $content, $out); if (empty($out[1])) { return null; } else { $arr_data["code_36"] = $out[1]; $arr_data["code_10"] = base_convert($arr_data["code_36"], 36, 10); } preg_match("#<title>(.*?) - \347\xb3\xbb\345\210\227 - \345\275\261\347\x89\x87</title>#", $content, $out); $arr_data["series_name"] = empty($out[1]) ? '' : $out[1]; return $arr_data; } public function get_info_studio($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "UTF-8", $this->spcharset); if (strpos($content, "</html>") === false) { echo "\351\xa1\265\351\x9d\242\xe4\270\215\345\256\x8c\346\225\264"; return null; } $arr_data = array(); $s = "#<a href="" . $this->hosturl . "studio/(.*?)">\xe4\xb8\xad\xe6\226\x87</a>#"; preg_match($s, $content, $out); if (empty($out[1])) { return null; } else { $arr_data["code_36"] = $out[1]; $arr_data["code_10"] = base_convert($arr_data["code_36"], 36, 10); } preg_match("#<title>(.*?) - \350\xa3\275\344\275\234\345\225\x86 - \345\xbd\261\347\211\x87</title>#", $content, $out); $arr_data[$this->start_type . "_name"] = empty($out[1]) ? '' : $out[1]; return $arr_data; } public function get_info_director($response, $c_36 = '') { } public function get_info_magnet($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "UTF-8", $this->spcharset); $need_hd = "\345\x8c\205\xe5\x90\xab\xe9\xab\x98\xe6\xb8\205HD\347\232\204\347\xa3\x81\345\x8a\x9b\xe9\x80\xa3\347\265\220"; $need_sub = "\xe5\214\205\xe5\x90\xab\xe5\255\x97\345\271\x95\347\x9a\204\xe7\243\x81\345\212\233\xe9\x80\243\xe7\265\220"; $mg_arr = array(); preg_match_all("#<tr onmouseover="this.style.backgroundColor=[\s\S]*?\xe6\273\x91\351\xbc\240\345\x8f\263\351\x8d\xb5\xe9\xbb\x9e\xe6\x93\x8a\344\270\xa6\351\x81\270\xe6\x93\207\343\x80\220\xe8\244\207\350\xa3\xbd\351\x80\xa3\xe7\265\x90\xe7\266\xb2\345\235\200\343\200\221" href="(.*?)">[\s]*?(.*?)</a>[\s]*?</td>[\s\S]*?\xe3\200\x90\350\244\x87\xe8\xa3\xbd\351\x80\243\xe7\xb5\x90\347\266\262\xe5\x9d\200\xe3\200\221" href="magnet[\s\S]*?">[\s]*?(.*?)</a>[\s]*?</td>[\s\S]*?\343\x80\x90\350\xa4\207\xe8\xa3\xbd\351\x80\xa3\347\265\x90\xe7\266\xb2\xe5\235\x80\xe3\200\221" href="magnet[\s\S]*?xt=urn:btih:(.*?)&[\s\S]*?">[\s]*?(.*?)</a>[\s]*?</td>#", $content, $out); if (!empty($out[2])) { foreach ($out[2] as $key => $value) { $temp_arr = array(); $have_hd = 0; $have_sub = 0; if (strpos($value, $need_hd)) { $have_hd = 1; $value = str_replace("<a class="btn btn-mini-new btn-primary disabled" title="\345\214\x85\345\x90\253\xe9\253\x98\xe6\xb8\205HD\347\232\x84\347\243\x81\345\212\x9b\351\x80\xa3\347\265\x90">\351\253\230\346\xb8\205</a>", '', $value); } if (strpos($value, $need_sub)) { $have_sub = 1; $value = str_replace("<a class="btn btn-mini-new btn-warning disabled" title="\345\214\205\345\220\xab\xe5\255\227\345\xb9\225\347\232\204\347\xa3\x81\345\212\x9b\xe9\x80\243\347\xb5\x90">\345\255\x97\345\xb9\x95</a>", '', $value); } $temp_arr["gid"] = $c_36; $xt = trim($out[4][$key]); $temp_arr["magnet_xt"] = $xt; $temp_arr["magnet_name"] = trim($value); $temp_arr["magnet_type"] = trim($out[3][$key]); $temp_arr["magnet_date"] = trim($out[5][$key]); $temp_arr["have_hd"] = $have_hd; $temp_arr["have_sub"] = $have_sub; $mg_arr[] = $temp_arr; } } return $mg_arr; } public $magnet_time = 1; public function get_info_page($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "UTF-8", $this->spcharset); $dom = new \DOMDocument(); @$dom->loadHTML($content); $dom->normalize(); $xpath = new \DOMXPath($dom); $nodeList = $xpath->query("//*[@class="photo-info"]"); $need_hd = "\345\x8c\x85\xe5\220\xab\xe9\253\x98\346\xb8\x85HD\xe7\x9a\204\xe7\xa3\x81\345\x8a\x9b\351\200\xa3\347\xb5\220"; $need_sub = "\xe5\214\205\345\x90\xab\345\255\227\345\xb9\225\xe7\232\204\xe7\243\201\345\x8a\x9b\351\x80\243\xe7\xb5\x90"; $t_i = 0; foreach ($nodeList as $node) { $str_node = $dom->saveHTML($node); preg_match_all("#<date>(.*?)</date>#", $str_node, $outid); if (!empty($outid[1][0])) { $sadd = ''; if (strpos($str_node, $need_hd)) { $sadd .= ",have_hd=1"; } if (strpos($str_node, $need_sub)) { $sadd .= ",have_sub=1"; } $t_i = $t_i + 1; $m_time = $this->magnet_time - $c_36 * 30 - $t_i; $t = date("Y-m-d H:i:s", $m_time); $ssql = " update avbook_avmoo_movie set magnet_date = '{$t}', have_mg = 1 {$sadd}  where censored_id ='{$outid[1][0]}'"; $this->database->query($ssql); } } } public function get_info_movie($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "UTF-8", $this->spcharset); $arr_data = array(); preg_match("#var gid = (.*?);#", $content, $out); $arr_data["gid"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p><span class="header">\xe8\xad\x98\xe5\210\245\xe7\xa2\274:</span> <span style="color:\#CC0000;">(.*?)</span>#", $content, $out); $arr_data["censored_id"] = empty($out[1]) ? '' : $out[1]; $censored_id = $out[1]; if (empty($out[1])) { return null; } preg_match("#<h3>(.*?)</h3>#", $content, $out); $arr_data["movie_title"] = empty($out[1]) ? '' : trim(str_replace($censored_id, '', $out[1])); preg_match("#<a class="bigImage" href="(.*?)"><img src="#", $content, $out); $arr_data["movie_pic_cover"] = empty($out[1]) ? '' : str_replace("https://pics.dmm.co.jp/digital/video/", '', $out[1]); preg_match("#<span class="header">\347\231\xbc\350\xa1\214\xe6\x97\xa5\xe6\x9c\237:</span> (.*?)</p>#", $content, $out); $arr_data["release_date"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p><span class="header">\xe9\225\267\xe5\xba\xa6:</span> (.*?)</p>#", $content, $out); $arr_data["movie_length"] = empty($out[1]) ? '' : str_replace("\xe5\210\206\351\220\230", '', $out[1]); preg_match("#<p><span class="header">\345\xb0\216\346\xbc\x94:</span> <a href="" . $this->hosturl . "director/(.*?)">#", $content, $out); $arr_data["Director"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p><span class="header">\350\xa3\275\xe4\275\x9c\345\x95\206:</span> <a href="" . $this->hosturl . "studio/(.*?)">#", $content, $out); $arr_data["Studio"] = empty($out[1]) ? '' : $out[1]; preg_match("#<p><span class="header">\347\x99\274\350\241\x8c\xe5\225\206:</span> <a href="" . $this->hosturl . "label/(.*?)">#", $content, $out); $arr_data["Label"] = empty($out[1]) ? '' : $out[1]; preg_match_all("#<p><span class="header">\347\xb3\273\345\x88\x97:</span> <a href="" . $this->hosturl . "series/(.*?)">#", $content, $out); $arr_data["Series"] = empty($out[1]) ? '' : implode(",", $out[1]); preg_match_all("#<span class="genre"><a href="" . $this->hosturl . "genre/(.*?)">#", $content, $out); $arr_data["Genre"] = empty($out[1]) ? '' : "[" . implode("][", $out[1]) . "]"; preg_match_all("#<a href="" . $this->hosturl . "star/(.*?)"><img src=#", $content, $out); $arr_data["JAV_Idols"] = empty($out[1]) ? '' : "[" . implode("][", $out[1]) . "]"; preg_match_all("#<a class="sample-box" href="(.*?)"><div class="photo-frame">#", $content, $out); if (empty($out[1])) { preg_match_all("#<div class="photo-frame"><img src="(.*?)" title#", $content, $out); if (empty($out[1])) { $arr_data["sample_dmm"] = "0"; } else { $arr_data["sample_dmm"] = str_replace("https://pics.dmm.co.jp/digital/video/", '', $out[1][0]) . "|" . count($out[1]); } } else { $arr_data["sample_dmm"] = str_replace("https://pics.dmm.co.jp/digital/video/", '', $out[1][0]) . "|" . count($out[1]); } preg_match_all("#class="movie-box" href="" . $this->hosturl . "(.*?)" style="display:inline-block; margin:5px;">#", $content, $out); $arr_data["Similar"] = empty($out[1]) ? '' : "[" . implode("][", $out[1]) . "]"; return $arr_data; } } ?>

Did this file decode correctly?

Original Code

<?php
 namespace App\Console\Commands; use GuzzleHttp\Psr7\Request; class JavbusCrawler extends BaseCrawler { protected $signature = "\141\x76\142\x6f\x6f\153\x3a\x6a\x61\x76\142\x75\x73\x20\x7b\x2d\x2d\155\x6f\166\151\x65\x69\x64\75\x7d\40\x7b\55\x2d\155\x61\x67\156\145\164\151\144\x3d\175\x20\x7b\x2d\55\155\157\x76\151\x65\155\x61\x78\75\61\x32\x30\x7d\x20\173\55\x2d\x6d\157\166\x69\x65\x34\x30\64\75\x31\x7d\x20\173\x2d\55\x6d\x6f\x76\151\145\75\x7d\x20\173\55\x2d\x70\x61\x67\x65\x3d\175\x20\x7b\x2d\x2d\x6d\x61\147\160\x61\147\145\x3d\175\x20\173\55\x2d\147\145\x6e\x72\145\75\x7d"; protected $description = "\112\141\x76\142\165\x73\x2e\x63\157\155\x20\103\x72\x61\167\x6c\145\x72\40"; public function __construct() { parent::__construct(); } public function handle_all_movie($moviemax = 300, $movie404 = 0) { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["\x6a\x61\166\x62\165\x73\x68\157\163\x74"]; $this->hosturl = "\150\x74\164\x70\163\x3a\57\57{$this->sphost}\57"; $start_type = "\x6d\157\166\x69\x65"; $cki = "\137\x5f\143\146\144\165\x69\x64\75\141\142\142\63\64\61\x38\x36\x61\70\70\x63\x66\x38\x37\141\x38\143\146\x33\62\145\x34\144\x62\x62\144\x36\142\x30\66\x37\x39\x31\x34\x37\62\61\x30\70\61\70\67" . '' . "\x3b\40\x65\170\151\x73\164\155\x61\147\x3d\x61\154\154\x3b\x20\141\160\160\x61\x64\75\157\146\146\x3b\40\143\156\x61\144\x64\65\75\157\x66\x66\x3b\40\120\110\x50\123\105\x53\123\111\x44\x3d\x62\x38\63\154\x33\157\x37\144\60\x70\163\x33\x34\x65\61\x34\x66\63\x78\x78\170\170" . rand(1000, 9999); $headers = array("\x48\157\163\164" => $this->sphost, "\x41\143\143\x65\x70\164\55\105\156\x63\x6f\144\151\156\x67" => "\x67\172\x69\x70\54\x20\144\x65\146\154\141\164\x65", "\x52\x65\146\145\162\145\x72" => $this->hosturl, "\125\163\x65\x72\x2d\x41\147\x65\x6e\x74" => "\x4d\157\x7a\x69\154\x6c\x61\57\65\x2e\x30\x20\x28\x57\151\156\144\x6f\x77\163\40\x4e\x54\x20\x36\x2e\x31\x3b\x20\x57\117\x57\66\x34\x3b\x20\x72\166\x3a\x34\62\56\x30\51\40\107\x65\143\153\x6f\57\x32\x30\x31\x30\60\x31\x30\x31\40\x46\x69\x72\x65\x66\157\170\x2f\x34\x32\x2e\x30", "\101\x63\143\145\x70\164" => "\164\145\x78\164\57\x68\164\155\x6c\54\x61\x70\160\154\151\x63\141\164\151\157\x6e\x2f\170\x68\x74\155\154\53\170\155\154\x2c\141\x70\x70\154\151\x63\x61\x74\x69\x6f\x6e\x2f\x78\155\x6c\73\161\x3d\60\56\71\x2c\52\x2f\52\73\x71\75\x30\x2e\x38", "\101\x63\143\x65\160\164\x2d\114\x61\x6e\147\x75\141\147\x65" => "\172\150\55\103\x4e\54\x7a\x68\73\161\x3d\x30\x2e\71\54\145\x6e\73\x71\75\x30\x2e\70", "\103\157\157\153\151\145" => $cki, "\103\157\156\156\145\143\164\151\157\156" => "\153\x65\x65\160\x2d\141\154\x69\x76\145", "\103\x61\x63\x68\145\x2d\103\x6f\x6e\x74\x72\157\154" => "\155\141\x78\55\x61\x67\145\x3d\x30"); $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $r = $this->prepare_movie_rquests("\x68\164\x74\x70\x73\72\x2f\x2f{$this->sphost}\57\x41\126\x4f\x50\55\64\x30\x34", $movie404); if ($r) { $this->start_spider($moviemax); } } public function handle_movie($movieid) { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["\152\x61\x76\142\x75\x73\x68\x6f\x73\164"]; $this->hosturl = "\x68\x74\164\160\x73\x3a\x2f\57{$this->sphost}\57"; $start_type = "\x6d\157\x76\x69\145"; $cki = "\137\x5f\143\x66\144\x75\151\x64\75\x61\142\x62\63\64\x31\70\66\x61\x38\70\x63\x66\x38\67\x61\x38\143\146\x33\x32\x65\64\x64\x62\x62\x64\x36\x62\x30\x36\x37\x39\x31\x34\x37\x32\x31\60\x38\x31\70\x37" . '' . "\x3b\x20\x65\x78\151\x73\x74\x6d\141\x67\x3d\x61\x6c\154\73\x20\x61\x70\160\141\144\75\x6f\x66\x66\73\x20\x63\x6e\x61\x64\x64\65\x3d\157\146\x66\x3b\x20\120\x48\120\x53\x45\123\123\111\104\x3d\x62\70\x33\x6c\x33\x6f\x37\144\x30\160\x73\x33\x34\145\x31\x34\146\63\170\x78\170\x78" . rand(1000, 9999); $headers = array("\x48\x6f\163\x74" => $this->sphost, "\101\x63\143\x65\x70\x74\55\x45\156\143\x6f\x64\151\x6e\x67" => "\x67\x7a\x69\x70\54\x20\x64\x65\146\x6c\141\x74\145", "\122\145\x66\145\x72\145\x72" => $this->hosturl, "\125\163\x65\x72\x2d\x41\147\145\x6e\164" => "\115\157\172\x69\x6c\154\x61\57\65\x2e\x30\x20\x28\127\x69\156\x64\x6f\167\163\40\116\x54\40\x36\x2e\x31\x3b\x20\127\x4f\x57\x36\64\x3b\x20\162\x76\72\64\x32\56\60\x29\x20\x47\145\x63\x6b\x6f\57\62\x30\61\60\x30\x31\60\61\x20\x46\151\162\145\146\157\x78\x2f\64\x32\56\60", "\x41\143\x63\145\160\x74" => "\164\145\x78\x74\57\x68\164\x6d\x6c\x2c\x61\160\160\154\151\143\141\164\151\x6f\x6e\57\x78\150\164\x6d\154\53\170\x6d\154\54\141\160\160\x6c\x69\x63\x61\x74\151\x6f\156\57\170\155\x6c\73\x71\75\60\x2e\x39\54\52\57\52\x3b\161\75\60\56\70", "\101\143\x63\145\160\x74\x2d\114\141\156\x67\165\x61\x67\x65" => "\x7a\x68\x2d\x43\116\x2c\172\x68\73\161\75\x30\56\71\54\x65\156\x3b\161\75\x30\x2e\70", "\x43\x6f\157\153\151\145" => $cki, "\x43\157\x6e\x6e\x65\x63\x74\x69\x6f\156" => "\x6b\145\145\x70\55\141\154\151\x76\145", "\x43\x61\143\x68\x65\55\103\x6f\156\x74\162\x6f\x6c" => "\155\x61\170\x2d\x61\x67\145\x3d\60"); $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $requrl = "\150\164\164\160\163\x3a\x2f\57{$this->sphost}\57{$movieid}"; $response = $this->spclient->get($requrl); $code = $response->getStatusCode(); if ($code == 200) { $func_name = $this->func_get_info_name; $data = $this->{$func_name}($response); if (!empty($data)) { $this->database->insert($this->in_table_name, $data); $this->handle_magnet($data["\x67\151\x64"]); } else { } } else { echo "{$code}"; } } public function handle_page($gid) { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["\x6a\141\x76\142\x75\163\x68\157\x73\x74"]; $this->hosturl = "\x68\x74\164\160\163\x3a\57\57{$this->sphost}\57"; $start_type = "\160\x61\x67\x65"; $cki = "\137\137\143\x66\144\165\151\144\x3d\141\x62\142\63\64\x31\70\x36\141\x38\70\x63\146\70\x37\141\70\x63\146\63\x32\145\x34\144\x62\x62\x64\x36\142\x30\x36\x37\71\61\x34\67\62\x31\x30\70\x31\x38\67" . '' . "\73\x20\145\x78\151\x73\164\155\141\147\75\141\154\154\73\40\141\x70\x70\x61\x64\75\157\146\146\x3b\x20\x63\x6e\x61\144\x64\x35\x3d\x6f\x66\146\73\x20\x50\x48\120\123\x45\123\x53\x49\x44\75\142\x38\63\154\x33\x6f\x37\144\x30\x70\163\63\64\145\x31\x34\146\63\170\x78\x78\170" . rand(1000, 9999); $headers = array("\x48\x6f\163\164" => $this->sphost, "\x41\143\x63\x65\x70\164\x2d\x45\x6e\143\157\144\151\x6e\147" => "\x67\172\x69\160\54\x20\144\x65\146\x6c\x61\x74\145", "\x52\145\x66\x65\x72\145\162" => $this->hosturl, "\125\163\145\162\x2d\x41\147\145\156\x74" => "\x4d\x6f\x7a\x69\154\x6c\141\57\65\x2e\60\x20\x28\x57\x69\156\144\x6f\167\x73\40\116\x54\40\66\56\x31\x3b\x20\127\x4f\x57\66\x34\73\40\162\166\72\x34\62\x2e\x30\51\40\x47\x65\x63\153\x6f\x2f\x32\x30\61\60\60\x31\60\61\x20\x46\x69\x72\x65\146\x6f\170\57\64\x32\56\60", "\x41\x63\143\145\x70\164" => "\164\145\x78\x74\x2f\150\164\x6d\x6c\x2c\x61\x70\x70\154\x69\143\x61\164\x69\x6f\x6e\57\170\x68\164\155\154\x2b\x78\x6d\x6c\x2c\141\x70\x70\x6c\151\x63\x61\x74\151\x6f\x6e\x2f\x78\155\x6c\73\161\75\x30\x2e\x39\54\52\x2f\52\x3b\x71\x3d\60\56\x38", "\101\143\x63\145\x70\x74\x2d\114\141\156\x67\x75\x61\147\x65" => "\x7a\x68\55\103\116\x2c\172\x68\x3b\161\75\60\x2e\71\54\x65\x6e\x3b\x71\75\60\56\x38", "\x43\x6f\x6f\x6b\x69\145" => $cki, "\103\x6f\156\156\145\143\164\151\157\156" => "\x6b\x65\x65\160\x2d\141\x6c\151\166\x65", "\103\141\143\150\145\x2d\103\x6f\x6e\x74\162\x6f\x6c" => "\155\141\x78\55\x61\x67\145\75\60"); $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $r = $this->prepare_page_rquests("\150\x74\164\160\163\72\57\57{$this->sphost}\x2f\160\x61\x67\x65\x2f\61", 1); if ($r) { $this->start_spider(200); } } public function handle_all_page($pagenum = 10, $genre = '') { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["\x6a\x61\166\x62\x75\163\x68\x6f\x73\x74"]; $this->hosturl = "\150\164\x74\x70\163\72\57\x2f{$this->sphost}\57"; $start_type = "\160\x61\147\x65"; $cki = "\137\x5f\x63\146\x64\165\x69\144\x3d\141\x62\142\63\64\x31\70\66\x61\70\70\143\x66\70\x37\x61\x38\143\146\x33\x32\x65\64\144\142\142\144\66\142\60\x36\67\71\61\64\x37\x32\x31\60\70\x31\x38\67" . '' . "\73\x20\145\170\151\163\x74\x6d\141\x67\75\x6d\x61\147\x3b\x20\x61\160\160\141\x64\x3d\157\x66\x66\73\x20\x63\x6e\x61\144\x64\65\x3d\157\x66\x66\x3b\x20\x50\x48\120\123\105\x53\x53\111\104\x3d\142\70\63\x6c\x33\x6f\67\144\x30\x70\x73\63\x34\x65\x31\x34\x66\63\x78\x78\x78\x78" . rand(1000, 9999); $headers = array("\110\x6f\163\164" => $this->sphost, "\x41\143\143\145\160\x74\55\x45\x6e\143\x6f\x64\151\156\x67" => "\x67\172\x69\160\x2c\40\144\145\x66\154\141\164\x65", "\x52\x65\146\x65\x72\x65\x72" => $this->hosturl, "\x55\163\145\x72\55\x41\147\145\156\164" => "\115\157\172\151\x6c\154\x61\x2f\x35\x2e\x30\40\50\127\x69\156\144\157\167\163\x20\116\x54\40\x36\x2e\x31\x3b\40\x57\117\x57\x36\64\73\40\x72\166\72\64\x32\x2e\x30\x29\x20\x47\x65\x63\153\x6f\57\x32\60\x31\60\60\61\60\61\40\106\151\162\145\x66\157\170\57\x34\62\56\x30", "\101\143\x63\145\x70\x74" => "\164\145\x78\164\x2f\x68\164\x6d\154\54\141\x70\160\154\151\143\x61\x74\151\157\156\x2f\170\x68\164\155\x6c\53\170\x6d\x6c\54\141\x70\160\154\151\x63\141\x74\151\x6f\x6e\x2f\170\155\154\73\x71\x3d\x30\x2e\x39\x2c\52\x2f\52\73\161\x3d\x30\56\70", "\x41\x63\x63\145\160\x74\55\x4c\x61\156\147\165\141\147\145" => "\172\150\x2d\x43\116\x2c\172\x68\73\x71\75\60\56\71\54\145\156\x3b\x71\75\x30\x2e\70", "\x43\157\x6f\153\x69\145" => $cki, "\x43\x6f\156\x6e\x65\143\x74\x69\157\156" => "\x6b\145\145\160\x2d\141\x6c\151\x76\x65", "\x43\x61\x63\x68\x65\55\103\x6f\156\x74\162\157\154" => "\x6d\x61\170\55\x61\x67\145\75\x30"); $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $r = $this->prepare_page_rquests("\x68\x74\x74\x70\x73\72\57\x2f{$this->sphost}\57\160\141\x67\x65\x2f\x31", $pagenum, $genre); if ($r) { $this->start_spider(intval($this->option("\155\x6f\x76\151\145\x6d\x61\170"))); } } public function handle_all_magnet($pagenum = 1) { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["\152\141\166\x62\165\x73\150\x6f\163\x74"]; $this->hosturl = "\x68\164\164\160\x73\72\57\57{$this->sphost}\x2f"; $start_type = "\155\141\147\156\145\164"; $headers = array("\x61\143\143\145\x70\x74" => "\40\52\57\x2a", "\141\143\x63\145\160\x74\55\145\156\x63\x6f\x64\x69\x6e\x67" => "\x20\147\x7a\151\x70\54\x20\x64\x65\x66\154\141\x74\x65", "\141\x63\x63\x65\x70\164\55\x6c\x61\156\x67\x75\x61\x67\145" => "\x20\x7a\150\55\103\116\54\x7a\150\73\161\75\x30\56\71\54\145\x6e\73\x71\75\x30\56\70", "\x63\x6f\157\x6b\151\145" => "\40\137\137\143\x66\x64\165\x69\x64\x3d\144\x38\61\143\143\x38\70\142\x32\x33\x65\71\x30\62\x38\x65\71\x36\x61\67\x31\x36\x33\141\142\70\x37\67\63\x39\x35\x31\x39\61\x35\x35\65\x36\x30\62\65\x32\66\73\x20\x73\x74\141\x72\151\x6e\146\x6f\x3d\147\x6c\x79\160\150\x69\x63\x6f\156\45\62\60\147\x6c\x79\x70\150\x69\x63\157\156\55\x70\154\165\x73\x3b\40\x65\170\x69\x73\164\x69\163\147\x65\156\x72\145\163\75\x67\162\137\163\151\x6e\147\154\145\x3b\x20\145\x78\151\163\164\155\x61\x67\x3d\x6d\x61\147\73\x20\x34\146\x4a\116\137\x32\61\63\62\x5f\163\x61\x6c\x74\x6b\145\x79\x3d\x47\x6a\64\x79\110\x73\124\x73\73\x20\64\x66\x4a\116\x5f\x32\61\63\x32\137\x6c\141\x73\164\166\151\x73\151\164\x3d\x31\65\x35\x35\x36\x38\61\71\71\70\73\40\x50\x48\x50\x53\105\123\123\111\104\x3d\161\155\60\144\x75\64\x32\70\x6f\x30\x37\x6a\162\x33\x75\x6a\x6c\x6a\146\144\x33\x74\x31\x76\142\x31", "\162\145\x66\x65\162\x65\x72" => "\x20" . $this->hosturl . "\x2f\x53\107\x41\x2d\x31\62\x38", "\x75\163\145\x72\x2d\141\147\x65\156\164" => "\40\x4d\157\172\151\154\154\141\57\65\x2e\x30\x20\50\x57\151\156\x64\x6f\167\163\x20\116\x54\40\61\60\56\x30\x3b\x20\x57\117\127\x36\x34\51\x20\x41\160\160\154\x65\x57\x65\142\x4b\x69\164\57\x35\63\x37\x2e\63\66\40\50\x4b\x48\x54\115\x4c\x2c\x20\x6c\x69\153\x65\x20\107\x65\x63\153\x6f\51\x20\103\150\162\157\x6d\x65\57\x37\62\56\60\56\x33\x36\x32\66\56\70\61\x20\x53\x61\146\141\162\x69\57\x35\63\x37\56\x33\66", "\x78\x2d\162\145\x71\x75\x65\x73\164\x65\144\x2d\167\x69\x74\x68" => "\40\x58\x4d\114\x48\164\x74\160\122\x65\x71\165\145\x73\164"); $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $requrl = "{$this->hosturl}\x61\x6a\x61\x78\57\x75\156\x63\154\145\144\141\164\157\157\154\x73\142\171\141\152\141\170\56\x70\x68\x70\77\147\151\144\x3d\63\x39\71\x30\x38\60\71\67\x37\64\x35\46\154\x61\156\147\75\x7a\150\46\x69\155\x67\x3d\150\164\164\x70\x73\72\x2f\x2f\160\x69\x63\163\x2e\x6a\x61\166\x63\x64\156\56\160\x77\x2f\x63\157\166\x65\x72\57\x37\x32\61\141\137\x62\x2e\x6a\160\x67\x26\x75\x63\75\x30\46\146\154\157\x6f\162\75\66\x39\65"; $r = $this->prepare_mag_rquests($requrl, $pagenum); if ($r) { $this->start_spider(intval($this->option("\155\157\x76\x69\145\x6d\141\x78"))); } } public function handle_magnet($gid) { $cf = \App\Tools\CrawlerUpdate::get_crawler_config(); $this->sphost = $cf["\x6a\141\166\142\165\163\x68\157\x73\x74"]; $this->hosturl = "\x68\164\164\160\x73\x3a\x2f\x2f{$this->sphost}\x2f"; $start_type = "\x6d\x61\x67\156\x65\x74"; $headers = array("\141\x63\x63\x65\x70\x74" => "\x20\52\x2f\52", "\141\x63\143\145\160\164\x2d\145\x6e\143\157\144\x69\156\x67" => "\x20\x67\x7a\x69\x70\54\40\144\x65\146\154\x61\x74\x65", "\x61\143\143\145\x70\x74\x2d\154\x61\x6e\147\165\141\x67\145" => "\x20\x7a\150\55\103\x4e\54\172\x68\73\161\x3d\60\x2e\x39\x2c\x65\156\73\161\x3d\x30\x2e\70", "\x63\x6f\x6f\153\151\145" => "\40\x5f\137\x63\146\x64\x75\x69\144\x3d\144\x38\x31\143\143\x38\x38\x62\x32\63\145\x39\x30\62\70\x65\71\x36\x61\67\61\66\x33\141\142\x38\x37\67\63\71\65\61\x39\61\65\x35\x35\x36\x30\x32\x35\x32\x36\x3b\x20\x73\164\141\162\x69\x6e\146\157\75\x67\154\x79\x70\x68\151\143\x6f\156\x25\x32\60\147\x6c\171\160\150\x69\143\x6f\x6e\x2d\x70\x6c\x75\163\x3b\x20\x65\x78\x69\163\164\x69\x73\x67\x65\x6e\162\x65\163\x3d\147\162\x5f\163\151\x6e\147\154\x65\73\40\145\x78\x69\163\164\155\x61\x67\x3d\x6d\x61\147\73\x20\x34\146\x4a\x4e\x5f\62\61\63\x32\x5f\163\141\154\164\x6b\x65\x79\75\107\x6a\x34\171\x48\163\124\163\x3b\40\x34\146\112\116\x5f\x32\61\63\x32\137\154\141\x73\164\x76\x69\163\x69\164\75\61\x35\x35\x35\x36\x38\x31\x39\x39\x38\73\x20\120\110\x50\123\105\123\123\111\x44\x3d\x71\x6d\x30\144\165\x34\62\70\157\60\67\x6a\x72\63\165\152\x6c\152\146\144\63\x74\61\x76\142\x31", "\x72\145\x66\x65\162\x65\x72" => "\x20" . $this->hosturl . "\57\x53\107\101\55\x31\x32\x38", "\165\163\x65\x72\x2d\141\x67\145\156\x74" => "\40\115\x6f\172\151\x6c\154\141\x2f\x35\x2e\x30\40\x28\127\x69\x6e\144\157\167\x73\x20\x4e\124\40\61\60\x2e\x30\x3b\x20\127\x4f\x57\x36\x34\51\x20\x41\x70\x70\x6c\145\x57\x65\x62\113\x69\164\57\x35\63\x37\x2e\63\66\x20\50\113\x48\124\x4d\114\x2c\40\x6c\x69\153\x65\x20\107\x65\143\153\x6f\51\x20\103\x68\x72\157\155\x65\57\67\62\x2e\x30\x2e\x33\x36\62\66\x2e\70\61\40\x53\141\146\141\162\151\x2f\x35\x33\x37\x2e\63\66", "\x78\55\x72\145\161\x75\145\163\x74\x65\x64\x2d\x77\151\164\150" => "\40\130\115\114\x48\x74\x74\x70\122\x65\x71\x75\x65\x73\x74"); $requrl = "{$this->hosturl}\141\x6a\x61\x78\x2f\165\156\143\x6c\145\144\141\164\x6f\157\154\x73\142\171\x61\152\141\170\56\160\150\160\77\x67\x69\x64\x3d{$gid}\46\x6c\x61\156\x67\75\x7a\x68\46\x69\x6d\147\x3d\150\x74\164\x70\163\72\x2f\57\x70\151\x63\x73\x2e\x6a\x61\166\x63\144\x6e\56\x70\167\57\143\157\x76\145\162\x2f\x37\62\x31\x61\x5f\x62\x2e\x6a\160\147\46\165\143\75\x30\x26\146\154\x6f\x6f\162\x3d\x36\71\65"; $this->crawler_client_init($this->hosturl, $start_type, $this->table_prefix, $headers); $response = $this->spclient->get($requrl); $code = $response->getStatusCode(); if ($code == 200) { $func_name = $this->func_get_info_name; $data = $this->{$func_name}($response, $gid); if (!empty($data)) { $this->database->insert($this->in_table_name, $data); } else { } } else { echo "\x65\x72\x72\157\x72\x20{$code}"; } } public function handle() { if ($this->option("\x6d\157\x76\x69\x65\151\x64")) { $this->handle_movie($this->option("\x6d\157\166\x69\145\151\144")); return; } if ($this->option("\x6d\x61\x67\156\145\164\x69\x64")) { $this->handle_magnet($this->option("\x6d\x61\x67\156\x65\x74\151\144")); return; } if ($this->option("\x6d\x6f\x76\151\x65") == 1) { $movie404 = $this->option("\155\157\x76\x69\x65\64\60\64") * 1; $moviemax = $this->option("\155\157\x76\x69\145\155\x61\x78") * 1; $this->handle_all_movie($moviemax, $movie404); } if ($this->option("\160\x61\147\145") * 1 > 0) { $this->handle_all_page($this->option("\x70\x61\x67\x65") * 1, $this->option("\147\x65\x6e\162\x65")); } if ($this->option("\155\141\x67\160\x61\147\x65") !== null) { $this->handle_all_magnet($this->option("\x6d\141\x67\x70\x61\x67\x65") * 1); } } public function update_ja_code_36($table_javbus, $table_avmoo) { $sql = "\x55\x50\x44\x41\x54\x45\40\x20{$table_javbus}\40\x73\145\164\40\141\x76\x6d\157\157\137\143\x6f\x64\145\137\x33\66\x20\75\x20\122\105\120\114\x41\103\x45\x28\x52\105\120\114\101\x43\x45\50\122\105\120\114\101\x43\x45\50\122\x45\120\114\101\103\x45\50\122\x45\x50\114\101\103\x45\x28\12\122\105\120\x4c\x41\103\105\50\155\x6f\x76\151\x65\137\x70\x69\143\137\x63\157\166\145\162\x2c\x27\143\x6f\166\145\162\x2f\47\54\x27\x27\51\x2c\x27\x5f\x62\56\152\x70\147\47\x2c\x27\x27\51\x2c\12\47\150\x74\164\x70\163\x3a\x2f\57\x70\x69\x63\163\x2e\152\141\x76\x62\x75\x73\56\x69\156\146\157\x2f\47\x2c\47\x27\x29\x2c\12\x27\150\164\x74\160\163\72\57\x2f\x70\151\143\x73\x2e\x6a\x61\x76\143\x64\156\56\x70\x77\57\x27\x2c\47\47\x29\54\xa\x27\x68\164\x74\x70\163\72\x2f\57\151\155\x61\147\x65\163\56\x6a\x61\166\143\144\x6e\56\160\167\57\x27\x2c\x27\47\51\54\xa\x27\x68\x74\164\x70\x73\72\57\x2f\x69\155\x61\147\x65\163\56\x6a\x61\166\142\165\163\56\151\x6e\146\157\x2f\47\54\x27\47\51\40\xa\xa\x20\167\150\x65\x72\x65\x20\40\x20\x61\166\155\157\x6f\137\143\x6f\x64\145\137\63\x36\40\x3d\40\47\47\40\x61\x6e\x64\x20\40\155\157\x76\151\x65\137\x70\151\x63\x5f\143\157\166\x65\x72\x20\x6c\x69\x6b\145\40\47\45\x68\164\164\x70\163\x3a\57\x2f\45\47\x20"; $this->database->query($sql); $data = $this->database->query("\40\x53\105\x4c\x45\103\x54\x20\52\40\40\146\x72\157\155\40\40{$table_javbus}\x20\x57\110\105\122\105\40\155\157\x76\151\x65\137\160\151\x63\137\143\x6f\166\x65\162\x20\x6e\157\x74\40\154\x69\x6b\145\40\x27\45\150\x74\164\x70\163\x3a\57\57\x25\47\40\x61\x6e\x64\x20\x20\x61\x76\155\x6f\x6f\x5f\x63\x6f\144\145\137\x33\66\40\x20\x3d\47\47\40\40\x20")->fetchAll(\PDO::FETCH_ASSOC); $arr = array(); foreach ($data as $key => $val) { $arr[] = $val["\155\157\x76\x69\145\137\160\x69\x63\x5f\x63\157\x76\x65\x72"]; } $d = $this->database->select($table_avmoo, array("\x63\157\x64\145\137\x33\66", "\155\157\x76\x69\x65\137\160\151\143\x5f\x63\157\166\145\x72"), array("\155\x6f\x76\x69\145\x5f\160\x69\x63\137\x63\x6f\166\145\x72" => $arr)); foreach ($d as $key => $val) { $this->database->query("\165\x70\144\141\x74\145\40\40\x20{$table_javbus}\40\x20\163\x65\x74\40\40\141\166\155\x6f\x6f\x5f\143\157\x64\x65\137\x33\66\40\x3d\40\47{$val["\x63\157\x64\x65\137\x33\x36"]}\x27\40\x20\x20\127\110\105\x52\105\40\155\x6f\x76\x69\145\137\160\x69\x63\x5f\x63\157\166\145\162\40\x20\75\x20\47{$val["\x6d\157\166\x69\x65\x5f\160\151\143\x5f\x63\x6f\x76\x65\162"]}\x27\40\40"); echo "\x75\x70\144\141\164\x65\40\x61\x76\155\157\x6f\137\x63\x6f\144\145\x5f\x33\66\40\72\72\x20\40{$key}\x20\40\75\75\40{$val["\x63\157\144\145\x5f\x33\x36"]}\x20\x20\x3d\75\x20{$val["\155\x6f\166\151\x65\x5f\x70\x69\x63\x5f\143\157\x76\145\x72"]}\12\x20"; } $data = $this->database->query("\x20\x53\105\114\105\103\124\40\143\x6f\165\x6e\164\x28\x31\x29\40\141\163\40\x61\166\155\x6f\x6f\137\x63\x6f\144\145\137\x33\x36\137\x6e\165\x6c\x6c\x5f\x6e\x75\155\40\40\x66\x72\x6f\x6d\x20\x20{$table_javbus}\x20\x57\x48\x45\122\x45\x20\40\x20\141\166\x6d\x6f\157\x5f\x63\x6f\144\x65\137\63\x36\40\x20\x3d\47\47\x20\x20\x20")->fetchAll(\PDO::FETCH_ASSOC); echo "\141\166\x6d\157\x6f\137\143\157\x64\x65\x5f\x33\x36\x5f\x6e\165\x6c\154\x5f\156\165\x6d\40\72\x20{$data[0]["\x61\x76\155\157\157\x5f\x63\x6f\x64\145\137\63\x36\137\x6e\x75\154\x6c\137\x6e\165\x6d"]}\40\12"; } public $sp_uri = ''; public function check_hosturl($requrl) { $this->info("\107\x45\x54\72\40{$requrl}\40\40\x62\x65\x66\157\x72\x65\x20\163\x71\x6c"); $response = $this->spclient->get($requrl); $code = $response->getStatusCode(); if ($code == 200 || $code == 404) { } else { $this->error(__METHOD__ . "\x3a\133{$requrl}\x20\174\75\75\x3d\75\351\223\276\xe6\216\xa5\xe6\227\xa0\346\225\210\x5d"); die; } $type = $response->getHeader("\x63\157\156\164\x65\156\x74\x2d\164\x79\160\x65"); $parsed = \GuzzleHttp\Psr7\parse_header($type); $this->spcharset = isset($parsed[0]["\x63\x68\x61\162\163\145\164"]) ? $parsed[0]["\x63\150\x61\x72\163\x65\164"] : "\125\124\x46\x2d\x38"; } public function prepare_page_rquests($requrl, $pagenum = 10, $genre = '') { $this->sp_uri = "\150\164\x74\160\x73\72\x2f\57" . $this->sphost . "\x2f\160\141\x67\x65\x2f"; if (!empty($genre)) { $this->sp_uri = "\150\164\164\x70\163\x3a\57\57" . $this->sphost . "\57\x67\145\x6e\x72\x65\x2f" . $genre . "\x2f"; } $this->magnet_time = time(); $this->check_hosturl($requrl); $this->arr_req_code_36 = array(); for ($i = 1; $i < $pagenum + 1; $i++) { $this->arr_req_code_36[] = $i; } $total = count($this->arr_req_code_36); $this->info("{$this->start_type}\40\345\x8d\x87\347\xba\xa7\346\x95\xb0\xe9\207\x8f\357\274\x9a\x20{$total}"); $requests = function ($total) { foreach ($this->arr_req_code_36 as $key => $item) { $uri = $this->sp_uri . $item; echo "\133\xe5\275\223\xe5\211\x8d\50{$key}\x29\x20\346\200\xbb\346\225\xb0\x28{$total}\51\174\x20\75\50{$item}\x29\x2d\174\x5d"; (yield new Request("\x47\x45\124", $uri)); } }; $this->sprequests = $requests($total); return true; } public function prepare_movie_rquests($requrl, $remove404 = 0) { $this->info("\x47\105\124\72\x20{$requrl}\x20\40\142\x65\x66\157\162\145\x20\x73\161\154"); $this->check_hosturl($requrl); $sql = "\x73\145\x6c\145\143\164\x20\40\40\104\111\123\x54\x49\116\103\124\50\x63\x65\156\163\157\x72\x65\144\x5f\x69\x64\51\x20\146\x72\157\x6d\40\x61\166\142\157\157\x6b\x5f\141\166\155\157\157\x5f\155\157\x76\151\x65\x20"; $this->info($sql); $result_code_avmoo = $this->database->query($sql)->fetchAll(\PDO::FETCH_COLUMN, 0); $sql = "\163\x65\x6c\145\x63\164\x20\x20\x20\104\x49\x53\124\x49\x4e\103\124\50\143\145\x6e\163\x6f\162\x65\x64\x5f\x69\144\51\40\x66\162\157\155\40\x61\x76\142\157\x6f\x6b\x5f\152\141\166\x62\165\163\137\155\x6f\x76\x69\145"; $this->info($sql); $result_code_javbus = $this->database->query($sql)->fetchAll(\PDO::FETCH_COLUMN, 0); $this->info("\x6a\141\x76\142\165\163\x20\xe7\x94\265\xe5\xbd\261\40\xe6\x95\xb0\xe9\207\217\xef\274\232" . count($result_code_javbus)); $sql = "\123\105\x4c\105\x43\x54\40\x63\145\x6e\163\x6f\162\145\x64\x5f\x69\x64\54\x43\117\x55\116\x54\50\143\145\x6e\163\157\x72\145\x64\x5f\x69\144\51\40\141\x73\x20\143\x20\x46\122\117\115\x20\140\x61\x76\142\x6f\157\x6b\137\141\x76\x6d\157\x6f\137\x6d\x6f\166\x69\145\140\40\40\107\x52\x4f\x55\120\x20\x42\x59\x20\x63\x65\x6e\x73\157\162\x65\x64\137\151\144\40\x20\x48\x41\126\x49\116\x47\40\x63\x3e\x31\40\40"; $this->info($sql); $result_more = $this->database->query($sql)->fetchAll(); $this->info("\x61\166\155\x6f\x6f\x20\x63\x65\x6e\163\157\162\x65\x64\x5f\x69\144\40\xe9\207\x8d\345\244\x8d\xe7\224\265\xe5\xbd\xb1\346\225\260\351\x87\217\357\xbc\x9a" . count($result_more)); foreach ($result_more as $value) { for ($i = 0; $i < intval($value[1]); $i++) { $end = $i + 1; $result_code_avmoo[] = $value[0] . "\x2d" . $end; } } $this->info("\141\166\x6d\x6f\157\x20\xe7\x94\xb5\xe5\xbd\xb1\40\xe6\225\260\351\207\217\xef\xbc\232" . count($result_code_avmoo)); $result_dif = array_diff($result_code_avmoo, $result_code_javbus); if ($remove404 == 1) { $sql = "\x73\x65\154\x65\x63\164\x20\40\143\x6f\x64\x65\137\63\66\x20\x66\x72\157\155\40\x61\x76\142\157\157\153\x5f\143\162\x61\x77\x6c\x65\x72\x5f\x34\60\x34\40\x77\x68\145\162\x65\40\x69\x6e\x74\x61\142\x6c\x65\137\x6e\x61\155\x65\x20\75\x20\x27{$this->in_table_name}\47\x20\40\141\x6e\144\40\143\x68\x65\x63\153\x64\141\164\x61\40\75\40\x31"; $this->info($sql); $table_code_36_404 = $this->database->query($sql)->fetchAll(\PDO::FETCH_COLUMN, 0); $result_dif = array_diff($result_dif, $table_code_36_404); } $this->arr_req_code_36 = array_values($result_dif); $total = count($this->arr_req_code_36); if ($total == 0) { $this->warn("{$this->start_type}\40\346\xb2\241\346\x9c\211\xe5\242\236\351\207\x8f\xe6\x9b\264\346\226\260"); return false; } $this->info("{$this->start_type}\x20\xe5\x8d\207\xe7\xba\xa7\xe6\225\xb0\xe9\x87\x8f\357\274\232\x20{$total}"); $requests = function ($total) { foreach ($this->arr_req_code_36 as $key => $item) { $uri = "\x68\164\164\160\163\x3a\57\57" . $this->sphost . "\x2f" . $item; echo "\133\345\275\x93\xe5\211\215\50{$key}\x29\x20\346\x80\xbb\xe6\225\260\x28{$total}\51\x7c\40\75\50{$item}\51\55\174\135"; (yield new Request("\x47\105\x54", $uri)); } }; $this->sprequests = $requests($total); return true; } public function prepare_mag_rquests($requrl, $pagenum = 1) { $this->update_ja_code_36("\141\x76\142\x6f\157\x6b\137\152\141\x76\142\x75\163\137\x6d\157\166\151\x65", "\x61\x76\142\x6f\157\x6b\137\x61\166\x6d\157\x6f\137\155\x6f\x76\151\x65"); $this->check_hosturl($requrl); if ($pagenum == 0) { $sql = "\163\x65\x6c\x65\143\164\x20\40\x20\104\111\123\x54\111\x4e\x43\x54\50\147\x69\x64\x29\x20\x20\40\x20\146\162\x6f\x6d\x20{$this->table_prefix}\x6d\x6f\166\x69\145\40\40\x20"; $this->info($sql); $table_code_36 = $this->database->query($sql)->fetchAll(\PDO::FETCH_COLUMN, 0); $this->arr_req_code_36 = array_values($table_code_36); } else { $slimit = "\x20\x20\117\122\104\105\x52\40\102\131\40\164\61\x2e\x6d\141\x67\156\x65\x74\x5f\x64\141\x74\x65\x20\144\145\163\x63\x20\x4c\111\115\111\x54\40" . $pagenum * 30; $sql = "\123\105\114\x45\103\x54\40\x20\164\x32\56\x67\151\x64\x20\x46\x52\x4f\x4d\x20\x61\x76\142\x6f\157\x6b\137\141\x76\x6d\x6f\x6f\x5f\155\x6f\x76\151\145\x20\x74\x31\x20\x4c\x45\x46\x54\40\x4a\x4f\111\x4e\40\x20\141\x76\142\157\x6f\x6b\x5f\x6a\x61\166\142\165\163\137\155\x6f\x76\x69\145\40\164\x32\x20\x6f\x6e\x20\x74\61\56\x63\157\x64\145\x5f\x33\x36\40\x3d\x20\x74\62\56\x61\166\155\x6f\157\x5f\x63\x6f\144\145\x5f\63\x36\40\x20{$slimit}\x20"; $this->info($sql); $table_code_36 = $this->database->query($sql)->fetchAll(\PDO::FETCH_COLUMN, 0); $this->arr_req_code_36 = array_values($table_code_36); } $total = count($this->arr_req_code_36); if ($total == 0) { $this->warn("{$this->start_type}\40\xe6\262\xa1\346\234\211\345\242\236\xe9\x87\x8f\346\233\xb4\xe6\x96\xb0"); return false; } $this->info("{$this->start_type}\40\xe5\215\207\xe7\272\247\346\225\xb0\xe9\x87\217\xef\xbc\232\x20{$total}"); $requests = function ($total) { foreach ($this->arr_req_code_36 as $key => $item) { $uri = "\x68\164\x74\160\x73\72\x2f\57" . $this->sphost . "\x2f\141\x6a\x61\170\x2f\x75\x6e\143\154\x65\x64\141\x74\x6f\x6f\154\163\142\171\x61\152\x61\x78\x2e\160\150\x70\77\147\151\x64\75" . $item . "\x26\154\141\156\x67\x3d\x7a\x68\46\x69\155\147\75\150\164\164\x70\x73\x3a\x2f\x2f\x70\151\143\x73\56\x6a\141\x76\x63\x64\156\x2e\160\x77\57\143\157\x76\x65\162\57\67\x32\172\x33\137\x62\56\152\160\147\46\x75\x63\75\x30\x26\146\x6c\x6f\157\x72\75\66\60\x31"; echo "\133\xe5\xbd\223\xe5\x89\215\50{$key}\x29\x20\346\x80\273\xe6\x95\xb0\50{$total}\51\174\40\x3d\50{$item}\51\55\x7c\135"; (yield new Request("\x47\105\x54", $uri)); } }; $this->sprequests = $requests($total); return true; } public function get_info_en_star($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "\125\x54\x46\x2d\x38", $this->spcharset); if (strpos($content, "\74\x2f\x68\x74\155\154\x3e") === false) { echo "\351\241\xb5\351\235\xa2\344\270\x8d\xe5\xae\214\xe6\225\xb4"; return null; } $arr_data = array(); $s = "\43\x3c\141\40\150\162\145\x66\75\42" . $this->hosturl . "\163\164\141\162\57\x28\x2e\52\77\x29\42\76\105\x6e\147\x6c\151\163\x68\x3c\57\x61\x3e\x23"; preg_match($s, $content, $out); if (empty($out[1])) { return null; } else { $arr_data["\143\x6f\x64\x65\137\63\66"] = $out[1]; $arr_data["\x63\157\144\145\137\61\60"] = base_convert($arr_data["\143\x6f\144\145\x5f\x33\66"], 36, 10); } preg_match("\43\x3c\163\x70\x61\x6e\40\143\154\141\163\163\x3d\x22\x70\x62\61\60\x22\76\x28\56\x2a\77\51\74\57\x73\160\x61\156\x3e\43", $content, $out); $arr_data["\x73\x74\x61\x72\137\156\141\x6d\x65"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x22\150\x74\x74\x70\163\x3a\57\x2f\x70\x69\x63\163\x2e\152\141\x76\x63\x64\x6e\56\x70\167\x2f\141\143\x74\162\x65\163\x73\x2f\x28\x2e\52\77\51\42\43", $content, $out); $arr_data["\163\164\x61\x72\x5f\160\x69\x63"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\x70\x3e\104\56\117\56\x42\72\40\x28\56\52\x3f\x29\x3c\57\160\x3e\43", $content, $out); $arr_data["\x73\164\x61\x72\x5f\142\151\x72\164\150\x64\141\x79"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\160\76\x41\147\145\72\40\50\x2e\x2a\77\51\x3c\x2f\160\76\x23", $content, $out); $arr_data["\x73\x74\141\162\137\141\147\x65"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\74\x70\x3e\x43\165\160\72\40\50\x2e\x2a\x3f\x29\74\57\160\76\43", $content, $out); $arr_data["\x73\x74\x61\x72\x5f\x63\165\x70\163\x69\x7a\145"] = empty($out[1]) ? '' : $out[1]; preg_match("\43\x3c\x70\76\x48\145\x69\x67\150\164\x3a\x20\50\56\52\x3f\x29\143\x6d\74\x2f\160\76\43", $content, $out); $arr_data["\x73\x74\x61\162\137\x68\145\151\147\150\164"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\74\160\x3e\x42\165\163\x74\72\40\50\x2e\52\77\51\143\155\74\57\160\76\43", $content, $out); $arr_data["\163\164\141\x72\137\x62\x75\x73\164"] = empty($out[1]) ? '' : $out[1]; preg_match("\43\x3c\x70\x3e\127\141\151\x73\x74\72\40\50\56\x2a\77\51\x63\155\x3c\x2f\x70\76\x23", $content, $out); $arr_data["\163\164\141\162\137\167\x61\151\163\164"] = empty($out[1]) ? '' : $out[1]; preg_match("\43\74\x70\x3e\x48\151\160\163\72\x20\x28\56\x2a\77\x29\143\x6d\x3c\57\160\76\43", $content, $out); $arr_data["\x73\164\x61\x72\137\x68\x69\160"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\74\160\x3e\x48\x6f\155\145\164\x6f\167\x6e\x3a\40\50\x2e\x2a\77\x29\74\x2f\160\x3e\43", $content, $out); $arr_data["\150\x6f\155\x65\x74\x6f\167\x6e"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\160\76\110\157\142\142\171\x3a\x20\50\56\x2a\x3f\x29\x3c\57\160\76\43", $content, $out); $arr_data["\150\x6f\x62\x62\171"] = empty($out[1]) ? '' : $out[1]; return $arr_data; } public function get_info_star($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "\125\124\x46\x2d\x38", $this->spcharset); if (strpos($content, "\x3c\57\150\x74\155\154\76") === false) { echo "\xe9\xa1\265\xe9\x9d\242\xe4\xb8\x8d\345\256\x8c\xe6\225\264"; return null; } $arr_data = array(); $s = "\43\x3c\141\40\x68\x72\145\146\x3d\42" . $this->hosturl . "\x73\x74\141\162\57\50\56\52\x3f\x29\x22\76\344\xb8\xad\xe6\226\x87\74\x2f\x61\76\x23"; preg_match($s, $content, $out); if (empty($out[1])) { return null; } else { $arr_data["\x63\x6f\144\x65\137\63\66"] = $out[1]; $arr_data["\x63\x6f\144\x65\x5f\61\60"] = base_convert($arr_data["\x63\x6f\144\145\137\63\66"], 36, 10); } preg_match("\43\x3c\x73\160\x61\x6e\x20\143\x6c\141\x73\x73\x3d\x22\x70\142\61\x30\x22\x3e\50\56\52\77\51\x3c\57\163\x70\x61\x6e\76\x23", $content, $out); $arr_data["\163\164\x61\x72\x5f\x6e\141\x6d\145"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\42\x68\x74\x74\x70\x73\x3a\57\57\x70\151\x63\x73\56\152\x61\166\143\x64\x6e\x2e\160\x77\x2f\141\x63\164\x72\145\163\163\x2f\50\x2e\52\x3f\x29\42\43", $content, $out); $arr_data["\x73\x74\141\x72\137\160\x69\x63"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\160\76\xe7\224\x9f\346\227\xa5\72\x20\x28\56\52\x3f\51\x3c\57\160\76\x23", $content, $out); $arr_data["\x73\x74\x61\x72\x5f\142\x69\x72\164\150\144\141\x79"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\160\x3e\345\xb9\264\xe9\xbd\241\x3a\x20\x28\x2e\x2a\77\51\x3c\57\160\76\43", $content, $out); $arr_data["\x73\164\141\162\137\x61\147\x65"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\160\x3e\347\275\251\346\235\xaf\72\40\50\x2e\x2a\77\x29\x3c\x2f\x70\76\x23", $content, $out); $arr_data["\x73\x74\141\x72\x5f\143\165\160\163\x69\172\x65"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\350\xba\253\xe9\253\x98\72\x20\50\56\x2a\77\51\x63\155\74\57\x70\76\43", $content, $out); $arr_data["\x73\x74\141\x72\x5f\x68\145\151\147\150\x74"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\x70\x3e\350\203\270\xe5\x9c\215\72\40\x28\56\x2a\77\51\143\x6d\x3c\x2f\x70\x3e\43", $content, $out); $arr_data["\163\x74\141\x72\137\142\x75\163\x74"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\x70\x3e\350\x85\xb0\xe5\234\215\72\x20\x28\56\52\77\51\143\155\74\57\160\76\x23", $content, $out); $arr_data["\163\x74\141\162\x5f\167\141\151\x73\x74"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\x70\76\350\x87\x80\345\234\x8d\72\x20\50\x2e\x2a\77\51\x63\x6d\x3c\57\x70\x3e\x23", $content, $out); $arr_data["\x73\164\x61\162\137\150\151\160"] = empty($out[1]) ? '' : $out[1]; preg_match("\43\x3c\160\x3e\345\207\272\347\224\x9f\345\x9c\260\72\40\50\56\x2a\x3f\51\x3c\x2f\x70\76\x23", $content, $out); $arr_data["\150\157\155\x65\164\157\167\156"] = empty($out[1]) ? '' : $out[1]; preg_match("\43\x3c\x70\76\346\x84\233\345\245\275\x3a\40\x28\x2e\52\x3f\x29\x3c\x2f\160\x3e\x23", $content, $out); $arr_data["\x68\x6f\x62\142\x79"] = empty($out[1]) ? '' : $out[1]; return $arr_data; } public function get_info_series($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "\x55\124\106\55\x38", $this->spcharset); if (strpos($content, "\x3c\x2f\150\164\x6d\x6c\76") === false) { echo "\351\241\265\351\x9d\xa2\344\270\215\xe5\xae\214\346\x95\264"; return null; } $arr_data = array(); $s = "\x23\74\x61\x20\x68\162\145\x66\75\42" . $this->hosturl . "\163\x65\x72\x69\145\163\x2f\50\56\52\x3f\x29\x22\76\344\270\xad\xe6\x96\x87\74\57\141\76\43"; preg_match($s, $content, $out); if (empty($out[1])) { return null; } else { $arr_data["\x63\x6f\x64\x65\x5f\x33\x36"] = $out[1]; $arr_data["\x63\x6f\x64\145\137\61\x30"] = base_convert($arr_data["\x63\x6f\144\x65\x5f\x33\66"], 36, 10); } preg_match("\x23\74\164\x69\164\154\145\x3e\x28\x2e\x2a\77\x29\x20\x2d\x20\347\xb3\xbb\345\210\227\x20\55\40\345\275\261\347\x89\x87\74\x2f\x74\x69\x74\154\x65\x3e\x23", $content, $out); $arr_data["\163\x65\x72\151\x65\x73\137\156\141\x6d\145"] = empty($out[1]) ? '' : $out[1]; return $arr_data; } public function get_info_studio($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "\125\124\x46\x2d\x38", $this->spcharset); if (strpos($content, "\x3c\57\x68\164\155\154\76") === false) { echo "\351\xa1\265\351\x9d\242\xe4\270\215\345\256\x8c\346\225\264"; return null; } $arr_data = array(); $s = "\x23\74\141\40\x68\162\145\x66\75\42" . $this->hosturl . "\x73\x74\165\144\x69\x6f\x2f\x28\x2e\52\x3f\x29\42\x3e\xe4\xb8\xad\xe6\226\x87\74\x2f\141\x3e\x23"; preg_match($s, $content, $out); if (empty($out[1])) { return null; } else { $arr_data["\143\x6f\x64\x65\137\63\x36"] = $out[1]; $arr_data["\x63\x6f\144\145\137\61\x30"] = base_convert($arr_data["\x63\x6f\144\x65\137\x33\x36"], 36, 10); } preg_match("\x23\74\x74\151\x74\x6c\x65\x3e\x28\56\52\77\x29\x20\x2d\x20\350\xa3\275\344\275\234\345\225\x86\x20\x2d\x20\345\xbd\261\347\211\x87\74\x2f\x74\x69\x74\x6c\x65\76\x23", $content, $out); $arr_data[$this->start_type . "\x5f\x6e\141\x6d\x65"] = empty($out[1]) ? '' : $out[1]; return $arr_data; } public function get_info_director($response, $c_36 = '') { } public function get_info_magnet($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "\x55\x54\106\x2d\70", $this->spcharset); $need_hd = "\345\x8c\205\xe5\x90\xab\xe9\xab\x98\xe6\xb8\205\110\x44\347\232\204\347\xa3\x81\345\x8a\x9b\xe9\x80\xa3\347\265\220"; $need_sub = "\xe5\214\205\xe5\x90\xab\xe5\255\x97\345\271\x95\347\x9a\204\xe7\243\x81\345\212\233\xe9\x80\243\xe7\265\220"; $mg_arr = array(); preg_match_all("\43\x3c\x74\162\x20\x6f\156\155\x6f\x75\163\x65\x6f\x76\x65\162\x3d\42\x74\x68\151\x73\56\163\x74\x79\154\x65\x2e\x62\141\143\x6b\147\162\x6f\x75\x6e\144\103\157\154\157\162\x3d\133\x5c\163\134\123\x5d\x2a\x3f\xe6\273\x91\351\xbc\240\345\x8f\263\351\x8d\xb5\xe9\xbb\x9e\xe6\x93\x8a\344\270\xa6\351\x81\270\xe6\x93\207\343\x80\220\xe8\244\207\350\xa3\xbd\351\x80\xa3\xe7\265\x90\xe7\266\xb2\345\235\200\343\200\221\42\40\x68\162\145\x66\75\42\50\56\x2a\77\51\42\x3e\133\x5c\163\135\x2a\77\x28\56\52\77\51\x3c\x2f\x61\76\133\x5c\x73\x5d\52\77\x3c\x2f\x74\x64\x3e\133\134\163\x5c\123\x5d\x2a\x3f\xe3\200\x90\350\244\x87\xe8\xa3\xbd\351\x80\243\xe7\xb5\x90\347\266\262\xe5\x9d\200\xe3\200\221\42\40\x68\x72\x65\x66\75\x22\x6d\141\147\156\145\164\133\x5c\163\x5c\x53\135\x2a\77\42\76\x5b\x5c\x73\x5d\52\x3f\50\x2e\52\x3f\51\74\57\141\x3e\x5b\134\x73\x5d\52\77\74\x2f\x74\x64\76\133\134\163\134\x53\135\x2a\77\343\x80\x90\350\xa4\207\xe8\xa3\xbd\351\x80\xa3\347\265\x90\xe7\266\xb2\xe5\235\x80\xe3\200\221\42\40\x68\x72\x65\146\75\42\x6d\141\x67\x6e\x65\x74\x5b\134\163\x5c\123\x5d\52\77\x78\164\x3d\x75\x72\x6e\x3a\142\x74\151\150\72\50\56\x2a\x3f\51\x26\x5b\134\x73\134\123\135\x2a\77\x22\x3e\x5b\134\163\135\52\77\50\56\52\x3f\51\74\57\x61\x3e\x5b\x5c\x73\x5d\x2a\x3f\x3c\x2f\x74\144\76\43", $content, $out); if (!empty($out[2])) { foreach ($out[2] as $key => $value) { $temp_arr = array(); $have_hd = 0; $have_sub = 0; if (strpos($value, $need_hd)) { $have_hd = 1; $value = str_replace("\74\x61\x20\143\x6c\x61\x73\163\75\x22\x62\164\x6e\40\142\164\x6e\x2d\x6d\151\x6e\151\55\156\145\x77\x20\x62\164\156\55\x70\x72\x69\x6d\x61\x72\171\x20\144\x69\x73\141\142\x6c\x65\x64\42\x20\x74\151\x74\154\145\x3d\42\345\214\x85\345\x90\253\xe9\253\x98\xe6\xb8\205\110\104\347\232\x84\347\243\x81\345\212\x9b\351\x80\xa3\347\265\x90\42\x3e\351\253\230\346\xb8\205\x3c\x2f\x61\76", '', $value); } if (strpos($value, $need_sub)) { $have_sub = 1; $value = str_replace("\x3c\x61\40\143\x6c\x61\x73\x73\75\42\142\x74\156\40\142\164\156\55\155\151\x6e\x69\55\156\x65\x77\40\x62\164\156\x2d\x77\x61\x72\156\151\x6e\x67\40\x64\151\163\141\x62\x6c\145\144\42\x20\164\151\x74\154\x65\x3d\x22\345\214\205\345\220\xab\xe5\255\227\345\xb9\225\347\232\204\347\xa3\x81\345\212\x9b\xe9\x80\243\347\xb5\x90\x22\x3e\345\255\x97\345\xb9\x95\x3c\x2f\x61\76", '', $value); } $temp_arr["\147\151\x64"] = $c_36; $xt = trim($out[4][$key]); $temp_arr["\155\141\147\x6e\x65\x74\137\x78\x74"] = $xt; $temp_arr["\x6d\x61\147\x6e\x65\164\x5f\156\x61\155\145"] = trim($value); $temp_arr["\x6d\141\x67\156\x65\164\x5f\x74\x79\160\x65"] = trim($out[3][$key]); $temp_arr["\155\141\x67\x6e\145\164\x5f\144\x61\164\145"] = trim($out[5][$key]); $temp_arr["\150\141\166\145\137\150\144"] = $have_hd; $temp_arr["\x68\x61\x76\x65\x5f\163\165\x62"] = $have_sub; $mg_arr[] = $temp_arr; } } return $mg_arr; } public $magnet_time = 1; public function get_info_page($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "\125\x54\x46\x2d\70", $this->spcharset); $dom = new \DOMDocument(); @$dom->loadHTML($content); $dom->normalize(); $xpath = new \DOMXPath($dom); $nodeList = $xpath->query("\x2f\x2f\52\133\x40\143\x6c\141\x73\x73\75\x22\x70\150\157\x74\x6f\55\151\156\146\x6f\42\135"); $need_hd = "\345\x8c\x85\xe5\220\xab\xe9\253\x98\346\xb8\x85\110\104\xe7\x9a\204\xe7\xa3\x81\345\x8a\x9b\351\200\xa3\347\xb5\220"; $need_sub = "\xe5\214\205\345\x90\xab\345\255\227\345\xb9\225\xe7\232\204\xe7\243\201\345\x8a\x9b\351\x80\243\xe7\xb5\x90"; $t_i = 0; foreach ($nodeList as $node) { $str_node = $dom->saveHTML($node); preg_match_all("\43\x3c\144\141\164\145\76\50\56\52\x3f\51\74\57\x64\141\164\145\x3e\43", $str_node, $outid); if (!empty($outid[1][0])) { $sadd = ''; if (strpos($str_node, $need_hd)) { $sadd .= "\54\x68\141\166\145\x5f\x68\144\75\61"; } if (strpos($str_node, $need_sub)) { $sadd .= "\54\x68\141\166\x65\137\x73\165\142\x3d\x31"; } $t_i = $t_i + 1; $m_time = $this->magnet_time - $c_36 * 30 - $t_i; $t = date("\131\55\155\55\144\x20\x48\72\x69\72\x73", $m_time); $ssql = "\x20\x75\x70\144\x61\x74\x65\x20\141\x76\142\x6f\157\153\137\141\166\155\x6f\157\137\155\157\166\151\x65\x20\163\145\164\x20\155\141\x67\x6e\x65\164\137\144\x61\x74\145\40\x3d\x20\x27{$t}\x27\x2c\x20\150\141\166\x65\x5f\x6d\147\x20\x3d\40\61\x20{$sadd}\x20\x20\x77\150\x65\x72\x65\40\x63\x65\156\x73\157\162\x65\144\137\x69\144\x20\x3d\47{$outid[1][0]}\47"; $this->database->query($ssql); } } } public function get_info_movie($response, $c_36 = '') { $original_body = (string) $response->getBody(); $content = mb_convert_encoding($original_body, "\x55\124\x46\x2d\x38", $this->spcharset); $arr_data = array(); preg_match("\43\166\x61\x72\40\x67\x69\144\x20\75\x20\50\56\52\x3f\51\73\43", $content, $out); $arr_data["\x67\x69\144"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\x70\76\x3c\x73\160\x61\x6e\x20\143\154\x61\163\x73\x3d\x22\x68\x65\141\x64\x65\162\42\76\xe8\xad\x98\xe5\210\245\xe7\xa2\274\72\x3c\57\163\x70\x61\x6e\76\x20\x3c\x73\x70\141\156\40\x73\x74\x79\x6c\145\x3d\x22\143\x6f\x6c\x6f\162\x3a\x5c\43\103\103\60\60\60\x30\x3b\x22\x3e\50\56\x2a\x3f\x29\x3c\57\163\160\141\x6e\x3e\43", $content, $out); $arr_data["\x63\x65\x6e\x73\x6f\162\x65\144\x5f\151\144"] = empty($out[1]) ? '' : $out[1]; $censored_id = $out[1]; if (empty($out[1])) { return null; } preg_match("\x23\74\x68\63\76\50\56\52\x3f\x29\x3c\x2f\x68\63\76\x23", $content, $out); $arr_data["\155\x6f\166\151\145\x5f\164\151\164\x6c\145"] = empty($out[1]) ? '' : trim(str_replace($censored_id, '', $out[1])); preg_match("\x23\x3c\141\x20\x63\154\141\x73\163\75\x22\142\x69\x67\111\x6d\141\147\x65\x22\x20\x68\162\145\x66\75\42\50\56\x2a\x3f\x29\42\x3e\74\151\x6d\x67\40\x73\162\x63\x3d\x22\43", $content, $out); $arr_data["\155\157\166\151\x65\x5f\x70\151\x63\x5f\x63\157\166\145\162"] = empty($out[1]) ? '' : str_replace("\150\164\x74\x70\x73\x3a\57\x2f\160\x69\143\x73\56\144\155\155\56\x63\x6f\56\x6a\160\x2f\144\151\147\x69\x74\x61\154\57\x76\x69\144\x65\157\57", '', $out[1]); preg_match("\x23\74\x73\x70\141\x6e\x20\x63\x6c\x61\x73\x73\x3d\x22\150\145\x61\144\145\162\x22\76\347\231\xbc\350\xa1\214\xe6\x97\xa5\xe6\x9c\237\72\x3c\57\x73\160\141\x6e\x3e\x20\x28\x2e\x2a\x3f\51\74\x2f\160\x3e\x23", $content, $out); $arr_data["\162\x65\154\145\141\163\145\x5f\144\x61\x74\145"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\x3c\x70\76\x3c\x73\160\141\x6e\x20\143\154\141\x73\x73\x3d\42\150\145\141\144\145\162\x22\x3e\xe9\225\267\xe5\xba\xa6\72\x3c\57\163\160\x61\x6e\76\40\50\56\52\x3f\51\74\57\x70\76\43", $content, $out); $arr_data["\155\157\166\151\145\x5f\154\145\x6e\147\x74\x68"] = empty($out[1]) ? '' : str_replace("\xe5\210\206\351\220\230", '', $out[1]); preg_match("\x23\74\x70\76\x3c\x73\160\141\156\40\x63\x6c\141\x73\x73\75\x22\150\145\x61\144\145\x72\42\76\345\xb0\216\346\xbc\x94\72\x3c\57\x73\160\141\x6e\76\40\74\141\x20\150\162\x65\146\75\42" . $this->hosturl . "\144\151\162\x65\x63\x74\157\162\57\x28\56\52\x3f\x29\42\x3e\43", $content, $out); $arr_data["\104\x69\162\145\x63\x74\x6f\162"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\74\160\76\74\x73\160\x61\x6e\40\x63\154\x61\163\163\75\x22\x68\x65\x61\144\145\162\42\x3e\350\xa3\275\xe4\275\x9c\345\x95\206\x3a\x3c\57\x73\x70\141\156\x3e\40\74\x61\40\150\162\145\x66\x3d\x22" . $this->hosturl . "\x73\x74\x75\x64\x69\x6f\x2f\x28\x2e\52\77\51\42\x3e\43", $content, $out); $arr_data["\x53\x74\165\x64\x69\157"] = empty($out[1]) ? '' : $out[1]; preg_match("\x23\74\160\x3e\x3c\x73\160\141\156\40\x63\154\141\163\x73\x3d\x22\150\x65\141\144\x65\162\42\76\347\x99\274\350\241\x8c\xe5\225\206\72\x3c\57\163\160\x61\156\76\x20\74\x61\40\150\162\145\146\75\42" . $this->hosturl . "\154\x61\x62\145\154\57\x28\56\x2a\77\x29\42\76\x23", $content, $out); $arr_data["\114\x61\x62\145\154"] = empty($out[1]) ? '' : $out[1]; preg_match_all("\x23\x3c\160\76\x3c\163\160\141\156\x20\x63\154\141\163\x73\75\x22\x68\x65\141\x64\x65\x72\x22\76\347\xb3\273\345\x88\x97\72\x3c\57\163\160\x61\156\x3e\40\x3c\141\x20\x68\x72\x65\x66\x3d\x22" . $this->hosturl . "\x73\145\162\x69\x65\x73\x2f\50\x2e\x2a\77\51\x22\76\x23", $content, $out); $arr_data["\x53\x65\162\x69\x65\163"] = empty($out[1]) ? '' : implode("\x2c", $out[1]); preg_match_all("\43\x3c\163\x70\x61\x6e\x20\x63\154\141\x73\163\x3d\x22\147\x65\x6e\x72\145\42\76\74\141\x20\150\162\145\x66\x3d\42" . $this->hosturl . "\x67\145\156\x72\x65\x2f\50\x2e\52\77\51\x22\76\43", $content, $out); $arr_data["\x47\x65\156\x72\145"] = empty($out[1]) ? '' : "\133" . implode("\135\x5b", $out[1]) . "\135"; preg_match_all("\43\x3c\x61\40\x68\x72\145\x66\75\42" . $this->hosturl . "\163\164\141\x72\x2f\x28\x2e\x2a\x3f\51\x22\x3e\x3c\151\x6d\x67\x20\163\x72\x63\75\43", $content, $out); $arr_data["\x4a\x41\126\x5f\111\144\x6f\x6c\x73"] = empty($out[1]) ? '' : "\133" . implode("\x5d\133", $out[1]) . "\x5d"; preg_match_all("\43\74\141\40\x63\154\x61\x73\163\x3d\x22\163\141\155\x70\x6c\x65\55\142\x6f\x78\42\40\x68\x72\x65\146\x3d\42\x28\56\52\77\51\42\x3e\x3c\144\151\166\40\x63\x6c\141\x73\163\75\42\x70\150\x6f\x74\157\55\x66\x72\141\155\145\x22\x3e\43", $content, $out); if (empty($out[1])) { preg_match_all("\43\x3c\x64\x69\166\40\x63\x6c\141\x73\163\x3d\42\x70\150\x6f\164\157\55\x66\162\x61\x6d\x65\42\76\x3c\x69\x6d\x67\x20\x73\162\143\x3d\42\50\56\52\x3f\x29\42\x20\164\x69\x74\154\145\x23", $content, $out); if (empty($out[1])) { $arr_data["\x73\x61\155\160\x6c\145\x5f\x64\x6d\x6d"] = "\x30"; } else { $arr_data["\163\141\x6d\160\154\145\x5f\x64\x6d\x6d"] = str_replace("\x68\x74\164\x70\163\x3a\57\x2f\160\151\x63\x73\x2e\x64\x6d\x6d\x2e\x63\x6f\x2e\x6a\x70\x2f\x64\x69\x67\x69\164\x61\154\57\166\x69\x64\145\x6f\57", '', $out[1][0]) . "\174" . count($out[1]); } } else { $arr_data["\x73\x61\155\x70\154\145\137\x64\155\x6d"] = str_replace("\x68\x74\x74\x70\x73\x3a\57\57\x70\x69\x63\163\x2e\144\155\x6d\56\143\157\56\x6a\x70\x2f\x64\151\x67\x69\164\x61\x6c\x2f\166\151\144\x65\x6f\57", '', $out[1][0]) . "\174" . count($out[1]); } preg_match_all("\43\143\x6c\x61\163\163\x3d\42\155\x6f\166\151\145\55\142\x6f\x78\42\40\150\x72\145\146\x3d\x22" . $this->hosturl . "\50\x2e\x2a\x3f\x29\42\40\x73\x74\x79\154\x65\x3d\42\144\x69\x73\x70\154\141\171\x3a\x69\x6e\x6c\x69\x6e\145\x2d\142\x6c\x6f\x63\x6b\73\x20\155\141\x72\147\x69\x6e\72\x35\160\170\73\x22\76\x23", $content, $out); $arr_data["\x53\151\x6d\151\x6c\x61\162"] = empty($out[1]) ? '' : "\133" . implode("\x5d\x5b", $out[1]) . "\x5d"; return $arr_data; } }

Function Calls

None

Variables

None

Stats

MD5 33c91f4dfb661055f6206f19288c5fbe
Eval Count 0
Decode Time 140 ms