﻿﻿{"id":6958,"date":"2023-10-30T19:32:16","date_gmt":"2023-10-30T11:32:16","guid":{"rendered":"http:\/\/www.aiersheng.cc\/?p=6958"},"modified":"2023-10-30T19:32:43","modified_gmt":"2023-10-30T11:32:43","slug":"phpcms%e8%bd%ac%e7%a7%bb%e5%88%b0%e8%99%9a%e6%8b%9f%e7%a9%ba%e9%97%b4%e7%9a%84%e8%af%a6%e7%bb%86%e6%ad%a5%e9%aa%a4","status":"publish","type":"post","link":"https:\/\/www.aiersheng.cc\/?p=6958","title":{"rendered":"phpcms\u8f6c\u79fb\u5230\u865a\u62df\u7a7a\u95f4\u7684\u8be6\u7ec6\u6b65\u9aa4"},"content":{"rendered":"<p>1.<a href=\"http:\/\/localhost\/phpmyadmin\/\u767b\u9646\u6570\u636e\u5e93\u540e\u53f0\u5907\u4efd\u6570\u636e\u5e93\">http:\/\/localhost\/phpmyadmin\/\u767b\u9646\u6570\u636e\u5e93\u540e\u53f0\u5907\u4efd\u6570\u636e\u5e93<\/a> 2.D:\\PC<em>webserver\\wwwroot\\caches\\configs \u91cc\u9762\u7684 \u4ee3\u7801\u5982\u4e0b: cache.php&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;11\u884c \\&#8217;hostname\\&#8217; =&gt; \\&#8217;\u4f60\u7684\u57df\u540d\\&#8217;,\u5982\uff1a\\&#8217;hostname\\&#8217; =&gt; \\&#8217;wanzlqb.funpic.de\\&#8217;, datebase.php\uff08\u6570\u636e\u5e93\u6587\u4ef6\uff09\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b \\&#8217;hostname\\&#8217; =&gt; \\&#8217;\u6570\u636e\u5e93\u4e3b\u673a\u5730\u5740\\&#8217;, \\&#8217;database\\&#8217; =&gt; \\&#8217;\u6570\u636e\u5e93\u540d\u5b57\\&#8217;,\/\/\u4f60\u7684\u6570\u636e\u5e93\u540d \\&#8217;username\\&#8217; =&gt; \\&#8217;\u767b\u9646\u7684\u7528\u6237\u540d\\&#8217;, \\&#8217;password\\&#8217; =&gt; \\&#8217;\u767b\u9646\u5bc6\u7801\\&#8217;, \\&#8217;tablepre\\&#8217; =&gt; \\&#8217;v9<\/em>\\&#8217;, \\&#8217;charset\\&#8217; =&gt; \\&#8217;gbk\\&#8217;, \\&#8217;type\\&#8217; =&gt; \\&#8217;mysql\\&#8217;, \\&#8217;debug\\&#8217; =&gt; true, \\&#8217;pconnect\\&#8217; =&gt; 0, \\&#8217;autoconnect\\&#8217; =&gt; 0 system.php\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b \u628a\u5168\u90e8\u7684localhost\u66ff\u6362\u6210\u4f60\u7684\u57df\u540d 3.\u628awwwroot\u6587\u4ef6\u91cc\u9762\u7684\u5168\u90e8\u6587\u4ef6\u4e0a\u4f20\u5230\u865a\u62df\u7a7a\u95f4 4.\u767b\u9646\u865a\u62df\u7a7a\u95f4\u63d0\u4f9b\u7684mysql\u6570\u636e\u5e93 \u5bfc\u5165\u4f60\u7684\u5907\u4efd\/\/\u6ce8\u610f\u4f60\u5bfc\u5165\u7684\u5e93\u540d \u662f\u5426\u548c\u4f60\u5728datebase.php\u91cc\u9762\u586b\u5199\u7684\u4e00\u81f4 5.\u767b\u9646\u7f51\u7ad9\u540e\u53f0\u5730\u5740http:\/\/\u4f60\u7684\u57df\u540d\/admin.php \u4ee3\u7801\u5982\u4e0b: \/\/\u5982\u679c\u4f60\u7684\u9a8c\u8bc1\u7801\u5f02\u5e38\uff0c\u5230ftp\u4e0a\u4fee\u6539phpcms\\modules\\admin\u91cc\u9762\u7684index.php \/\/ \u6ce8\u91ca\u6389\u7b2c32\u884c\u5230\u7b2c35\u884c \/\/ $code = isset($_POST[\\&#8217;code\\&#8217;]) &amp;&amp; trim($_POST[\\&#8217;code\\&#8217;]) ?trim($_POST[\\&#8217;code\\&#8217;]) : showmessage(L(\\&#8217;input_code\\&#8217;), HTTP_REFERER); \/\/ if ($_SESSION[\\&#8217;code\\&#8217;] != strtolower($code)) { \/\/ showmessage(L(\\&#8217;code_error\\&#8217;), HTTP_REFERER); \/\/ } \u627e\u5230&#8212;&#8212;\u5bfc\u822a&#8211;\u8bbe\u7f6e&#8212;&#8212;\u91cc\u9762\u7684\u7ad9\u70b9&#8212;&#8212;-\u4fee\u6539&#8212;&#8212;localhost\u4e3a\u4f60\u7684\u57df\u540d&#8211;\u4fdd\u5b58&#8212;-\uff08\u5de6\u9762\u4fa7\u8fb9\u680f\uff09\u751f\u6210\u4e3b\u9875&#8211;ok&#8212;&#8212;&#8212;\u5bfc\u822a&#8212;-\u5185\u5bb9&#8212;&#8212;&#8211;\u66f4\u65b0\u4e4b\u7c7b\u7684<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.http:\/\/localhost\/phpmyadmin\/\u767b\u9646\u6570\u636e\u5e93\u540e\u53f0\u5907\u4efd\u6570\u636e\u5e93 2.D:\\PCwebse [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[68],"tags":[],"class_list":["post-6958","post","type-post","status-publish","format-aside","hentry","category-zzjy","post_format-post-format-aside"],"_links":{"self":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts\/6958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6958"}],"version-history":[{"count":0,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts\/6958\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}