{"id":60671,"date":"2025-04-26T12:21:27","date_gmt":"2025-04-26T04:21:27","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60671\/"},"modified":"2025-04-26T12:21:27","modified_gmt":"2025-04-26T04:21:27","slug":"zen-cart-v1-39-admin%e5%90%8e%e5%8f%b0%e4%b8%8d%e8%83%bd%e7%99%bb%e5%bd%95%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60671\/","title":{"rendered":"Zen Cart v1.39 admin\u540e\u53f0\u4e0d\u80fd\u767b\u5f55\u7684\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>&nbsp;<span style=\"font-size: 12px;line-height: 22px\">Zen Cart v1.39\u52a0\u5f3a\u4e86\u5b89\u5168\u6027\u63aa\u65bd\uff0c\u5982\u679c\u4e0d\u91cd\u547d\u540dadmin\u6587\u4ef6\u5939\uff0c\u5c31\u4e0d\u80fd\u767b\u5f55\u7f51\u7ad9\u7ba1\u7406\u5458\u540e\u53f0\u3002\u4ec5\u4ec5\u91cd\u547d\u540dadmin\u6587\u4ef6\u5939\uff0c\u4e5f\u662f\u4e0d\u80fd\u767b\u5f55\u7684\uff0c\u8fd8\u8981\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u505a\u76f8\u5e94\u7684\u6539\u52a8\u3002<\/span><\/p>\n<p style=\"margin-top: 3px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;padding-top: 3px;padding-right: 3px;padding-bottom: 3px;padding-left: 3px;font-size: 12px;line-height: 22px\">\u5047\u8bbe\u8981\u628a&#8221;admin&#8221;\u6539\u4e3a&#8221;master&#8221;\uff0c\u4e0b\u9762\u662f\u6574\u4e2a\u91cd\u547d\u540d\u6b65\u9aa4\uff1a<\/p>\n<p style=\"margin-top: 3px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;padding-top: 3px;padding-right: 3px;padding-bottom: 3px;padding-left: 3px;font-size: 12px;line-height: 22px\">1. \u5148\u628azen cart\u6839\u76ee\u5f55\u4e0b\u7684admin\u91cd\u547d\u540d\u4e3amaster\u3002Linux\u4e0b\u7684\u547d\u4ee4\u4e3a\uff1a<\/p>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>1<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>mv admin master<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-top: 3px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;padding-top: 3px;padding-right: 3px;padding-bottom: 3px;padding-left: 3px;font-size: 12px;line-height: 22px\">2. \u7f16\u8f91zen cart\/master\/includes\/configure.php\u914d\u7f6e\u6587\u4ef6\uff0c\u628a&#8221;\/admin\/&#8221;\u5168\u90e8\u66ff\u6362\u4e3a&#8221;\/master\/&#8221;\uff0c\u4e00\u5171\u6709\u4e09\u5904\u66ff\u6362\u3002\u9ed8\u8ba4configure.php\u662f\u53ea\u8bfb\u6587\u4ef6\uff0cLinux\u4e0b\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u547d\u4ee4\u4fee\u6539\u6587\u4ef6\u5c5e\u6027\uff1a<\/p>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>1<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>chmod u+w configure.php #\u4f7f\u6587\u4ef6\u53ef\u5199<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>2<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>chmod u-w configure.php #\u4f7f\u6587\u4ef6\u53ea\u8bfb<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-top: 3px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;padding-top: 3px;padding-right: 3px;padding-bottom: 3px;padding-left: 3px;font-size: 12px;line-height: 22px\">3. \u901a\u8fc7http:\/\/www.***\/master\/\u767b\u5f55\u7ba1\u7406\u5458\u540e\u53f0\u3002<\/p>\n<p style=\"margin-top: 3px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;padding-top: 3px;padding-right: 3px;padding-bottom: 3px;padding-left: 3px;font-size: 12px;line-height: 22px\">\u6700\u540e\uff0c\u5982\u679c\u89c9\u5f97\u8fd9\u6837\u592a\u9ebb\u70e6\uff0c\u6216\u8005\u662f\u5bf9admin\u6709\u7740\u7279\u6b8a\u7684\u611f\u60c5\uff0c\u5219\u53ef\u4ee5\u7f16\u8f91\u6587\u4ef6\uff1a<\/p>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>1<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>zen cart\/admin\/includes\/init_includes\/init_admin_auth.php<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-top: 3px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;padding-top: 3px;padding-right: 3px;padding-bottom: 3px;padding-left: 3px;font-size: 12px;line-height: 22px\">\u5728\u7b2c\u4e00\u6761PHP\u8bed\u53e5\u4e0b\u9762\uff0c\u52a0\u4e0a\u4e00\u4e2adefine\u5e38\u91cf\uff0c\u5982\u4e0b\uff1a<\/p>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>1<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>if<\/code>&nbsp;<code>(!defined(<\/code><code>'IS_ADMIN_FLAG'<\/code><code>))&nbsp;<\/code><code>die<\/code><code>(<\/code><code>'Illegal Access'<\/code><code>);<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>2<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\">&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>3<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code># added by pcwl<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: baseline !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;line-height: 1.1em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-collapse: collapse !important;background-position: initial initial !important;background-repeat: initial initial !important\">\n<tbody>\n<tr>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0px !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 0px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: 3em !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>4<\/code><\/td>\n<td style=\"margin-top: 0px !important;margin-right: 0px !important;margin-bottom: 0px !important;margin-left: 0px !important;padding-top: 0px !important;padding-right: 0px !important;padding-bottom: 0px !important;padding-left: 0.5em !important;font: normal normal normal 14px\/normal Arial, sans-serif;line-height: 1.1em !important;border-top-width: 0px !important;border-right-width: 0px !important;border-bottom-width: 0px !important;border-left-width: 3px !important;border-style: initial !important;border-color: initial !important;background-image: none !important;background-attachment: initial !important;background-color: initial !important;text-align: left !important;float: none !important;vertical-align: top !important;position: static !important;left: auto !important;top: auto !important;right: auto !important;bottom: auto !important;height: auto !important;width: auto !important;font-weight: normal !important;font-style: normal !important;font-size: 1em !important;min-height: inherit !important;border-left-style: solid !important;background-position: initial initial !important;background-repeat: initial initial !important\"><code>define(<\/code><code>'ADMIN_BLOCK_WARNING_OVERRIDE'<\/code><code>, true);<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-top: 3px;margin-right: 0px;margin-bottom: 5px;margin-left: 0px;padding-top: 3px;padding-right: 3px;padding-bottom: 3px;padding-left: 3px;font-size: 12px;line-height: 22px\">\u8fd9\u6837\u5c31\u53ef\u4ee5\u4e0d\u7528\u91cd\u547d\u540dadmin\uff0c\u800c\u76f4\u63a5\u901a\u8fc7http:\/\/www.***\/admin\u6765\u8fdb\u5165\u540e\u53f0\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Zen Cart v1.39\u52a0\u5f3a\u4e86\u5b89\u5168\u6027\u63aa\u65bd\uff0c\u5982\u679c\u4e0d\u91cd\u547d\u540dadmin\u6587\u4ef6\u5939\uff0c\u5c31\u4e0d\u80fd\u767b\u5f55\u7f51\u7ad9\u7ba1\u7406\u5458\u540e\u53f0\u3002\u4ec5\u4ec5\u91cd\u547d\u540dadmin\u6587\u4ef6\u5939\uff0c\u4e5f\u662f\u4e0d\u80fd\u767b\u5f55\u7684\uff0c\u8fd8\u8981\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u505a\u76f8\u5e94\u7684\u6539\u52a8\u3002 \u5047\u8bbe\u8981\u628a&#8221;admin&#8221;\u6539\u4e3a&#8221;master&#8221;\uff0c\u4e0b\u9762\u662f\u6574\u4e2a\u91cd\u547d\u540d\u6b65\u9aa4\uff1a 1. \u5148\u628azen cart\u6839\u76ee\u5f55\u4e0b\u7684admin\u91cd\u547d\u540d\u4e3amaster\u3002Linux\u4e0b\u7684\u547d\u4ee4\u4e3a\uff1a 1 mv admin master 2. \u7f16\u8f91zen cart\/master\/includes\/configure.php\u914d\u7f6e\u6587\u4ef6\uff0c\u628a&#8221;\/admin\/&#8221;\u5168\u90e8\u66ff\u6362\u4e3a&#8221;\/master\/&#8221;\uff0c\u4e00\u5171\u6709\u4e09\u5904\u66ff\u6362\u3002\u9ed8\u8ba4configure.php\u662f\u53ea\u8bfb\u6587\u4ef6\uff0cLinux\u4e0b\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u547d\u4ee4\u4fee\u6539\u6587\u4ef6\u5c5e\u6027\uff1a 1 chmod u+w configure.php #\u4f7f\u6587\u4ef6\u53ef\u5199 2 chmod u-w configure.php #\u4f7f\u6587\u4ef6\u53ea\u8bfb 3. \u901a\u8fc7http:\/\/www.***\/master\/\u767b\u5f55\u7ba1\u7406\u5458\u540e\u53f0\u3002 \u6700\u540e\uff0c\u5982\u679c\u89c9\u5f97\u8fd9\u6837\u592a\u9ebb\u70e6\uff0c\u6216\u8005\u662f\u5bf9admin\u6709\u7740\u7279\u6b8a\u7684\u611f\u60c5\uff0c\u5219\u53ef\u4ee5\u7f16\u8f91\u6587\u4ef6\uff1a 1 zen cart\/admin\/includes\/init_includes\/init_admin_auth.php \u5728\u7b2c\u4e00\u6761PHP\u8bed\u53e5\u4e0b\u9762\uff0c\u52a0\u4e0a\u4e00\u4e2adefine\u5e38\u91cf\uff0c\u5982\u4e0b\uff1a 1 if&nbsp;(!defined(&#8216;IS_ADMIN_FLAG&#8217;))&nbsp;die(&#8216;Illegal Access&#8217;); 2 &nbsp; 3 # added by pcwl 4 define(&#8216;ADMIN_BLOCK_WARNING_OVERRIDE&#8217;, true); \u8fd9\u6837\u5c31\u53ef\u4ee5\u4e0d\u7528\u91cd\u547d\u540dadmin\uff0c\u800c\u76f4\u63a5\u901a\u8fc7http:\/\/www.***\/admin\u6765\u8fdb\u5165\u540e\u53f0\u4e86\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-60671","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=60671"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60671\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}