{"id":6099,"date":"2018-09-11T19:59:03","date_gmt":"2018-09-11T11:59:03","guid":{"rendered":"http:\/\/4563.org\/?p=6099"},"modified":"2018-09-11T20:00:18","modified_gmt":"2018-09-11T12:00:18","slug":"wordpress%e5%a4%96%e9%93%be%e8%b7%b3%e8%bd%ac%e4%bb%a3%e7%a0%81-%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=6099","title":{"rendered":"WordPress\u5916\u94fe\u8df3\u8f6c\u4ee3\u7801\/\u6559\u7a0b"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>WordPress\u5916\u94fe\u8df3\u8f6c\u901a\u8fc7go.php\u7684\u65b9\u5f0f\u8df3\u8f6c\uff0c\u5206\u4eab\u4ee3\u7801~<\/p>\n<h1>\u5b89\u88c5<\/h1>\n<p>\u521b\u5efa\u4e00\u4e2a<code>go.php<\/code>\uff0c\u7136\u540e\u5c06\u4ee5\u4e0b\u4ee3\u7801\u7c98\u8d34\u5e76\u4fdd\u5b58\u4e0a\u4f20\u81f3\u7f51\u7ad9\u6839\u76ee\u5f55\u3002<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n\/**\r\n * \u81ea\u52a8\u8df3\u8f6c\u9875\u9762\r\n * @copyright (c) Emlog All Rights Reserved\r\n *\/\r\n\/\/\u81ea\u5b9a\u4e49\u8df3\u8f6c\u5730\u5740\r\n$cars = array(\r\n    array(\"qcloud\",'http:\/\/www.qcloud.com\/redirect.php?redirect=1001&amp;cps_key=8558139aea55e95d71f488081ba44577'),\r\n    array(\"upyun\",'https:\/\/www.upyun.com\/league'),\r\n    array(\"trustutn\",'http:\/\/c.trustutn.org\/s\/aeink.com'),\r\n    array(\"gfvps\",'https:\/\/www.gfvps.cn\/page.aspx?c=referral&amp;u=9023'),\r\n    array(\"360scan\",'http:\/\/webscan.360.cn\/index\/checkwebsite\/url\/www.aeink.com')\r\n );\r\n\r\nif(strlen($_SERVER['REQUEST_URI']) &gt; 384 || strpos($_SERVER['REQUEST_URI'], \"eval(\") || strpos($_SERVER['REQUEST_URI'], \"base64\")) {\r\n    @header(\"HTTP\/1.1 414 Request-URI Too Long\");\r\n    @header(\"Status: 414 Request-URI Too Long\");\r\n    @header(\"Connection: Close\");\r\n    @exit;\r\n}\r\n\/\/\u901a\u8fc7QUERY_STRING\u53d6\u5f97\u5b8c\u6574\u7684\u4f20\u5165\u6570\u636e\uff0c\u7136\u540e\u53d6\u5f97url=\u4e4b\u540e\u7684\u6240\u6709\u503c\uff0c\u517c\u5bb9\u6027\u66f4\u597d\r\n$t_url = htmlspecialchars(preg_replace('\/^url=(.*)$\/i','$1',$_SERVER[\"QUERY_STRING\"]));\r\n\r\n\/\/\u6b64\u5904\u53ef\u4ee5\u81ea\u5b9a\u4e49\u4e00\u4e9b\u7279\u522b\u7684\u5916\u94fe\uff0c\u4e0d\u9700\u8981\u53ef\u4ee5\u5220\u9664\u4ee5\u4e0b5\u884c\r\nforeach($cars as $k=&gt;$val){\r\n    if($t_url==$val[0] ) {\r\n        $t_url = $val[1];\r\n        $t_vip = 1;\r\n    }\r\n}\r\n \r\n\/\/\u6570\u636e\u5904\u7406\r\nif(!empty($t_url)) {\r\n    \/\/\u5224\u65ad\u53d6\u503c\u662f\u5426\u52a0\u5bc6\r\n    if ($t_url == base64_encode(base64_decode($t_url))) {\r\n        $t_url = base64_decode($t_url);\r\n    }\r\n \/\/\u5bf9\u53d6\u503c\u8fdb\u884c\u7f51\u5740\u6821\u9a8c\u548c\u5224\u65ad\r\npreg_match('\/^(http|https|thunder|qqdl|ed2k|Flashget|qbrowser):\/\/\/i',$t_url,$matches);\r\nif($matches){\r\n    $url=$t_url;\r\n    $title='\u9875\u9762\u52a0\u8f7d\u4e2d,\u8bf7\u7a0d\u5019...';\r\n} else {\r\n    preg_match('\/.\/i',$t_url,$matche);\r\n    if($matche){\r\n        $url='http:\/\/'.$t_url;\r\n        $title='\u9875\u9762\u52a0\u8f7d\u4e2d,\u8bf7\u7a0d\u5019...';\r\n    } else {\r\n        $url = 'http:\/\/'.$_SERVER['HTTP_HOST'];\r\n        $title='\u53c2\u6570\u9519\u8bef\uff0c\u6b63\u5728\u8fd4\u56de\u9996\u9875...';\r\n    }\r\n}\r\n} else {\r\n    $title = '\u53c2\u6570\u7f3a\u5931\uff0c\u6b63\u5728\u8fd4\u56de\u9996\u9875...';\r\n    $url = 'http:\/\/'.$_SERVER['HTTP_HOST'];\r\n}\r\n?&gt;\r\n&lt;html&gt;\r\n&lt;!--\r\n@name:aeink goto\r\n@description:AE\u535a\u5ba2\u8df3\u8f6c\u9875\u9762\r\n@author:\u58a8\u6e0a\r\n@time:2017-09-22\r\n@copyright:AE\u535a\u5ba2&amp;\u58a8\u6e0a\r\n@author url:http:\/\/www.aeink.com\/791.html\r\n@ps:\u4f60\u60f3\u5220\u6211\u4e5f\u62e6\u4e0d\u4f4f\u770b\u4f60\u81ea\u89c9\u6027\u5427\uff01\uff01\r\n--&gt;\r\n&lt;head&gt;\r\n    &lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=UTF-8\"&gt;\r\n    &lt;meta name=\"viewport\" content=\"width=device-width\"&gt;\r\n    &lt;meta name=\"robots\" content=\"noindex, nofollow\" \/&gt;\r\n    &lt;noscript&gt;&lt;meta http-equiv=\"refresh\" content=\"1;url='&lt;?php echo $url;?&gt;';\"&gt;&lt;\/noscript&gt;\r\n    &lt;meta charset=\"UTF-8\"&gt;\r\n&lt;!--[if IE 8]&gt;\r\n    &lt;style&gt;\r\n        .ie8 .alert-circle,.ie8 .alert-footer{display:none}.ie8 .alert-box{padding-top:75px}.ie8 .alert-sec-text{top:45px}\r\n    &lt;\/style&gt;\r\n&lt;![endif]--&gt;\r\n\r\n    &lt;title&gt;&lt;?php echo $title;?&gt;&lt;\/title&gt;\r\n    &lt;style&gt;\r\n        body{margin:0;padding:0;background:#E6EAEB;font-family:Arial,'\u5fae\u8f6f\u96c5\u9ed1','\u5b8b\u4f53',sans-serif}.main{position:absolute;left:calc(50% - 200px);top:calc(50% - 13em)}.alert-box{display:none;position:relative;margin:auto;padding:180px 85px 22px;border-radius:10px 10px 0 0;background:#FFF;box-shadow:5px 9px 17px rgba(102,102,102,.75);width:286px;color:#FFF;text-align:center}.alert-box p{margin:0}.alert-circle{position:absolute;top:-50px;left:111px}.alert-sec-circle{stroke-dashoffset:0;stroke-dasharray:735;transition:stroke-dashoffset 1s linear}.alert-sec-text{position:absolute;top:11px;left:190px;width:76px;color:#000;font-size:68px}.alert-sec-unit{font-size:34px}.alert-body{margin:35px 0}.alert-head{color:#242424;font-size:28px}.alert-concent{margin:25px 0 14px;color:#7B7B7B;font-size:18px}.alert-concent p{line-height:27px}.alert-btn{display:block;border-radius:10px;background-color:#4AB0F7;height:55px;line-height:55px;width:286px;color:#FFF;font-size:20px;text-decoration:none;letter-spacing:2px}.alert-btn:hover{background-color:#6BC2FF}.alert-footer{margin:0 auto;height:42px;width:120px}.alert-footer-icon{float:left}.alert-footer-text{float:left;border-left:2px solid #EEE;padding:3px 0 0 5px;height:40px;color:#0B85CC;font-size:12px;text-align:left}.alert-footer-text p{color:#7A7A7A;font-size:22px;line-height:18px}\r\n    &lt;\/style&gt;\r\n&lt;\/head&gt;\r\n&lt;body class=\"ie8\" style=\"\"&gt;\r\n&lt;div class=\"main\"&gt;\r\n    &lt;div id=\"js-alert-box\" class=\"alert-box\" style=\"display:block\"&gt;\r\n        &lt;svg class=\"alert-circle\" width=\"234\" height=\"234\"&gt;&lt;circle cx=\"117\" cy=\"117\" r=\"108\" fill=\"#FFF\" stroke=\"#43AEFA\" stroke-width=\"17\"&gt;&lt;\/circle&gt;&lt;circle id=\"js-sec-circle\" class=\"alert-sec-circle\" cx=\"117\" cy=\"117\" r=\"108\" fill=\"transparent\" stroke=\"#F4F1F1\" stroke-width=\"18\" transform=\"rotate(-90 117 117)\" style=\"stroke-dashoffset:-514px\"&gt;&lt;\/circle&gt;&lt;text class=\"alert-sec-unit\" x=\"100\" y=\"172\" fill=\"#BDBDBD\"&gt;\u79d2&lt;\/text&gt;&lt;\/svg&gt;\r\n        &lt;div id=\"js-sec-text\" class=\"alert-sec-text\"&gt;\r\n        3\r\n        &lt;\/div&gt;\r\n        &lt;div class=\"alert-body\"&gt;\r\n            &lt;div id=\"js-alert-head\" class=\"alert-head\"&gt;\r\n            &lt;?php echo $title;?&gt;\r\n            &lt;\/div&gt;\r\n            &lt;div class=\"alert-concent\"&gt;\r\n            &lt;p&gt;\u4e00\u4e07\u5e74\u592a\u4e45\uff0c\u53ea\u4e89\u671d\u5915&lt;\/p&gt;\r\n            &lt;\/div&gt;\r\n            &lt;a id=\"js-alert-btn\" class=\"alert-btn\" href=\"&lt;?php echo $url;?&gt;\"&gt;\u7acb\u5373\u524d\u5f80&lt;\/a&gt;\r\n        &lt;\/div&gt;\r\n        &lt;div class=\"alert-footer clearfix\"&gt;\r\n            &lt;svg width=\"46px\" height=\"42px\" class=\"alert-footer-icon\"&gt;&lt;circle fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"#7B7B7B\" stroke=\"#DEDFE0\" stroke-width=\"2\" stroke-miterlimit=\"10\" cx=\"21.917\" cy=\"21.25\" r=\"17\"&gt;&lt;\/circle&gt;&lt;path fill=\"#FFF\" d=\"M22.907,27.83h-1.98l0.3-2.92c-0.37-0.22-0.61-0.63-0.61-1.1c0-0.71,0.58-1.29,1.3-1.29s1.3,0.58,1.3,1.29 c0,0.47-0.24,0.88-0.61,1.1L22.907,27.83z M18.327,17.51c0-1.98,1.61-3.59,3.59-3.59s3.59,1.61,3.59,3.59v2.59h-7.18V17.51z M27.687,20.1v-2.59c0-3.18-2.59-5.76-5.77-5.76s-5.76,2.58-5.76,5.76v2.59h-1.24v10.65h14V20.1H27.687z\"&gt;&lt;\/path&gt;&lt;circle fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"#FEFEFE\" cx=\"35.417\" cy=\"10.75\" r=\"6.5\"&gt;&lt;\/circle&gt;&lt;polygon fill=\"#7B7B7B\" stroke=\"#7B7B7B\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-miterlimit=\"10\" points=\"35.417,12.16 32.797,9.03 31.917,10.07 35.417,14.25 42.917,5.29 42.037,4.25 \"&gt;&lt;\/polygon&gt;&lt;\/svg&gt;\r\n            &lt;div class=\"alert-footer-text\"&gt;\r\n                &lt;p&gt;secure&lt;\/p&gt;\u5b89\u5168\u52a0\u5bc6\r\n            &lt;\/div&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n&lt;script type=\"text\/javascript\"&gt;\r\nfunction alertSet(e) {\r\n    document.getElementById(\"js-alert-box\").style.display = \"block\", document.getElementById(\"js-alert-head\").innerHTML = e;\r\n    var t = 5,\r\n        n = document.getElementById(\"js-sec-circle\");\r\n    document.getElementById(\"js-sec-text\").innerHTML = t, setInterval(function() {\r\n        \/\/\u7981\u6b62\u5176\u4ed6\u7f51\u7ad9\u8c03\u7528\u6b64\u8df3\u8f6c\r\n        \/\/var MyHOST = new RegExp(\"&lt;?php echo $_SERVER['HTTP_HOST']; ?&gt;\");\r\n        \/\/if (!MyHOST.test(document.referrer)) {\r\n        \/\/ location.href=\"http:\/\/\" + MyHOST;\r\n        \/\/}\r\n        if (0 == t) location.href = \"&lt;?php echo $url;?&gt;\";\r\n        else {\r\n            t -= 1, document.getElementById(\"js-sec-text\").innerHTML = t;\r\n            var e = Math.round(t \/ 5 * 735);\r\n            n.style.strokeDashoffset = e - 735\r\n        }\r\n    }, 970)\r\n}\r\n&lt;\/script&gt;\r\n&lt;script&gt;alertSet(\"&lt;?php echo $title;?&gt;\");&lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<h2>wordpress\u6587\u7ae0\u5185\u81ea\u52a8\u6dfb\u52a0\u5916\u94fe\u8df3\u8f6c<\/h2>\n<p>\u6253\u5f00\u4e3b\u9898\u6587\u4ef6\u5939\u4e0b\u7684<code>functions.php<\/code>\uff0c\u52a0\u5165\u4ee5\u4e0b\u4ee3\u7801<\/p>\n<pre class=\"lang:default decode:true\">\/\/\u7ed9\u5916\u90e8\u94fe\u63a5\u52a0\u4e0a\u8df3\u8f6c\r\nadd_filter('the_content','the_content_nofollow',999);\r\nfunction the_content_nofollow($content)\r\n{\r\n\tpreg_match_all('\/&lt;a(.*?)href=\"(.*?)\"(.*?)&gt;\/',$content,$matches);\r\n\tif($matches){\r\n\t\tforeach($matches[2] as $val){\r\n\t\t\tif(strpos($val,':\/\/')!==false &amp;&amp; strpos($val,home_url())===false &amp;&amp; !preg_match('\/.(jpg|jepg|png|ico|bmp|gif|tiff)\/i',$val)){\r\n\t\t\t    $content=str_replace(\"href=\"$val\"\", \"href=\"\".home_url().\"\/go\/?url=$val\" \",$content);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn $content;\r\n}<\/pre>\n<h2>wordpress\u8bc4\u8bba\u5185\u81ea\u52a8\u6dfb\u52a0\u5916\u94fe\u8df3\u8f6c<\/h2>\n<p>\u5728\u4e3b\u9898\u76ee\u5f55\u4e0b\u7684 <code>functions.php<\/code> \u67e5\u627e\u662f\u5426\u5b58\u5728\u4fee\u6539\u8bc4\u8bba\u94fe\u63a5\u4e3a\u65b0\u7a97\u53e3 commentauthor \u51fd\u6570\uff0c\u5982\u679c\u5b58\u5728\u5219\u5982\u4e0b\u4fee\u6539\u7b2c 8 \u884c\uff0c\u5c06<code>$url<\/code> \u4fee\u6539\u4e3a<code>\/go\/?url=$url<\/code>\uff0c\u5176\u5b9e\u5c31\u662f\u5728\u524d\u9762\u65b0\u589e\u4e00\u4e2a go \u8df3\u8f6c\u5373\u53ef\uff0c\u76f8\u540c\u7684\u9053\u7406\uff01<\/p>\n<pre class=\"lang:default decode:true \">\/\/\u8bc4\u8bba\u94fe\u63a5\u65b0\u7a97\u53e3\r\nfunction commentauthor($comment_ID = 0) {\r\n    $url    = get_comment_author_url( $comment_ID );\r\n    $author = get_comment_author( $comment_ID );\r\n    if ( empty( $url ) || 'http:\/\/' == $url )\r\n    echo $author;\r\n    else\r\n    echo \"&lt;a href='\".home_url().\"\/go\/?url=$url' rel='external nofollow' target='_blank' class='url'&gt;$author&lt;\/a&gt;\";\r\n}<\/pre>\n<h1>\u4f7f\u7528<\/h1>\n<p>\u5728\u6dfb\u52a0\u5916\u94fe\u7684\u65f6\u5019\u5728\u524d\u9762\u52a0\u4e0a<code>http:\/\/\u57df\u540d\/go\/?url=<\/code>\u5373\u53ef\u5b9e\u73b0\u5916\u94fe\u8df3\u8f6c\u4ece\u800c\u6709\u6548\u907f\u514d\u6743\u91cd\u6d41\u5931\uff0c\u6548\u679c\u5982\u4e0b\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6102\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2018\/09\/go-1024x633-1.png\" alt=\"\" width=\"1024\" height=\"633\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; WordPress\u5916&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/6099"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6099"}],"version-history":[{"count":3,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/6099\/revisions"}],"predecessor-version":[{"id":6104,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/6099\/revisions\/6104"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6099"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}