8000 GitHub - algorethmpwd/greaper: Bug Bounty ultimate tool ยท GitHub
[go: up one dir, main page]

Skip to content
algorethmpwdPublic

About

Bug Bounty ultimate tool

Resources

Stars

29 stars

Watchers

2 watching

Forks

Latest commit

ย 

History

22 Commits

Folders and files

Repository files navigation

๐Ÿ•ท๏ธ Greaper - Advanced Web Application Security Scanner

  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  
 โ–ˆโ–ˆ       โ–ˆโ–ˆ   โ–ˆโ–ˆ โ–ˆโ–ˆ      โ–ˆโ–ˆ   โ–ˆโ–ˆ โ–ˆโ–ˆ   โ–ˆโ–ˆ โ–ˆโ–ˆ      โ–ˆโ–ˆ   โ–ˆโ–ˆ 
 โ–ˆโ–ˆ   โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ   โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  
 โ–ˆโ–ˆ    โ–ˆโ–ˆ โ–ˆโ–ˆ   โ–ˆโ–ˆ โ–ˆโ–ˆ      โ–ˆโ–ˆ   โ–ˆโ–ˆ โ–ˆโ–ˆ      โ–ˆโ–ˆ      โ–ˆโ–ˆ   โ–ˆโ–ˆ 
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  โ–ˆโ–ˆ   โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆ   โ–ˆโ–ˆ โ–ˆโ–ˆ      โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆ   โ–ˆโ–ˆ 

A Modern, Modular Web Application Security Testing Framework

Version Python License Payloads

Features โ€ข Installation โ€ข Usage โ€ข Architecture โ€ข Contributing โ€ข ๐Ÿ’ Donate


๐Ÿ’– Support Development

If Greaper helped you find bugs or vulnerabilities, consider supporting development!

Donate Bitcoin Donate Ethereum Donate USDT

BTC: 15MG2nFd9mpx1x2oR2shBfqiNjeo4VWEqk | ETH: 0x8c0b61567ab141f129fa114d0d74951b37290ac1 | USDT: TKtLZjLbsWa8st3Zr6qwzAewD1x5bdcFGs


๐Ÿ“‹ Table of Contents


๐ŸŽฏ Overview

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.

๐ŸŒŸ What Makes Greaper Different?

  • ๐Ÿ”ฅ 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

โœจ Features

๐Ÿ” Vulnerability Scanners

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!

๐Ÿ•ต๏ธ Information Gathering

  • 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

๐Ÿ› ๏ธ Utilities

  • 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

๐Ÿ—๏ธ Architecture

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   โ”‚
                 โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Module Organization

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

๐Ÿš€ Installation

Prerequisites

  • Python 3.8 or higher
  • pip package manager
  • Internet connection (for subdomain enumeration)

Quick Install

# 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 --help

Dependencies

requests>=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

๐ŸŽฎ Quick Start

Basic Scans

# 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

Using Scan Profiles

# 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

Batch Scanning

# 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 -lv

๐Ÿ“ฆ Modules

๐Ÿ”ด SQL Injection Scanner

Modern 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" -sqli

Payloads 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)

๐ŸŸ  XSS Scanner

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" -xss

Payloads 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

๐ŸŸก LFI/Path Traversal Scanner

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" -lfi

Payloads 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)

๐Ÿ”ต SSRF Scanner โญ NEW

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" -ssrf

Payloads 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)

๐ŸŸฃ XXE Scanner โญ NEW

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" -xxe

