{"id":199375,"date":"2025-05-03T11:42:44","date_gmt":"2025-05-03T03:42:44","guid":{"rendered":"https:\/\/server.hk\/cnblog\/199375\/"},"modified":"2025-05-03T11:42:44","modified_gmt":"2025-05-03T03:42:44","slug":"%e8%a7%a3%e5%86%b3ecshop%e4%bc%9a%e5%91%98%e6%89%be%e5%9b%9e%e5%af%86%e7%a0%81%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8%e7%9a%84bug","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/199375\/","title":{"rendered":"\u89e3\u51b3ecshop\u4f1a\u5458\u627e\u56de\u5bc6\u7801\u65e0\u6cd5\u4f7f\u7528\u7684BUG"},"content":{"rendered":"<p> \u4f7f\u7528ecshop\u6700\u65b0\u7248\u4f1a\u5458 \u627e\u56de\u5bc6\u7801\u5e76\u91cd\u7f6e\u65b0\u5bc6\u7801\u540e\u65e0\u6cd5\u4f7f\u7528\u65b0\u5bc6\u7801\u767b\u9646\u3002<\/p>\n<p> \u5206\u6790\u7ed3\u679c\uff1a<\/p>\n<p> ecshop\u5bc6\u7801\u539f\u5219\u4e0a\u4f7f\u7528\u4e00\u6b21\u6027md5\u52a0\u5bc6\uff0c\u5f53\u6ce8\u518c\u65b0\u7528\u6237\u6210\u529f\u540e\u89c2\u5bdf\u6570\u636e\u5e93\u5bc6\u7801\u5b57\u6bb5\uff0c\u786e\u5b9e\u4e3amd5\u503c<\/p>\n<p> \u800c\u5f53\u7528\u6237\u7b2c\u4e00\u6b21\u767b\u9646\uff0cecshop\u505a\u4e86\u4e00\u6b21\u975e\u5e38\u725b\u903c\u7684\u52a8\u4f5c\uff0c\u5224\u65ad\u7528\u6237\u6570\u636e\u884c\u662f\u5426\u5b58\u5728ec_salt, \u5982\u679c\u4e0d\u5b58\u5728\u5219\u751f\u6210\u4e00\u4e2aec_salt\u5e76\u91cd\u5199\u5bc6\u7801\uff01<\/p>\n<p> \u5c31\u662f\u8bf4\uff0c\u4f60\u6ce8\u518c\u65f6\u5199\u5165\u6570\u636e\u5e93\u7684\u5bc6\u7801\u548c\u767b\u9646\u540e\u7684\u5bc6\u7801\u503c\u53d1\u751f\u4e86\u6539\u53d8\u3002\u4ee5\u540e\u518d\u6b21\u767b\u9646\u65f6\uff0c\u4f7f\u7528ec_salt\u503c\u4e0epost\u7684\u5bc6\u7801\u8fdb\u884c\u4e8c\u6b21md5\u52a0\u5bc6\u8fdb\u884c\u9a8c\u8bc1<\/p>\n<p> \u4e4b\u5904\u5728\u4e8e\uff0c\u5f53\u4f60\u4f7f\u7528\u5bc6\u7801\u627e\u56de\u65f6\uff0c\u5176\u53ea\u662f\u7b80\u5355\u964d\u5bc6\u7801\u5b57\u6bb5\u91cd\u7f6e\u4e3a\u4e00\u6b21\u6027md5, \u6ce8\u610f\uff0c\u6b64\u65f6ec_salt\u5df2\u5b58\u5728\u503c<\/p>\n<p> \u7528\u6237\u4f7f\u7528\u65b0\u5bc6\u7801\uff0c\u65e7\u7684ec_salt\uff08salt\u52a0\u5bc6\u65b9\u5f0f\uff09\u8fdb\u884c\u767b\u9646\uff0cwtf\uff0c\u5f53\u7136\u4e0d\u80fd\u767b\u9646<\/p>\n<p> \u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<p> \u672c\u6ca1\u6253\u7b97\u7ec6\u770b\u5176\u7a0b\u5e8f\u5e95\u5c42\uff0c\u4ec5\u4ec5\u5728includes\/modules\/integrates\/ecshop.php line 170\u884c\uff0c\u589e\u52a0\u4e86,ec_salt=&#8221;<\/p>\n<p> \u5f3a\u5236\u5728\u5176\u767b\u9646\u65f6\u91cd\u7f6eec_salt.\u5373\u53ef<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528ecshop\u6700\u65b0\u7248\u4f1a\u5458 \u627e\u56de&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-199375","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=199375"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199375\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=199375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=199375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=199375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}