โโโโโโ โโโโโโ โโโโโโโ โโโโโ โโโโโโ โโโโโโโ โโโโโโ
โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ
โโ โโโ โโโโโโ โโโโโ โโโโโโโ โโโโโโ โโโโโ โโโโโโ
โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ
โโโโโโ โโ โโ โโโโโโโ โโ โโ โโ โโโโโโโ โโ โโ
A Modern, Modular Web Application Security Testing Framework
Features โข Installation โข Usage โข Architecture โข Contributing โข ๐ Donate
- Overview
- Key Features
- Architecture
- Installation
- Quick Start
- Modules
- Scan Profiles
- Advanced Usage
- Payload Information
- Output Formats
- Performance
- Roadmap
- Contributing
- Disclaimer
Greaper is a next-generation web application security testing framework designed for bug bounty hunters, penetration testers, and security researchers. Built from the ground up with a modular architecture, Greaper combines cutting-edge 2025 exploit techniques with traditional vulnerability detection methods.
- ๐ฅ 2025 Payloads: Updated with the latest WAF bypasses, CSP bypasses, and modern exploit techniques
- ๐งฉ Modular Design: Clean separation of concerns with 27+ specialized modules
- โก Async Operations: Lightning-fast scanning with asynchronous requests
- ๐จ Beautiful Output: Color-coded, organized results with multiple export formats
- ๐ Deep Crawling: Intelligent web crawler with depth control and link categorization
- ๐ก๏ธ Smart Detection: Advanced pattern matching and behavioral analysis
| Scanner | Description | 2025 Payloads | Status |
|---|---|---|---|
| SQL Injection | Error-based, Time-based, Union-based, NoSQL | โ 67 payloads | Stable |
| XSS | Reflected, Stored, DOM-based, mXSS, CSP bypass | โ 72 payloads | Stable |
| LFI/Path Traversal | File inclusion, PHP wrappers, Cloud metadata | โ 135 payloads | Stable |
| CORS | Misconfiguration detection, Origin reflection | โ | Stable |
| Host Header Injection | Cache poisoning, Password reset | โ | Stable |
| SSRF | Cloud metadata, Internal network, Protocol smuggling | โ 115 payloads | New! |
| XXE | File disclosure, SSRF, DoS, OOB | โ 28 payloads | New! |
- Subdomain Enumeration: 11+ sources (crt.sh, AlienVault, HackerTarget, etc.)
- Web Crawler: Async crawler with depth control, finds 10,000+ URLs
- JavaScript Analysis: Scans for API keys, secrets, internal paths
- CVE Scanner: Framework detection and version fingerprinting
- Security Headers: Checks 10 critical security headers
- WAF Detection: Identifies Cloudflare, AWS, Akamai, Imperva, F5
- IP Lookup: ASN information, reverse DNS, WAF bypass testing
- Directory Fuzzer: Custom wordlists, status code filtering
- Content Length Checker: Response size analysis
- Live URL Checker: Multi-protocol validation (HTTP, HTTPS, FTP)
- Status Checker: HTTP status codes with redirect tracking
Greaper follows a clean, modular architecture for maintainability and extensibility:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ GREAPER ARCHITECTURE โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโ
โ greaper.py โ โโโ Main Entry Point
โ (329 lines) โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ
โ CORE INFRASTRUCTURE โ โ SCAN PROFILES โ
โโโโโโโโโโโโโโโโโโโโโโโโค โโโโโโโโโโโโโโโโโโโโโโโค
โ โข Config Manager โ โ โข recon โ
โ โข Logger System โ โ โข quick โ
โ โข Progress Tracker โ โ โข full-scan โ
โ โข Wordlist Manager โ โ โข bugbounty โ
โ โข Output Formatters โ โ โข stealth โ
โโโโโโโโโโโโฌโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโดโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ โ โ โ
โผ โผ โผ โผ
โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ
โSCANNERSโ โENUM... โ โUTILS โ โOUTPUT โ
โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ
โ โ โ โ
โโSQLi โโSubdomain โโStatusCk โโJSON
โโXSS โโCrawler โโWAF โโHTML
โโLFI โโJS Scanner โโCVE โโCSV
โโCORS โโDirFuzz โโMarkdown
โโHostHdr โโContentLen โโTXT
โโSSRF โโLiveCheck
โโXXE โโSecHeaders
โโIPLookup
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ REQUEST FLOW DIAGRAM โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
User Input
โ
โผ
โโโโโโโโโโโโโโ
โ CLI Args โ
โโโโโโโฌโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโ
โ Profile? โโโโYesโโโบโโโโโโโโโโโโโโโโ
โโโโโโโฌโโโโโโโ โ Apply Flags โ
No โโโโโโโโฌโโโโโโโโ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโ
โผ
โโโโโโโโโโโโโโ
โ Load URLs โ
โโโโโโโฌโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโ
โ Initialize โ
โ Scanner โ
โโโโโโโฌโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโ
โLoad Payloadsโ
โ (2025 Set) โ
โโโโโโโฌโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโ
โ Execute โโโโบโโโโโโโโโโโโ
โ Scan โ โ Async โ
โโโโโโโฌโโโโโโโ โ Requests โ
โ โโโโโโโโโโโโ
โผ
โโโโโโโโโโโโโโ
โ Analyze โ
โ Response โ
โโโโโโโฌโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโ
โ Report โโโโบโโโโโโโโโโโโ
โ Results โ โ Save to โ
โโโโโโโโโโโโโโ โ File โ
โโโโโโโโโโโโ
greaper/
โโโ greaper.py # Main entry point (329 lines)
โโโ greaper_core/
โ โโโ __init__.py
โ โโโ config.py # Configuration management
โ โโโ logger.py # Multi-file logging
โ โโโ progress.py # Scan progress tracking
โ โโโ wordlist.py # Wordlist management
โ โ
โ โโโ scanners/ # Vulnerability scanners
โ โ โโโ base.py # Base scanner class
โ โ โโโ sqli.py # SQL Injection (67 payloads)
โ โ โโโ xss.py # XSS (72 payloads)
โ โ โโโ lfi.py # LFI (135 payloads)
โ โ โโโ cors.py # CORS misconfig
โ โ โโโ host_header.py # Host header injection
โ โ โโโ ssrf.py # SSRF (115 payloads) โญ NEW
โ โ โโโ xxe.py # XXE (28 payloads) โญ NEW
โ โ
โ โโโ enumerators/ # Information gathering
โ โ โโโ subdomain.py # Subdomain enumeration
โ โ โโโ crawler.py # Web crawler
โ โ โโโ js_scanner.py # JavaScript analysis
โ โ
โ โโโ utils/ # Utility modules
โ โ โโโ status_checker.py
โ โ โโโ waf_detector.py
โ โ โโโ cve_scanner.py
โ โ โโโ directory_fuzzer.py
โ โ โโโ content_length.py
โ โ โโโ live_checker.py
โ โ โโโ security_headers.py
โ โ โโโ ip_lookup.py
โ โ
โ โโโ output/ # Output formatting
โ โโโ formatters.py # Multi-format export
โ
โโโ logs/ # Auto-generated logs
โโโ debug.log
โโโ info.log
โโโ errors.log
โโโ findings.log
- Python 3.8 or higher
- pip package manager
- Internet connection (for subdomain enumeration)
# Clone the repository
git clone https://github.com/algorethmpwd/greaper.git
cd greaper
# Install dependencies
pip3 install -r requirements.txt
# Verify installation
python3 greaper.py --helprequests>=2.31.0
beautifulsoup4>=4.12.0
aiohttp>=3.9.0
tqdm>=4.66.0
colorama>=0.4.6
python-dotenv>=1.0.0
retrying>=1.3.4
ipwhois>=1.2.0
# SQL Injection scan
python3 greaper.py -u "https://example.com/page?id=1" -sqli
# XSS scan with custom payloads
python3 greaper.py -u "https://example.com/search?q=test" -xss -p payloads.txt
# SSRF scan (NEW!)
python3 greaper.py -u "https://example.com/fetch?url=test" -ssrf
# XXE scan (NEW!)
python3 greaper.py -u "https://example.com/api/xml" -xxe
# Web crawl (depth 3)
python3 greaper.py -u "https://example.com" -crawl 3
# Security headers check
python3 greaper.py -u "https://example.com" -sec
# Subdomain enumeration
python3 greaper.py -u "example.com" -s# Quick scan (status, headers, WAF, CORS)
python3 greaper.py -u "https://example.com" --profile quick
# Reconnaissance (subdomain, crawl, JS scan, headers, WAF)
python3 greaper.py -u "https://example.com" --profile recon
# Full vulnerability scan (all scanners, depth 3)
python3 greaper.py -u "https://example.com" --profile full-scan
# Bug bounty mode (aggressive, depth 4, all scanners)
python3 greaper.py -u "https://example.com" --profile bugbounty
# Stealth mode (slow, careful scanning)
python3 greaper.py -u "https://example.com" --profile stealth# Scan multiple URLs from file
python3 greaper.py -l urls.txt -sqli -o results.txt
# Content length check for URL list
python3 greaper.py -l urls.txt -cl
# Live URL checker
python3 greaper.py -l urls.txt -lvModern 2025 Techniques:
- Error-based injection with WAF bypasses
- Time-based blind SQLi (MySQL, MSSQL, PostgreSQL)
- Union-based injection with NULL padding
- NoSQL injection (MongoDB operators)
- JSON-based SQLi for modern APIs
- Advanced encoding bypasses (Unicode, double encoding)
Example:
python3 greaper.py -u "https://example.com/user?id=1" -sqliPayloads Include:
' OR 1=1-- -(Classic boolean)' /*!50000OR*/ 1=1-- -(MySQL comment bypass){"$gt": ""}(NoSQL MongoDB)' AND SLEEP(5)--(Time-based blind)' UNION SELECT NULL,NULL,NULL--(Union-based)
Modern 2025 Techniques:
- DOM-based XSS detection
- CSP bypass methods
- Mutation XSS (mXSS)
- Template injection (Angular, React, Vue)
- Event handler obfuscation
- Polyglot XSS payloads
Example:
python3 greaper.py -u "https://example.com/search?q=test" -xssPayloads Include:
<script>alert(1)</script>(Classic)<img src=x 'YWxlcnQoMSk='))>(Base64 bypass){{constructor.constructor('alert(1)')()}}(Template injection)<svg/> (SVG-based)- Polyglot payloads for multiple contexts
Modern 2025 Techniques:
- PHP wrapper exploitation
- Cloud metadata access (AWS, GCP, Azure)
- Container escape techniques
- Unicode bypass methods
- Null byte injection
- Kubernetes secret access
Example:
python3 greaper.py -u "https://example.com/download?file=test.pdf" -lfiPayloads Include:
../../../etc/passwd(Classic)php://filter/convert.base64-encode/resource=index.php(PHP wrapper)file:///var/run/secrets/kubernetes.io/serviceaccount/token(K8s)http://169.254.169.254/latest/meta-data/(AWS metadata)%c0%ae%c0%ae/%c0%ae%c0%ae/etc/passwd(Unicode bypass)
Modern 2025 Techniques:
- Cloud metadata exploitation (AWS IMDSv2, GCP, Azure)
- Internal network scanning
- Protocol smuggling (gopher, dict, file)
- DNS rebinding attacks
- IPv6 localhost variations
- Bypass techniques (encoding, DNS tricks)
Example:
python3 greaper.py -u "https://example.com/proxy?url=test" -ssrfPayloads Include:
http://169.254.169.254/latest/meta-data/iam/security-credentials/http://metadata.google.internal/computeMetadata/v1/gopher://127.0.0.1:6379/_(Redis exploitation)http://127.0.0.1.nip.io(DNS bypass)http://[::1](IPv6 localhost)
Modern 2025 Techniques:
- File disclosure via DTD
- SSRF through XXE
- Out-of-band (OOB) data exfiltration
- Billion laughs attack
- SVG file XXE
- Error-based XXE
Example:
python3 greaper.py -u "https://example.com/api/parse" -xxePayloads Include:
- Classic file disclosure (
file:///etc/passwd) - Cloud credentials (
file:///home/user/.aws/credentials) - Parameter entity attacks
- SOAP XXE
- Office document XXE (DOCX/XLSX)
Greaper includes 5 pre-configured scan profiles for different use cases:
Purpose: Information gathering and reconnaissance
Modules: Subdomain enum, Crawler (depth 2), JS scan, Security headers, WAF detection
python3 greaper.py -u "example.com" --profile reconPurpose: Fast security assessment
Modules: Status check, Security headers, WAF, CORS
python3 greaper.py -u "https://example.com" --profile quickPurpose: Comprehensive vulnerability assessment
Modules: ALL scanners, Crawler (depth 3), Subdomain enum
python3 greaper.py -u "https://example.com" --profile full-scanIncludes:
- SQLi, XSS, LFI, CORS, Host Header, SSRF, XXE
- CVE scanner, JS analysis
- Security headers check
Purpose: Aggressive bug bounty hunting
Modules: All vulnerability scanners, Deep crawl (depth 4), Subdomain enum
Rate Limit: 2 req/sec (respectful)
python3 greaper.py -u "https://example.com" --profile bugbountyPurpose: Slow, careful scanning to avoid detection
Modules: Status check, Security headers, CORS
Rate Limit: 1 req/sec (very slow)
python3 greaper.py -u "https://example.com" --profile stealthCreate custom payload files for targeted testing:
# SQLi payloads
echo "' OR '1'='1" > sqli_payloads.txt
echo "admin'--" >> sqli_payloads.txt
python3 greaper.py -u "https://example.com/?id=1" -sqli -p sqli_payloads.txt
# XSS payloads
echo "<script>alert(document.cookie)</script>" > xss_payloads.txt
python3 greaper.py -u "https://example.com/search" -xss -p xss_payloads.txt# JSON output
python3 greaper.py -u "https://example.com" -sec --format json -o results.json
# HTML report
python3 greaper.py -u "https://example.com" -sec --format html -o report.html
# CSV for spreadsheets
python3 greaper.py -u "https://example.com" -sec --format csv -o results.csv
# Markdown for documentation
python3 greaper.py -u "https://example.com" -sec --format markdown -o report.md# Slow scan (1 request per second)
python3 greaper.py -u "https://example.com" -sqli --rate-limit 1
# Faster scan (5 requests per second)
python3 greaper.py -u "https://example.com" -sqli --rate-limit 5# Multiple vulnerabilities in one command
python3 greaper.py -u "https://example.com" -sqli -xss -lfi -ssrf -o all_vulns.txt
# Full enumeration
python3 greaper.py -u "example.com" -s -crawl 2 -info -ip -o recon_results.txt| Vulnerability | Total Payloads | WAF Bypasses | Cloud-Specific |
|---|---|---|---|
| SQL Injection | 67 | 15 | 8 (NoSQL) |
| XSS | 72 | 22 | 12 (CSP bypass) |
| LFI | 135 | 18 | 25 (Cloud metadata) |
| SSRF | 115 | 12 | 35 (AWS/GCP/Azure) |
| XXE | 28 | 5 | 8 (K8s/Docker) |
| TOTAL | 417 | 72 | 88 |
โ WAF Bypasses:
- Comment injection (
/*!50000OR*/) - Double URL encoding
- Unicode normalization
- Case variation
- Null byte injection
โ CSP Bypasses:
- Base64 encoding
data:URIs- JSONP endpoints
- Trusted domain abuse
โ Cloud-Specific:
- AWS IMDSv2 exploitation
- GCP metadata API
- Azure IMDS
- Kubernetes secrets
- Docker socket access
Color-coded, organized output:
[*] Starting Greaper SQLi scanner on https://example.com
[+] Loaded 67 SQLi payloads
[!] SQL Injection found!
Parameter: id
Payload: ' OR 1=1--
Type: Error-based
Evidence: MySQL error detected
[-] No SQLi for payload: ' UNION SELECT NULL--
[+] Scan complete: 1 vulnerability found
{
"target": "https://example.com",
"scan_type": "sqli",
"timestamp": "2025-12-03T23:00:00",
"vulnerabilities": [
{
"type": "SQL Injection",
"severity": "high",
"parameter": "id",
"payload": "' OR 1=1--",
"evidence": "MySQL error detected"
}
]
}Professional HTML reports with:
- Executive summary
- Vulnerability details
- Severity ratings
- Remediation advice
- Color-coded findings
| Operation | Time | Notes |
|---|---|---|
| SQLi scan (67 payloads) | ~15s | Single parameter |
| XSS scan (72 payloads) | ~18s | Single parameter |
| Web crawl (depth 2) | ~8s | 18 pages found |
| Subdomain enum | ~45s | 11 sources |
| Full scan profile | ~3-5min | Complete assessment |
- โ Async HTTP requests
- โ Connection pooling
- โ Request rate limiting
- โ Smart retry mechanism
- โ Response caching
- Command Injection scanner
- Deserialization vulnerability detection
- GraphQL endpoint testing
- WebSocket security testing
- API fuzzing module
- Machine learning-based detection
- Web UI dashboard
- Database backend for results
- Distributed scanning
- Docker containerization
- CI/CD integration
Contributions are welcome! Here's how you can help:
- Report Bugs: Open an issue with detailed information
- Suggest Features: Share your ideas in the issues
- Submit Pull Requests: Fork, code, test, and submit
- Add Payloads: Share new 2025 bypass techniques
- Improve Documentation: Fix typos, add examples
git clone https://github.com/algorethmpwd/greaper.git
cd greaper
pip3 install -r requirements.txt
python3 greaper.py --helpThis project is licensed under the MIT License - see the LICENSE file for details.
IMPORTANT: Greaper is designed for authorized security testing only.
โ ๏ธ WARNING: Unauthorized use of this tool is illegal!
โ
AUTHORIZED USE:
- Penetration testing with written permission
- Bug bounty programs
- Your own applications and infrastructure
- Security research in controlled environments
- Educational purposes (test labs only)
โ PROHIBITED USE:
- Scanning systems without permission
- Attacking production systems you don't own
- Violating computer fraud laws
- Causing damage or disruption
The developers assume NO responsibility for misuse of this tool.
Always obtain proper authorization before testing.
Algorethm
- GitHub: @algorethmpwd
- Youtube: @algorethm_
- Site: https://algorethmpwd.site
- Telegram: t.me/algorethm
- OWASP for vulnerability classification
- Bug bounty community for payload research
- Security researchers worldwide
- Open source contributors
- ๐ Report Bugs: GitHub Issues
- ๐ฌ Discussions: GitHub Discussions
- ๐ง Email: mysteryhackeral@gmail.com
- ๐ฆ Twitter: @algorethm
If Greaper has helped you in bug bounty hunting, penetration testing, or security research, consider supporting its development!
| Currency | Address |
|---|---|
| โฟ Bitcoin (BTC) | 15MG2nFd9mpx1x2oR2shBfqiNjeo4VWEqk |
| ฮ Ethereum (ERC20) | 0x8c0b61567ab141f129fa114d0d74951b37290ac1 |
| โฎ USDT (TRC20) | TKtLZjLbsWa8st3Zr6qwzAewD1x5bdcFGs |
Your donations help:
- ๐ฌ Research new vulnerability techniques and exploit methods
- ๐ ๏ธ Develop new scanner modules (RCE, GraphQL, WebSocket testing)
- ๐ Maintain comprehensive documentation and tutorials
- ๐ Fix bugs and improve stability for production use
- ๐ Add cutting-edge 2025 payloads from active bug bounty research
- โก Performance optimization and async improvements
- ๐ Create educational content and video tutorials
- โญ Star this repository to increase visibility
- ๐ฆ Share on Twitter/LinkedIn with #Greaper #BugBounty
- ๐ Write a blog post about your findings with Greaper
- ๐ค Contribute code, payloads, or bug fixes
- ๐ฌ Help others in GitHub discussions
- ๐ข Spread the word in the security community