Payloads Include:

  • Classic file disclosure (file:///etc/passwd)
  • Cloud credentials (file:///home/user/.aws/credentials)
  • Parameter entity attacks
  • SOAP XXE
  • Office document XXE (DOCX/XLSX)

๐ŸŽฏ Scan Profiles

Greaper includes 5 pre-configured scan profiles for different use cases:

1. ๐Ÿ” Recon Profile

Purpose: Information gathering and reconnaissance
Modules: Subdomain enum, Crawler (depth 2), JS scan, Security headers, WAF detection

python3 greaper.py -u "example.com" --profile recon

2. โšก Quick Profile

Purpose: Fast security assessment
Modules: Status check, Security headers, WAF, CORS

python3 greaper.py -u "https://example.com" --profile quick

3. ๐Ÿ”ฌ Full-Scan Profile

Purpose: Comprehensive vulnerability assessment
Modules: ALL scanners, Crawler (depth 3), Subdomain enum

python3 greaper.py -u "https://example.com" --profile full-scan

Includes:

  • SQLi, XSS, LFI, CORS, Host Header, SSRF, XXE
  • CVE scanner, JS analysis
  • Security headers check

4. ๐Ÿ’ฐ Bug Bounty Profile

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 bugbounty

5. ๐Ÿฅท Stealth Profile

Purpose: 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 stealth

๐ŸŽ“ Advanced Usage

Custom Payloads

Create 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

Output Formats

# 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

Rate Limiting

# 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

Combining Multiple Scans

# 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

๐Ÿงฌ Payload Information

Payload Statistics (2025 Update)

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

Modern Bypass Techniques Included

โœ… 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

๐Ÿ“Š Output Formats

Terminal Output

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

JSON Export

{
  "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"
    }
  ]
}

HTML Report

Professional HTML reports with:

  • Executive summary
  • Vulnerability details
  • Severity ratings
  • Remediation advice
  • Color-coded findings

โšก Performance

Benchmarks

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

Optimization Features

  • โœ… Async HTTP requests
  • โœ… Connection pooling
  • โœ… Request rate limiting
  • โœ… Smart retry mechanism
  • โœ… Response caching

๐Ÿ—บ๏ธ Roadmap

Version 2.1 (Coming Soon)

  • Command Injection scanner
  • Deserialization vulnerability detection
  • GraphQL endpoint testing
  • WebSocket security testing
  • API fuzzing module

Version 3.0 (Future)

  • Machine learning-based detection
  • Web UI dashboard
  • Database backend for results
  • Distributed scanning
  • Docker containerization
  • CI/CD integration

๐Ÿค Contributing

Contributions are welcome! Here's how you can help:

  1. Report Bugs: Open an issue with detailed information
  2. Suggest Features: Share your ideas in the issues
  3. Submit Pull Requests: Fork, code, test, and submit
  4. Add Payloads: Share new 2025 bypass techniques
  5. Improve Documentation: Fix typos, add examples

Development Setup

git clone https://github.com/algorethmpwd/greaper.git
cd greaper
pip3 install -r requirements.txt
python3 greaper.py --help

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


โš ๏ธ Disclaimer

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.

๐Ÿ‘จโ€๐Ÿ’ป Author

Algorethm


๐Ÿ™ Acknowledgments

  • OWASP for vulnerability classification
  • Bug bounty community for payload research
  • Security researchers worldwide
  • Open source contributors

๐Ÿ“ž Support


๐Ÿ’ Support This Project

If Greaper has helped you in bug bounty hunting, penetration testing, or security research, consider supporting its development!

Cryptocurrency Donations

Currency Address
โ‚ฟ Bitcoin (BTC) 15MG2nFd9mpx1x2oR2shBfqiNjeo4VWEqk
ฮž Ethereum (ERC20) 0x8c0b61567ab141f129fa114d0d74951b37290ac1
โ‚ฎ USDT (TRC20) TKtLZjLbsWa8st3Zr6qwzAewD1x5bdcFGs

Why Support?

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

Other Ways to Support

  • โญ 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

Made for the security community

โญ Star this repo if you find it useful!

GitHub stars GitHub forks

Thank you to all supporters! ๐Ÿ™

Every contribution, no matter how small, makes a difference in keeping this project active and improving.

About

Bug Bounty ultimate tool

Resources

Stars

29 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0