{"id":207,"date":"2026-10-27T19:15:17","date_gmt":"2026-10-27T11:15:17","guid":{"rendered":"https:\/\/xgang-the-reboot.top\/?p=207"},"modified":"2026-10-27T19:15:18","modified_gmt":"2026-10-27T11:15:18","slug":"web-%e5%88%b7%e9%a2%98-%e7%ac%ac%e4%ba%8c%e5%91%a8","status":"publish","type":"post","link":"https:\/\/xgang-the-reboot.top\/index.php\/notes\/web-%e5%88%b7%e9%a2%98-%e7%ac%ac%e4%ba%8c%e5%91%a8\/","title":{"rendered":"WEB \u5237\u9898-\u7b2c\u4e8c\u5468"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u5077\u5403\u4fdd\u9669<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.nssctf.cn\/contest\/875\/problem\">\u6765\u6e90<\/a>-NSSCTF<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u505a\u5b8c\u4e4b\u540e\u6211\u633a\u597d\u5947\u8fd9\u662f\u5bc6\u7801\u8fd8\u662fWEB<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7528\u5230\u7684\u5de5\u5177<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">CyberChef<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7528\u5230\u7684\u77e5\u8bc6<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u5f02\u6216\u8fd0\u7b97\uff1aXOR<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u53c2\u8003\u77e5\u8bc6\uff1a<a href=\"https:\/\/zh.wikipedia.org\/wiki\/%E9%80%BB%E8%BE%91%E5%BC%82%E6%88%96\">\u7ef4\u57fa\u767e\u79d1-\u903b\u8f91\u5f02\u6216<\/a> \uff1b <a href=\"https:\/\/zh.wikipedia.org\/wiki\/%E5%BC%82%E6%88%96%E5%AF%86%E7%A0%81\">\u7ef4\u57fa\u767e\u79d1-\u5f02\u6216\u5bc6\u7801<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7b80\u5355\u7ffb\u4e86\u4e00\u4e0b\u641c\u7d22\u5f15\u64ce\uff0c\u5176\u8fd0\u7b97\u89c4\u5219\u5728\u6570\u5b66\u6709\u5b9a\u4e49\u7684\uff1a<\/p>\n\n\n\n<div class=\"wp-block-math\"><math display=\"block\"><semantics><mtable columnalign=\"center\"><mtr><mtd style=\"padding-left:0em;padding-right:0em;\"><mrow><mn>0<\/mn><mo>\u2295\ufe0e<\/mo><mn>1<\/mn><mo>=<\/mo><mn>0<\/mn><\/mrow><\/mtd><\/mtr><mtr><mtd style=\"padding-left:0em;padding-right:0em;\"><mrow><mn>0<\/mn><mo>\u2295\ufe0e<\/mo><mn>0<\/mn><mo>=<\/mo><mn>1<\/mn><\/mrow><\/mtd><\/mtr><mtr><mtd style=\"padding-left:0em;padding-right:0em;\"><mrow><mtext>\u5176<\/mtext><mtext>\u4e2d<\/mtext><mn>0<\/mn><mtext>\u4ee3<\/mtext><mtext>\u8868<\/mtext><mtext>\u5047<\/mtext><mtext>\uff0c<\/mtext><mn>1<\/mn><mtext>\u4ee3<\/mtext><mtext>\u8868<\/mtext><mtext>\u771f<\/mtext><\/mrow><\/mtd><\/mtr><mtr><mtd style=\"padding-left:0em;padding-right:0em;\"><mrow><mtext>\u800c<\/mtext><mi>&#8220;<\/mi><mo>\u2295\ufe0e<\/mo><mi>&#8220;<\/mi><mtext>\u5728<\/mtext><mtext>\u7f16<\/mtext><mtext>\u7a0b<\/mtext><mtext>\u8bed<\/mtext><mtext>\u8a00<\/mtext><mtext>\u4e2d<\/mtext><mtext>\u901a<\/mtext><mtext>\u5e38<\/mtext><mtext>\u7528<\/mtext><mi>&#8220;<\/mi><mover><mtext>&nbsp;<\/mtext><mo stretchy=\"false\" style=\"math-style:normal;math-depth:0;\">\u02c6<\/mo><\/mover><mi>&#8220;<\/mi><mtext>\u6765<\/mtext><mtext>\u4ee3<\/mtext><mtext>\u66ff<\/mtext><\/mrow><\/mtd><\/mtr><\/mtable><annotation encoding=\"application\/x-tex\">\\begin{matrix}\n0 \\oplus 1 = 0 \\\\\n0 \\oplus 0 = 1 \\\\\n\u5176\u4e2d 0 \u4ee3\u8868 \u5047\uff0c1 \u4ee3\u8868\u771f \\\\\n\u800c &#8220;\\oplus&#8221; \u5728\u7f16\u7a0b\u8bed\u8a00\u4e2d\u901a\u5e38\u7528 &#8221; \\^\\ &#8221; \u6765\u4ee3\u66ff  \n\\end{matrix}<\/annotation><\/semantics><\/math><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u663e\u7136\uff0c\u5f02\u6216\u8fd0\u7b97\u7528\u6765\u52a0\u5bc6<strong>\u4e8c\u8fdb\u5236<\/strong>\u6570\u636e\u7b80\u5355\u6709\u6548\uff0c\u90a3\u4e48\uff0c\u8fd9\u662f\u600e\u4e48\u8fd0\u884c\u7684\u5462\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u660e\u786e\u524d\u63d0\uff0c\u5f02\u6216\u8fd0\u7b97\u53ea\u80fd\u5904\u7406\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u56e0\u4e3a\u5b83\u9700\u8981\u5bf9 1 \u548c 0 \u8fdb\u884c\u8fd0\u7b97\uff0c\u6240\u4ee5\u5728\u8f93\u5165\u6570\u636e\u7684\u65f6\u5019\u8bb0\u5f97\u5168\u90fd\u8f6c\u5316\u6210\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u522b\u76f4\u63a5\u628a\u5b57\u7b26\u4e32\u4f20\u8fdb\u53bb\uff0c\u7c7b\u4f3c\u7684\uff0c\u770b <a href=\"https:\/\/xgang-the-reboot.top\/index.php\/notes\/web-practice-week1\/#Base64Theory\">\u8fd9\u91cc<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u4e8eCTF\u9898\u76ee\uff0c\u4e00\u822c\u4f1a\u6309\u7167\u4e0b\u8ff0\u987a\u5e8f\u5bf9\u6570\u636e\u8fdb\u884c\u52a0\u5bc6\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8f93\u5165\u6570\u636e >><\/li>\n\n\n\n<li>To Binary \u4e8c\u8fdb\u5236\u7f16\u7801<\/li>\n\n\n\n<li>XOR \u5f02\u6216\u8fd0\u7b97\uff08\u9700\u8981\u5bc6\u94a5\uff09<\/li>\n\n\n\n<li>Base64\u7f16\u7801<\/li>\n\n\n\n<li>>> \u8f93\u51fa\u6570\u636e<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u5f00\u59cb\u505a\u9898<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8001\u89c4\u77e9\uff0c\u5148\u770b\u9875\u9762\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u89c1\u5230\u7684\u662f\u4e00\u4e2a\u5c0f\u6e38\u620f\u754c\u9762\uff0c\u83ab\u614c\uff0c\u8ba9\u6211\u73a9\u4e24\u4e0b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u622a\u56fe_26-10-26_3-1024x576.png\" alt=\"\" class=\"wp-image-208\" srcset=\"https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u622a\u56fe_26-10-26_3-1024x576.png 1024w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u622a\u56fe_26-10-26_3-300x169.png 300w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u622a\u56fe_26-10-26_3-768x432.png 768w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u622a\u56fe_26-10-26_3-1536x864.png 1536w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u622a\u56fe_26-10-26_3-2048x1152.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u73a9\u4e86\u4e24\u4e0b\u8fbe\u6210\u4e86 S \u8bc4\u7ea7\uff0c\u4f46\u662f SSS \u9608\u503c\u662f 0.1 \u79d2\uff0c\u663e\u7136\u4e0d\u662f\u8ba9\u6211\u4eec\u73a9\u6e38\u620f\u73a9\u7684\u3001<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"646\" src=\"https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-3-1024x646.png\" alt=\"\" class=\"wp-image-209\" srcset=\"https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-3-1024x646.png 1024w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-3-300x189.png 300w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-3-768x485.png 768w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-3-1536x969.png 1536w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-3.png 1542w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6240\u4ee5\u5f00\u542f <strong>Ctrl+U<\/strong> \u4e4b\u529b\uff01\u67e5\u770b\u7f51\u9875\u6e90\u7801\u3002\u5728\u5f00\u5934\u770b\u5230\u4e86\u5f88\u91cd\u8981\u7684\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html&gt;\n...\n&lt;!--\n  AUTO UNLOCK \/\/ \u4fdd\u9669\u7bb1\u6ce2\u5f62\u6821\u51c6\n  \u90e8\u7f72\u8bf4\u660e\u89c1 README.md\uff1bflagEnc \u7531\u5bb9\u5668\u542f\u52a8\u65f6\u6ce8\u5165\u5230 _check.js\uff08XOR 0x5A + Base64\uff09\u3002\n--&gt;\n...<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Flag\u88ab\u7f16\u7801\u4e86\uff0c\u76f8\u5173\u73af\u5883\u53d8\u91cf\u88ab\u6ce8\u5165\u5230\u4e86 <strong>_check.js<\/strong> \u6587\u4ef6\u91cc<\/li>\n\n\n\n<li>\u8003\u70b9\u5df2\u77e5\uff1aXOR + Base64<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u7f51\u67e5\u8be2\u5f97\u77e5 XOR \u5c31\u662f <strong>\u5f02\u6216\u8fd0\u7b97\u52a0\u5bc6<\/strong> \u7684\u610f\u601d\uff0c\u9700\u8981\u4e00\u4e2a\u5bc6\u94a5\u6765\u5f53\u52a0\u5bc6\u8fd0\u7b97\u7684\u79cd\u5b50\u3002\u4f46\u662f\u8fd9\u91cc\u76f4\u63a5\u5217\u51fa\u6765\u4e86\uff0c\u6700\u5927\u7684\u9ebb\u70e6\u89e3\u51b3\u4e86\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6240\u4ee5\u628a\u5bf9\u5e94\u811a\u672c\u6587\u4ef6\u4e0b\u8f7d\u4e0b\u6765\uff0c\u53d1\u73b0\u4e86\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\n \n},\n  sss:{ requireNoMiss:true, requireSingleLap:true, requireTimeLimit:true, maxTime:0.1 },\n  kskblzdjd:\"FAkJGQ4cIW45bTlqOWg4d21sb2l3bj9pP3c4OG1udzhvP2JsODs7OWo7aSc=\",                  &lt;===============================================\n  wkzkbl:0x5A                                                                                &lt;===============================================\n};\nfunction mpwkwzbyqslnzzyswplwzdsbll(){\n  try{\n    const raw = atob(CONFIG.kskblzdjd);\n    let out = \"\";\n    for(let i=0;i&lt;raw.length;i++) out += String.fromCharCode(raw.charCodeAt(i) ^ CONFIG.wkzkbl);\n    return out;\n  }catch(e){ return \"NSSCTF{decode_error}\"; }\n}\nfunction isSSS(g){ return g === \"SSS\"; }\n\n...<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u91cc\u6709\u4e00\u4e32base64\u7801\u6587\u548c\u4e00\u4e2a\u503c\u4e3a 0x5A (\u5341\u8fdb\u5236\u4e3a <strong>91<\/strong> ) \u7684\u952e\uff0c\u7ed3\u5408\u4e00\u5f00\u59cb\u7684\u63d0\u793a\uff0c\u5f88\u5bb9\u6613\u5c31\u80fd\u60f3\u5230\u90a3\u4e00\u4e32base64\u5c31\u662f\u88ab\u5f02\u6216\u7684\u6587\u672c\u4e86\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u542f\u52a8 Cyberchef \uff01\u6309\u7167\u4ee5\u4e0b\u65b9\u6848\u76f4\u63a5\u89e3\u7801<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"676\" src=\"https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-4-1024x676.png\" alt=\"\" class=\"wp-image-210\" srcset=\"https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-4-1024x676.png 1024w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-4-300x198.png 300w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-4-768x507.png 768w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-4-1536x1014.png 1536w, https:\/\/xcdn0.xgang-the-reboot.top\/wp-content\/uploads\/2026\/10\/\u56fe\u7247-4.png 1992w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b8c\u7f8e\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5077\u5403\u4fdd\u9669 \u6765\u6e90-NSSCTF \u505a\u5b8c\u4e4b\u540e\u6211\u633a\u597d\u5947\u8fd9\u662f\u5bc6\u7801\u8fd8\u662fWEB \u7528\u5230\u7684\u5de5\u5177 CyberChef \u7528\u5230\u7684\u77e5\u8bc6  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[7],"tags":[11],"class_list":["post-207","post","type-post","status-publish","format-standard","hentry","category-notes","tag-ctf-web"],"_links":{"self":[{"href":"https:\/\/xgang-the-reboot.top\/index.php\/wp-json\/wp\/v2\/posts\/207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xgang-the-reboot.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xgang-the-reboot.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xgang-the-reboot.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xgang-the-reboot.top\/index.php\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":3,"href":"https:\/\/xgang-the-reboot.top\/index.php\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":216,"href":"https:\/\/xgang-the-reboot.top\/index.php\/wp-json\/wp\/v2\/posts\/207\/revisions\/216"}],"wp:attachment":[{"href":"https:\/\/xgang-the-reboot.top\/index.php\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xgang-the-reboot.top\/index.php\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xgang-the-reboot.top\/index.php\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}