Skip to content

Commit ba07101

Browse files
committed
feat: Add real-time Discord webhook notifications for zerodays vulnerabilities
- Implemented real-time webhook notifications for React2Shell (CVE-2025-55182) and MongoDB (CVE-2025-14847) vulnerabilities - Vulnerabilities are now sent to Discord immediately when discovered, without waiting for scan completion - Updated README with zerodays module documentation and real-time notification feature - Replaced react2shell references with zerodays across workflows and commands - Added MongoDB automatic discovery via naabu port scanning - Enhanced logging in JS scan module - Fixed silent flag behavior and webhook result delivery in subdomain workflow
1 parent 927b255 commit ba07101

38 files changed

Lines changed: 4126 additions & 860 deletions

File tree

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ AutoAR is a comprehensive, modular security automation toolkit designed for bug
2424

2525
### 🛡️ **Vulnerability Scanning**
2626
- **Nuclei Integration**: 1000+ vulnerability templates with custom rate limiting
27-
- **React2Shell Scanner**: React Server Components RCE detection (CVE-2025-55182) with WAF bypass methods, source code exposure checks, DoS testing, and batch domain processing with automatic live hosts collection
27+
- **Zerodays Scanner**: Multi-CVE vulnerability scanner with real-time Discord webhook notifications:
28+
- **React2Shell (CVE-2025-55182)**: React Server Components RCE detection with WAF bypass methods, source code exposure checks, DoS testing, and batch domain processing with automatic live hosts collection
29+
- **MongoDB Memory Leak (CVE-2025-14847)**: Automated MongoDB instance discovery via port scanning and vulnerability testing
30+
- **Real-time Notifications**: Vulnerabilities are sent to Discord webhook immediately as they're discovered (no waiting for scan completion)
2831
- **WordPress Plugin Confusion**: Automated WP plugin/theme confusion attack detection
2932
- **Dependency Confusion**: GitHub repository dependency confusion scanning
3033
- **S3 Bucket Enumeration**: AWS S3 bucket discovery and analysis (pure Go via AWS SDK v2, no aws CLI required). Supports both authenticated and unauthenticated testing - automatically falls back to HTTP-based public access testing when credentials are missing
@@ -361,9 +364,9 @@ Once the bot is running, use these slash commands in Discord:
361364

362365
#### Vulnerability Scanning
363366
- `/nuclei domain:example.com [threads:100]` - Run Nuclei scans
364-
- `/react2shell domain:example.com [threads:100] [enable_source_exposure:false] [dos_test:false]` - Scan domain hosts for React Server Components RCE (CVE-2025-55182) using next88 smart scan (sequential: normal → WAF bypass → Vercel WAF → paths). Automatically collects live hosts first, then runs smart scan.
365-
- `/react2shell file:<domains.txt> [threads:100] [enable_source_exposure:false] [dos_test:false]` - Process multiple domains from file. For each domain: collects live hosts, then runs smart scan. Perfect for batch scanning.
366-
- `/react2shell url:https://example.com [verbose:false]` - Test single URL for React Server Components RCE using next88 smart scan
367+
- `/zerodays domain:example.com [threads:100] [--cve CVE-2025-55182,CVE-2025-14847] [--dos-test] [--enable-source-exposure] [--mongodb-host <host>] [--mongodb-port <port>]` - Multi-CVE zerodays scanner. Supports React2Shell (CVE-2025-55182) and MongoDB Memory Leak (CVE-2025-14847). Automatically discovers MongoDB instances via port scanning if host not provided. **Real-time webhook notifications** sent immediately when vulnerabilities are found.
368+
- `/zerodays subdomain:https://subdomain.example.com [threads:100] [--cve CVE-2025-55182]` - Scan single subdomain for React2Shell vulnerability (no enumeration, direct scan).
369+
- `/zerodays file:<domains.txt> [threads:100] [--cve CVE-2025-55182,CVE-2025-14847]` - Process multiple domains from file. For each domain: collects live hosts, then runs scans. Perfect for batch scanning.
367370
- `/jwt_scan token:<JWT_TOKEN> [skip_crack:false] [skip_payloads:false] [wordlist:] [max_crack_attempts:]` - JWT token vulnerability scanning using jwt-hack
368371
- `/wpdepconf domain:example.com` - WordPress plugin confusion
369372
- `/dalfox domain:example.com [threads:100]` - XSS detection
@@ -872,10 +875,16 @@ curl -X POST "http://localhost:8000/scan/dns" \
872875
-H "Content-Type: application/json" \
873876
-d '{"domain": "example.com", "dns_type": "dangling-ip"}'
874877

875-
# React2Shell RCE Scan (CVE-2025-55182)
876-
curl -X POST "http://localhost:8000/scan/react2shell" \
878+
# Zerodays Multi-CVE Scan (React2Shell + MongoDB)
879+
# Real-time webhook notifications sent immediately when vulnerabilities are found
880+
curl -X POST "http://localhost:8000/scan/zerodays" \
877881
-H "Content-Type: application/json" \
878-
-d '{"domain": "example.com", "dos_test": true, "enable_source_exposure": true}'
882+
-d '{"domain": "example.com", "cves": ["CVE-2025-55182", "CVE-2025-14847"], "dos_test": true, "enable_source_exposure": true, "threads": 200}'
883+
884+
# Zerodays Single Subdomain Scan
885+
curl -X POST "http://localhost:8000/scan/zerodays" \
886+
-H "Content-Type: application/json" \
887+
-d '{"subdomain": "https://subdomain.example.com", "cves": ["CVE-2025-55182"], "threads": 100}'
879888

880889
# Cloud Misconfiguration Scan
881890
curl -X POST "http://localhost:8000/scan/misconfig" \

0 commit comments

Comments
 (0)