{"id":24242,"date":"2024-05-27T15:40:56","date_gmt":"2024-05-27T07:40:56","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=24242"},"modified":"2024-05-27T15:40:56","modified_gmt":"2024-05-27T07:40:56","slug":"wordpress%e7%94%9f%e6%88%90winexe%e6%80%8e%e4%b9%88%e5%ae%9e%e7%8e%b0%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/24242\/","title":{"rendered":"wordpress\u751f\u6210winexe\u600e\u4e48\u5b9e\u73b0\uff1f"},"content":{"rendered":"
WordPress\u662f\u4e00\u6b3e\u975e\u5e38\u6d41\u884c\u7684\u5f00\u6e90\u535a\u5ba2\u53d1\u5e03\u5e73\u53f0\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4e30\u5bcc\u7684\u63d2\u4ef6\u548c\u4e3b\u9898\u5e93\uff0c\u53ef\u4ee5\u8ba9\u7528\u6237\u81ea\u7531\u5730\u6269\u5c55\u548c\u5b9a\u5236\u5176\u535a\u5ba2\u7f51\u7ad9\u3002\u5176\u4e2d\uff0cWinexe\u662f\u4e00\u6b3e\u53ef\u4ee5\u5c06Windows\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u6253\u5305\u6210WordPress\u63d2\u4ef6\u7684\u5de5\u5177\u3002\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecdWinexe\u7684\u539f\u7406\u548c\u8be6\u7ec6\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n
\u4e00\u3001Winexe\u7684\u539f\u7406<\/p>\n
Winexe\u662f\u4e00\u6b3e\u57fa\u4e8ePHP\u7684WordPress\u63d2\u4ef6\uff0c\u5b83\u53ef\u4ee5\u5c06Windows\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u6253\u5305\u6210WordPress\u63d2\u4ef6\u3002\u5177\u4f53\u5b9e\u73b0\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n
1. Winexe\u5c06Windows\u53ef\u6267\u884c\u7a0b\u5e8f\u8f6c\u6362\u6210base64\u683c\u5f0f\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n
2. \u5728WordPress\u63d2\u4ef6\u4e2d\u521b\u5efa\u4e00\u4e2aPHP\u6587\u4ef6\uff0c\u5c06base64\u683c\u5f0f\u7684\u5b57\u7b26\u4e32\u4f5c\u4e3a\u53d8\u91cf\u5d4c\u5165\u5230PHP\u4ee3\u7801\u4e2d\u3002<\/p>\n
3. \u5728\u63d2\u4ef6\u7684PHP\u6587\u4ef6\u4e2d\uff0c\u4f7f\u7528base64_decode()\u51fd\u6570\u5c06base64\u683c\u5f0f\u7684\u5b57\u7b26\u4e32\u89e3\u7801\u6210\u539f\u59cb\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u3002<\/p>\n
4. \u5c06\u89e3\u7801\u540e\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u4fdd\u5b58\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u5e76\u5728\u9700\u8981\u65f6\u6267\u884c\u3002<\/p>\n
\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0cWinexe\u5c06Windows\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\u8f6c\u6362\u6210\u4e86WordPress\u63d2\u4ef6\uff0c\u5e76\u53ef\u4ee5\u5728WordPress\u4e2d\u76f4\u63a5\u8c03\u7528\u548c\u4f7f\u7528\u3002<\/p>\n
\u4e8c\u3001Winexe\u7684\u4f7f\u7528\u65b9\u6cd5<\/p>\n
\u4e0b\u9762\u6211\u4eec\u5c06\u4ecb\u7ecdWinexe\u7684\u8be6\u7ec6\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n
1. \u4e0b\u8f7dWinexe<\/p>\n
Winexe\u53ef\u4ee5\u4eceGitHub\u4e0a\u4e0b\u8f7d\uff0c\u4e0b\u8f7d\u5730\u5740\u4e3ahttps:\/\/github.com\/rabitt\/winexe\u3002<\/p>\n
2. \u5b89\u88c5Winexe<\/p>\n
Winexe\u662f\u4e00\u4e2aWordPress\u63d2\u4ef6\uff0c\u56e0\u6b64\u9700\u8981\u5c06\u5176\u5b89\u88c5\u5230WordPress\u4e2d\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n
\uff081\uff09\u5c06\u4e0b\u8f7d\u7684Winexe\u6587\u4ef6\u5939\u89e3\u538b\u7f29\u5230WordPress\u7684wp-content\/plugins\u76ee\u5f55\u4e0b\u3002<\/p>\n
\uff082\uff09\u767b\u5f55WordPress\u540e\u53f0\uff0c\u8fdb\u5165\u63d2\u4ef6\u7ba1\u7406\u9875\u9762\uff0c\u627e\u5230Winexe\u63d2\u4ef6\u5e76\u6fc0\u6d3b\u3002<\/p>\n
3. \u6253\u5305Windows\u53ef\u6267\u884c\u7a0b\u5e8f<\/p>\n
\u5c06\u9700\u8981\u6253\u5305\u7684Windows\u53ef\u6267\u884c\u7a0b\u5e8f\u590d\u5236\u5230Winexe\u63d2\u4ef6\u7684\u76ee\u5f55\u4e0b\u3002<\/p>\n
\u6253\u5f00\u547d\u4ee4\u884c\u7a97\u53e3\uff0c\u8fdb\u5165Winexe\u63d2\u4ef6\u76ee\u5f55\uff0c\u5e76\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
“`<\/p>\n
php winexe.php<\/p>\n
“`<\/p>\n
\u6267\u884c\u6210\u529f\u540e\uff0c\u53ef\u6267\u884c\u7a0b\u5e8f\u5c06\u88ab\u8f6c\u6362\u4e3abase64\u683c\u5f0f\u7684\u5b57\u7b26\u4e32\uff0c\u5e76\u4fdd\u5b58\u5728Winexe\u63d2\u4ef6\u76ee\u5f55\u4e0b\u7684winexe.txt\u6587\u4ef6\u4e2d\u3002<\/p>\n
4. \u521b\u5efaWordPress\u63d2\u4ef6<\/p>\n
\u5728WordPress\u63d2\u4ef6\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u76ee\u5f55\uff0c\u4f8b\u5982winexe-plugin\u3002<\/p>\n
\u5728\u8be5\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u65b0\u7684PHP\u6587\u4ef6\uff0c\u4f8b\u5982winexe-plugin.php\u3002<\/p>\n