{"id":445,"date":"2026-05-01T09:39:20","date_gmt":"2026-05-01T13:39:20","guid":{"rendered":"https:\/\/mliaomcx.com\/?p=445"},"modified":"2026-05-01T09:39:20","modified_gmt":"2026-05-01T13:39:20","slug":"%e3%80%8a%e5%91%8a%e5%88%ab%e7%b9%81%e7%90%90%e4%bb%a3%e7%a0%81%ef%bc%81ai-%e5%8a%a9%e6%89%8b%e6%8e%a5%e7%ae%a1%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e5%9b%9b%e6%ad%a5%e6%90%ad%e5%bb%ba%e5%85%a8","status":"publish","type":"post","link":"https:\/\/mliaomcx.com\/en\/%e3%80%8a%e5%91%8a%e5%88%ab%e7%b9%81%e7%90%90%e4%bb%a3%e7%a0%81%ef%bc%81ai-%e5%8a%a9%e6%89%8b%e6%8e%a5%e7%ae%a1%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e5%9b%9b%e6%ad%a5%e6%90%ad%e5%bb%ba%e5%85%a8\/","title":{"rendered":"\u300a\u544a\u522b\u7e41\u7410\u4ee3\u7801\uff01AI \u52a9\u624b\u63a5\u7ba1\u670d\u52a1\u5668\uff0c\u56db\u6b65\u642d\u5efa\u5168\u81ea\u52a8\u7ec8\u6781\u9632\u5fa1\u7f51\u300b"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><strong>\u6587\u7ae0\u524d\u8a00\uff1a<\/strong> \u8fd1\u671f\u6211\u7684\u7ad9\u70b9\u7ecf\u5386\u4e86\u4e00\u6b21\u60e8\u75db\u7684\u6697\u7f51\u626b\u63cf\u4e0e DDoS \u653b\u51fb\uff0c\u524d\u53f0\u762b\u75ea\uff0c\u6536\u5f55\u88ab\u52ab\u6301\u3002\u5728\u5229\u7528 AI \u5e95\u5c42\u62a2\u4fee\u6062\u590d\u6570\u636e\u540e\uff0c\u6211\u75db\u5b9a\u601d\u75db\uff0c\u6574\u7406\u4e86\u8fd9\u5957\u4ece\u670d\u52a1\u5668\u5e95\u5c42\u5230\u8fb9\u7f18 CDN \u7684\u201c\u56db\u5c42\u7edd\u5bf9\u9632\u5fa1\u201d\u65b9\u6848\u3002\u544a\u522b\u7e41\u7410\u7684\u65e5\u5fd7\u5206\u6790\uff0c\u6211\u4eec\u7528\u6700\u4f18\u96c5\u7684\u6781\u5ba2\u65b9\u5f0f\uff0c\u628a\u9ed1\u5ba2\u6321\u5728\u95e8\u5916\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u7b2c\u4e00\u5c42\u9632\u7ebf\uff1aNginx \u5e95\u5c42\u6743\u9650\u9501\u6b7b\uff08\u9632\u7be1\u6539\uff09<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f88\u591a\u7ad9\u957f\u4f7f\u7528 root \u6743\u9650\u6216 FTP \u62d6\u62fd\u4e0a\u4f20\u6587\u4ef6\u540e\uff0c\u4f1a\u5bfc\u81f4\u6587\u4ef6\u6743\u9650\u6df7\u4e71\uff0c\u7ed9\u6728\u9a6c\u7559\u4e0b\u540e\u95e8\u3002\u5fc5\u987b\u5c06\u6587\u4ef6\u6240\u6709\u6743\u79fb\u4ea4\u7ed9 Web \u73af\u5883\uff08\u5982 Nginx\uff09\uff0c\u5e76\u4e25\u683c\u9650\u5236\u8bfb\u5199\u6743\u9650\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u3010\u5f53\u7136\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u7528hermus\u6765\u5e72\u4e5f\u4e0d\u7528\u81ea\u5df1\u624b\u52a8\u8f93\u5165\u54c8\uff08\u6211\u5c31\u662f\u8fd9\u4e48\u5e72\u7684\uff09\u3011<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/mliaomcx.com\/en\/%e3%80%8a%e9%9b%b6%e5%9f%ba%e7%a1%80%e5%ae%9e%e6%88%98%ef%bc%9a%e5%9c%a8-vps-%e4%b8%8a%e7%94%a8-finalshell-%e9%83%a8%e7%bd%b2-hermes-agent-%e5%b9%b6%e6%8e%a5%e5%85%a5%e6%9c%80%e5%bc%ba-deepseek-v4\/\">hermus agent\u90e8\u7f72\u6559\u7a0b<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u5b9e\u64cd\u6307\u4ee4\uff08\u5728 SSH \u7ec8\u7aef\u6267\u884c\uff09\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># 1. \u5c06\u7f51\u7ad9\u76ee\u5f55\u7684\u6240\u6709\u6743\u79fb\u4ea4\u7ed9 Nginx (\u5047\u8bbe\u7528\u6237\u7ec4 ID \u4e3a 82)\nchown -R 82:82 \/home\/web\/html\/\u4f60\u7684\u57df\u540d\/wordpress\/\n\n# 2. \u5c06\u6240\u6709\u6587\u4ef6\u5939\u7684\u6743\u9650\u8bbe\u7f6e\u4e3a 755 (\u4e3b\u4eba\u53ef\u8bfb\u5199\u6267\u884c\uff0c\u8bbf\u5ba2\u53ea\u8bfb)\nfind \/home\/web\/html\/\u4f60\u7684\u57df\u540d\/wordpress\/ -type d -exec chmod 755 {} \\;\n\n# 3. \u5c06\u6240\u6709\u6587\u4ef6\u7684\u6743\u9650\u8bbe\u7f6e\u4e3a 644 (\u4e3b\u4eba\u53ef\u8bfb\u5199\uff0c\u8bbf\u5ba2\u53ea\u8bfb\uff0c\u675c\u7edd\u5916\u90e8\u7be1\u6539)\nfind \/home\/web\/html\/\u4f60\u7684\u57df\u540d\/wordpress\/ -type f -exec chmod 644 {} \\;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\ud83d\udca1 \u6838\u5fc3\u903b\u8f91\uff1a\u8fd9\u5957\u8fde\u62db\u6253\u5b8c\uff0c\u610f\u5473\u7740\u5916\u7f51\u8bbf\u5ba2\uff08\u5305\u62ec\u6076\u610f\u722c\u866b\uff09\u53ef\u4ee5\u201c\u770b\u201d\u4f60\u7684\u7f51\u9875\uff0c\u4f46\u7edd\u5bf9\u65e0\u6cd5\u201c\u6539\u201d\u4f60\u7684\u5e95\u5c42\u4ee3\u7801\u3002<\/em><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u7b2c\u4e8c\u5c42\u9632\u7ebf\uff1aWordfence WAF \u5e94\u7528\u7ea7\u9632\u706b\u5899\uff08\u9632\u5185\u9b3c\uff09<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u5e95\u5c42\u9501\u6b7b\u540e\uff0c\u6211\u4eec\u9700\u8981\u9632\u8303\u4ece\u6b63\u5e38\u8868\u5355\uff08\u5982\u6f0f\u6d1e\u63d2\u4ef6\uff09\u6df7\u5165\u7684\u6076\u610f\u8bf7\u6c42\u3002Wordfence \u662f\u76ee\u524d\u6700\u6210\u719f\u7684 WordPress \u8d34\u8eab\u4fdd\u9556\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u6838\u5fc3\u8bbe\u7f6e\u6b65\u9aa4\uff1a<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>\u5728\u63d2\u4ef6\u5e02\u573a\u641c\u7d22\u5e76\u5b89\u88c5 <code>Wordfence Security<\/code>\u3002<\/li>\n\n\n\n<li>\u8fdb\u5165 Wordfence -> Scan (\u626b\u63cf) -> Scan Options and Scheduling\u3002<\/li>\n\n\n\n<li>\u52a1\u5fc5\u52fe\u9009 <strong>High Sensitivity (\u9ad8\u7075\u654f\u5ea6\u626b\u63cf)<\/strong> \u6a21\u5f0f\u3002<\/li>\n\n\n\n<li>\u8fd0\u884c\u4e00\u6b21\u5168\u76d8\u626b\u63cf\uff0c\u5c06\u4efb\u4f55\u62a5\u7ea2\u7684\u201c\u672a\u77e5\u6587\u4ef6 (Unknown file)\u201d\u76f4\u63a5 Delete\uff08\u5220\u9664\uff09\u3002<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">\u7b2c\u4e09\u5c42\u9632\u7ebf\uff1aCloudflare \u9690\u85cf\u771f\u5b9e IP\uff08\u6297 DDoS\uff09<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u6c38\u8fdc\u4e0d\u8981\u8ba9\u4f60\u7684\u670d\u52a1\u5668\u88f8\u5954\u5728\u516c\u7f51\u4e0a\u3002\u5229\u7528 Cloudflare \u7684\u514d\u8d39 CDN \u7f51\u7edc\u4f5c\u4e3a\u4ee3\u7406\uff0c\u9690\u85cf\u4f60\u7684\u771f\u5b9e\u670d\u52a1\u5668 IP\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u6838\u5fc3\u8bbe\u7f6e\u6b65\u9aa4\uff1a<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>\u5c06\u57df\u540d\u7684 DNS \u89e3\u6790\u6258\u7ba1\u7ed9 Cloudflare\uff0c\u5e76\u70b9\u4eae\u6a59\u8272\u201c\u5c0f\u9ec4\u4e91\u201d\uff08Proxy status: Proxied\uff09\u3002<\/li>\n\n\n\n<li>\u5728 Cloudflare \u7684 <strong>SSL\/TLS<\/strong> \u8bbe\u7f6e\u4e2d\uff0c\u5c06\u52a0\u5bc6\u6a21\u5f0f\u6539\u4e3a <strong>Full (Strict) \u4e25\u683c\u6a21\u5f0f<\/strong>\u3002<\/li>\n\n\n\n<li>\u5728\u670d\u52a1\u5668\u9762\u677f\u4e0a\u53ea\u653e\u884c Cloudflare \u7684\u5b98\u65b9 IP \u6bb5\uff0c\u62e6\u622a\u4e00\u5207\u7ed5\u8fc7 CDN \u7684\u76f4\u8fde\u8bbf\u95ee\u3002<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">\u7b2c\u56db\u5c42\u9632\u7ebf\uff1aCloudflare Turnstile \u65e0\u611f\u9a8c\u8bc1\uff08\u964d\u7ef4\u6253\u51fb\u722c\u866b\uff09<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f20\u7edf\u7684\u9632\u7206\u7834\u5de5\u5177\uff08\u5982 Fail2ban\uff09\u662f\u88ab\u52a8\u5c01\u7981\uff0c\u6781\u5176\u6d88\u8017\u670d\u52a1\u5668 CPU\u3002\u6211\u4eec\u76f4\u63a5\u5728\u8fb9\u7f18\u8282\u70b9\u5229\u7528 Turnstile \u8fdb\u884c\u4e3b\u52a8\u62e6\u622a\uff0c\u5c06\u81ea\u52a8\u5316\u811a\u672c\u627c\u6740\u5728\u6447\u7bee\u91cc\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u6838\u5fc3\u8bbe\u7f6e\u6b65\u9aa4\uff1a<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>\u767b\u5f55 Cloudflare \u63a7\u5236\u53f0\uff0c\u8fdb\u5165 <strong>Turnstile<\/strong> \u9762\u677f\uff0c\u6dfb\u52a0\u4f60\u7684\u7ad9\u70b9\uff0c\u83b7\u53d6 <code>Site Key<\/code> \u548c <code>Secret Key<\/code>\u3002<\/li>\n\n\n\n<li>\u5728 WordPress \u540e\u53f0\u5b89\u88c5 <code>Simple Cloudflare Turnstile<\/code> \u63d2\u4ef6\u3002<\/li>\n\n\n\n<li>\u586b\u5165\u5bc6\u94a5\uff0c\u5e76\u52fe\u9009\u4ee5\u4e0b\u56db\u4e2a\u8868\u5355\u62a4\u76fe\uff1a\n<ul class=\"wp-block-list\">\n<li><code>WordPress Login<\/code> (\u4fdd\u62a4\u540e\u53f0\u9632\u7206\u7834)<\/li>\n\n\n\n<li><code>WordPress Register<\/code> (\u9632\u5783\u573e\u6ce8\u518c)<\/li>\n\n\n\n<li><code>WordPress Reset Password<\/code> (\u9632\u91cd\u7f6e\u90ae\u4ef6\u8f70\u70b8)<\/li>\n\n\n\n<li><code>WordPress Comment<\/code> (\u9632\u5783\u573e\u8bc4\u8bba)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u91cd\u8981\u4f53\u9a8c\u4f18\u5316<\/strong>\uff1a\u5728\u63d2\u4ef6\u5e95\u90e8\uff0c\u5c06 <code>Logged In Users<\/code> (\u5df2\u767b\u5f55\u7528\u6237) \u52a0\u5165\u767d\u540d\u5355\uff0c\u8fd9\u6837\u4f60\u81ea\u5df1\u7ba1\u7406\u7f51\u7ad9\u65f6\u5c31\u4e0d\u4f1a\u88ab\u76fe\u724c\u6253\u6270\u3002<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u535a\u6587\u7ed3\u8bed\uff1a<\/strong> \u505a\u5b8c\u8fd9\u56db\u6b65\uff0c\u4f60\u7684\u670d\u52a1\u5668\u4e0d\u4ec5 CPU \u4f1a\u56de\u5f52\u5e73\u9759\uff0c\u800c\u4e14\u666e\u901a\u8bfb\u8005\u7684\u8bbf\u95ee\u4f53\u9a8c\u4f9d\u7136\u4e1d\u6ed1\u3002\u5efa\u7ad9\u4e0d\u6613\uff0c\u9632\u5fa1\u5148\u884c\u3002\u5e0c\u671b\u8fd9\u5957\u65b9\u6848\u80fd\u5e2e\u5230\u5927\u5bb6\uff01<\/p>","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u524d\u8a00\uff1a \u8fd1\u671f\u6211\u7684\u7ad9\u70b9\u7ecf\u5386\u4e86&#8230;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-445","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/mliaomcx.com\/en\/wp-json\/wp\/v2\/posts\/445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mliaomcx.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mliaomcx.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mliaomcx.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mliaomcx.com\/en\/wp-json\/wp\/v2\/comments?post=445"}],"version-history":[{"count":2,"href":"https:\/\/mliaomcx.com\/en\/wp-json\/wp\/v2\/posts\/445\/revisions"}],"predecessor-version":[{"id":450,"href":"https:\/\/mliaomcx.com\/en\/wp-json\/wp\/v2\/posts\/445\/revisions\/450"}],"wp:attachment":[{"href":"https:\/\/mliaomcx.com\/en\/wp-json\/wp\/v2\/media?parent=445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mliaomcx.com\/en\/wp-json\/wp\/v2\/categories?post=445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mliaomcx.com\/en\/wp-json\/wp\/v2\/tags?post=445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}