Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

payloads-file-upload

БесплатноБез исполняемых скриптовНе проверен

Uploaded files may pose a significant risk if not handled correctly. A remote attacker could send a multipart/form-data POST request with a specially-crafted…

smartworldarafathот smartworldarafath★ 68 звёзд на GitHub

Об этом скилле

Insecure File Upload Payloads

Source: PayloadsAllTheThings/Upload Insecure Files Category: payloads-web | Skill ID: payloads-file-upload

Overview

File upload bypass payloads covering extension tricks, MIME manipulation, and polyglot files.

This skill integrates the full PayloadsAllTheThings (PATT) payload library for the Insecure File Upload Payloads domain into the REA_Skill framework. Use it during authorized penetration testing, bug bounty research, security audits, and CTF challenges.

Workflow

1. Recon & Identification

  • Identify the target technology stack and injection points
  • Enumerate endpoints, parameters, and input vectors
  • Determine applicable payload categories from the reference below

2. Payload Selection

  • Browse the PATT payload library for the attack class
  • Select encoding-appropriate payloads for the target environment
  • Consider WAF bypass variants and obfuscation techniques

3. Exploitation (Authorized Only)

  • Test payloads in order: passive → active → escalation
  • Document every payload tested and its response
  • Capture PoC evidence (screenshots, HTTP logs, curl output)

4. Verification & Reporting

  • Confirm the vulnerability with a clean minimal PoC
  • Map findings to CVE/CWE where applicable
  • Report with remediation recommendations and code fixes

Full PATT Reference

Upload Insecure Files

Uploaded files may pose a significant risk if not handled correctly. A remote attacker could send a multipart/form-data POST request with a specially-crafted filename or mime type and execute arbitrary code.

Summary

Tools

Methodology

file-upload-mindmap.png

Defaults Extensions

Here is a list of the default extensions for web shell pages in the selected languages (PHP, ASP, JSP).

  • PHP Server

    .php
    .php3
    .php4
    .php5
    .php7
    
    # Less known PHP extensions
    .pht
    .phps
    .phar
    .phpt
    .pgif
    .phtml
    .phtm
    .inc
    
  • ASP Server

    .asp
    .aspx
    .config
    .cer # (IIS <= 7.5)
    .asa # (IIS <= 7.5)
    shell.aspx;1.jpg # (IIS < 7.0)
    shell.soap
    
  • JSP : .jsp, .jspx, .jsw, .jsv, .jspf, .wss, .do, .actions

  • Perl: .pl, .pm, .cgi, .lib

  • Coldfusion: .cfm, .cfml, .cfc, .dbm

  • Node.js: .js, .json, .node

Other extensions that can be abused to trigger other vulnerabilities.

  • .svg: XXE, XSS, SSRF
  • .gif: XSS
  • .csv: CSV Injection
  • .xml: XXE
  • .avi: LFI, SSRF
  • .js : XSS, Open Redirect
  • .zip: RCE, DOS, LFI Gadget
  • .html : XSS, Open Redirect

Upload Tricks

Extensions:

  • Use double extensions : .jpg.php, .png.php5

  • Use reverse double extension (useful to exploit Apache misconfigurations where anything with extension .php, but not necessarily ending in .php will execute code): .php.jpg

  • Random uppercase and lowercase : .pHp, .pHP5, .PhAr

  • Null byte (works well against pathinfo())

    • .php%00.gif
    • .php\x00.gif
    • .php%00.png
    • .php\x00.png
    • .php%00.jpg
    • .php\x00.jpg
  • Special characters

    • Multiple dots : file.php...... , on Windows when a file is created with dots at the end those will be removed.
    • Whitespace and new line characters
      • file.php%20
      • file.php%0d%0a.jpg
      • file.php%0a
    • Right to Left Override (RTLO): name.%E2%80%AEphp.jpg will became name.gpj.php.
    • Slash: file.php/, file.php.\, file.j\sp, file.j/sp
    • Multiple special characters: file.jsp/././././.
    • UTF8 filename: Content-Disposition: form-data; name="anyBodyParam"; filename*=UTF8''myfile%0a.txt
  • On Windows OS, include, require and require_once functions will convert "foo.php" followed by one or more of the chars \x20 ( ), \x22 ("), \x2E (.), \x3C (<), \x3E (>) back to "foo.

Полный SKILL.md на GitHub

Установить payloads-file-upload в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

Что делает скилл payloads-file-upload?

Uploaded files may pose a significant risk if not handled correctly. A remote attacker could send a multipart/form-data POST request with a specially-crafted filename or mime type and execute arbitrary code. File upload vulnerability scanner and exploitation tool. HTTP file upload scanner for Burp Proxy. OWASP ZAP add-on for finding vulnerabilities in File Upload functionality. Here is a list of...

Как установить скилл payloads-file-upload?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл payloads-file-upload запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить payloads-file-upload с