﻿{"id":7971,"date":"2024-01-10T09:32:10","date_gmt":"2024-01-10T01:32:10","guid":{"rendered":"http:\/\/www.aiersheng.cc\/?p=7971"},"modified":"2024-07-31T11:42:47","modified_gmt":"2024-07-31T03:42:47","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-2","status":"publish","type":"post","link":"https:\/\/www.aiersheng.cc\/?p=7971","title":{"rendered":"phpcms\u8f6c\u79fb\u5230\u865a\u62df\u7a7a\u95f4\u7684\u8be6\u7ec6\u6b65\u9aa4"},"content":{"rendered":"<p>1.http:\/\/localhost\/phpmyadmin\/\u767b\u9646\u6570\u636e\u5e93\u540e\u53f0\u5907\u4efd\u6570\u636e\u5e93<br \/>\n2.D:\\PC_webserver\\wwwroot\\caches\\configs \u91cc\u9762\u7684<br \/>\n\u4ee3\u7801\u5982\u4e0b:<\/p>\n<p>cache.php>>>>>>>>>>>>>11\u884c<br \/>\n&#8216;hostname&#8217; => &#8216;\u4f60\u7684\u57df\u540d&#8217;,\u5982\uff1a&#8217;hostname&#8217; => &#8216;wanzlqb.funpic.de&#8217;,<br \/>\ndatebase.php\uff08\u6570\u636e\u5e93\u6587\u4ef6\uff09\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b<br \/>\n\u3000\u3000&#8217;hostname&#8217; => &#8216;\u6570\u636e\u5e93\u4e3b\u673a\u5730\u5740&#8217;,<br \/>\n&#8216;database&#8217; => &#8216;\u6570\u636e\u5e93\u540d\u5b57&#8217;,\/\/\u4f60\u7684\u6570\u636e\u5e93\u540d<br \/>\n&#8216;username&#8217; => &#8216;\u767b\u9646\u7684\u7528\u6237\u540d&#8217;,<br \/>\n&#8216;password&#8217; => &#8216;\u767b\u9646\u5bc6\u7801&#8217;,<br \/>\n&#8216;tablepre&#8217; => &#8216;v9_&#8217;,<br \/>\n&#8216;charset&#8217; => &#8216;gbk&#8217;,<br \/>\n&#8216;type&#8217; => &#8216;mysql&#8217;,<br \/>\n&#8216;debug&#8217; => true,<br \/>\n&#8216;pconnect&#8217; => 0,<br \/>\n&#8216;autoconnect&#8217; => 0<br \/>\nsystem.php\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b\u300b<\/p>\n<p>\u3000\u3000\u628a\u5168\u90e8\u7684localhost\u66ff\u6362\u6210\u4f60\u7684\u57df\u540d<\/p>\n<p>3.\u628awwwroot\u6587\u4ef6\u91cc\u9762\u7684\u5168\u90e8\u6587\u4ef6\u4e0a\u4f20\u5230\u865a\u62df\u7a7a\u95f4<br \/>\n4.\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<br \/>\n5.\u767b\u9646\u7f51\u7ad9\u540e\u53f0\u5730\u5740http:\/\/\u4f60\u7684\u57df\u540d\/admin.php<\/p>\n<p>\u4ee3\u7801\u5982\u4e0b:<\/p>\n<p>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\/\/\u5982\u679c\u4f60\u7684\u9a8c\u8bc1\u7801\u5f02\u5e38\uff0c\u5230ftp\u4e0a\u4fee\u6539phpcms\\modules\\admin\u91cc\u9762\u7684index.php<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\/\/\u3000\u3000\u3000\u3000\u6ce8\u91ca\u6389\u7b2c32\u884c\u5230\u7b2c35\u884c<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\/\/\u3000\u3000\u3000\u3000$code = isset($_POST[&#8216;code&#8217;]) &#038;&#038; trim($_POST[&#8216;code&#8217;]) ?trim($_POST[&#8216;code&#8217;]) : showmessage(L(&#8216;input_code&#8217;), HTTP_REFERER);<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\/\/\u3000\u3000\u3000\u3000if ($_SESSION[&#8216;code&#8217;] != strtolower($code)) {<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\/\/\u3000\u3000\u3000\u3000showmessage(L(&#8216;code_error&#8217;), HTTP_REFERER);<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\/\/\u3000\u3000\u3000}<\/p>\n<p>\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:\\PC_webs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7973,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[],"content_type":[],"class_list":["post-7971","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-zzjy"],"_links":{"self":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts\/7971","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=7971"}],"version-history":[{"count":0,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts\/7971\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/media\/7973"}],"wp:attachment":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7971"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcontent_type&post=7971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}