cc1a2b/PenHunter
cc1a2b/PenHunter has 59 GitHub stars and 14 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and 0 in 15 days. Last checked 2026-11-10 19:00 UTC. Last push 2026-07-12.
Pen Hunter is a comprehensive vulnerability scanning tool designed for penetration testers, security researchers and bug bounties. it automates the process of collecting subdomains and URLs and tests them for various vulnerabilities including XSS, SQL Injection, Local File Inclusion, Open Redirect, Server-Side Request Forgery, CSRF, and RCE.
What you can do
- Multiple Vulnerability Scanners: XSS, SQLi, LFI, SSRF, RCE, Open Redirect, CSRF
- High Performance: Concurrent scanning with configurable thread pools
- Advanced Detection: Boolean-based, time-based, error-based detection methods
- WAF Evasion: Payload mutation, header rotation, TLS fingerprint randomization
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 업데이트 지연
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalPenHunter
Modular Web Vulnerability Scanner
Comprehensive testing for XSS, SQLi, LFI, SSRF, RCE, Open Redirect, and CSRF — built for penetration testers, bug bounty hunters, and security researchers.
About
PenHunter is a powerful, modular web vulnerability scanner written in Go. It provides comprehensive testing for common web vulnerabilities including XSS, SQL Injection, LFI, SSRF, RCE, Open Redirect, and CSRF — with concurrent scanning, advanced detection methods, WAF evasion, and integrations with industry tools like dalfox, sqlmap, and nuclei.
PenHunter — modular vulnerability scanner with interactive and CLI modes.
Table of Contents
- About
- Features
- Installation
- Quick Start
- Usage Examples
- Screenshots
- Command Reference
- Advanced Usage
- Contributing
- License
- Support
Features
Core Capabilities
- Multiple Vulnerability Scanners: XSS, SQLi, LFI, SSRF, RCE, Open Redirect, CSRF
- High Performance: Concurrent scanning with configurable thread pools
- Advanced Detection: Boolean-based, time-based, error-based detection methods
- WAF Evasion: Payload mutation, header rotation, TLS fingerprint randomization
- External Tool Integration: dalfox, sqlmap, nuclei, and more
- Multiple Output Formats: JSON, HTML, TXT
- Interactive CLI: Menu-driven interface for guided scans
- Auto-Update: Built-in update mechanism via GitHub releases
- Organized Results: Automatic directory structure for scan results
Intelligent Detection Engine
Differential analysis, boolean/time/error oracles, and payload mutation built in.
- Differential Response Analysis: Detects subtle behavior changes that confirm vulnerabilities
- Multi-Method Coverage: Boolean-based, time-based, and error-based detection paths per vuln class
- Payload Mutation: Automatic encoding, casing, and obfuscation variants for WAF bypass
- Confidence Scoring: Per-finding confidence to filter true positives from noise
Discovery Pipeline
Subdomain → URL → endpoint → vulnerability
PenHunter integrates the best-in-class recon stack:
Subdomain enumeration:
- subfinder, assetfinder — passive discovery
- amass (optional) — active + passive
HTTP probing & URL discovery:
- httpx — live host probing
- urlfinder, katana, gospider — crawler-based URL collection
- gau, gauplus, waybackurls — wayback machine harvesting
Endpoint extraction:
- cariddi, getJS — JS endpoint mining
- PenHunter native parsing — built-in JS extractor
Vulnerability scanning:
- dalfox, sqlmap, nuclei — best-in-class engines, orchestrated through PenHunter
Vulnerability Classes
Seven vulnerability classes, comprehensive coverage
| Class | Detection Methods | Default Engine |
|---|---|---|
| XSS | Reflected, stored, DOM | Native + dalfox |
| SQLi | Boolean, time, error, union | Native + sqlmap |
| LFI | Path traversal, wrapper, log poisoning | Native |
| SSRF | Internal, cloud metadata, gopher, file | Native + OOB |
| RCE | Command injection, template injection | Native + nuclei |
| Open Redirect | Header, parameter, JS-based | Native |
| CSRF | Missing token, weak token, predictable | Native |
HTTP & Networking
Production-grade HTTP layer for scaling and stealth
- Custom Headers (
-H): Repeatable headers for authenticated scans - Cookie Support (
-c): Session cookies for protected resources - User-Agent Rotation: Built-in UA rotation for evasion
- Rate Limiting: Configurable request pacing
- Timeouts: Per-request timeout control
- Retry Logic: Exponential backoff on failures
- Proxy Support: Burp Suite and other intercepting proxies
- TLS Bypass: Optional certificate verification skip for testing
Output & Reporting
Three formats, organized result hierarchy
- Console: Color-coded terminal output with severity highlighting
- TXT: Plain text logs for scripting
- JSON: Structured output for automation pipelines
- HTML: Self-contained reports for stakeholder review
Installation
Go Install (Recommended)
go install -v github.com/cc1a2b/PenHunter/cmd/penhunter@latest
penhunter --help
Note:
go installships only the binary. To get the bundledconfig/(payloads, encoders, user callbacks), clone the repo or usemake install.
Build from Source
git clone https://github.com/cc1a2b/PenHunter.git
cd PenHunter
make build
make install # installs to $HOME/penhunter/
Add to PATH
# Linux/macOS
export PATH="$HOME/penhunter/bin:$PATH"
# Or symlink
sudo ln -sf $HOME/penhunter/bin/penhunter /usr/local/bin/penhunter
From Releases
Download the latest release from GitHub Releases and extract to your $HOME/penhunter/ directory.
System Requirements
- Go 1.21+ (for building from source)
- Linux, macOS, or Windows (64-bit)
- External recon tools (optional but recommended): subfinder, assetfinder, httpx, katana, gau, dalfox, sqlmap, nuclei
Quick Start
Interactive mode
penhunter
Launches the menu where you choose between single-domain or subdomain scanning, vulnerability classes, and engines.
Single URL scan
penhunter -u https://example.com -v xss,sqli
Multi-URL scan with JSON output
penhunter -l urls.txt -v xss -t 50 --json results.json
Update PenHunter
penhunter --update
Usage Examples
# Test single URL for XSS + SQLi
penhunter -u https://example.com -v xss,sqli
# Multi-URL scan with custom thread count
penhunter -l urls.txt -v xss -t 50 --json results.json
# Full vulnerability sweep
penhunter -u https://target.com -v xss,sqli,lfi,ssrf,rce,redirect,csrf -t 30
# Stealth scan through Burp Suite
penhunter -u https://target.com -v xss --proxy http://127.0.0.1:8080 -R 1000
# Authenticated scan with cookies and headers
penhunter -u https://target.com -v xss,sqli \
-c "session=abc123" \
-H "Authorization: Bearer eyJ..."
# Check installed external tools
penhunter --check-tools
# Check for updates
penhunter --check-update
Screenshots
LFI vulnerability scan — path traversal detection with confirmed payload.
XSS vulnerability scan — reflected payload confirmed in response.
Command Reference
Usage:
penhunter [flags]
Modes:
(no args) Launch interactive menu
-u, --url URL Test a single URL
-l, --list FILE Test URLs from a file
-v, --vulns LIST Comma-separated vulns
(xss, sqli, lfi, ssrf, rce, redirect, csrf)
HTTP & Performance:
-t, --threads INT Concurrent threads (default: 10)
-H, --header "K: V" Custom HTTP headers (repeatable)
-c, --cookies STR Session cookies
-p, --proxy URL HTTP/HTTPS/SOCKS proxy
-k, --skip-tls Skip TLS verification
-R, --rate-limit MS Request delay (milliseconds)
Output:
-o, --output FILE Output file
--json FILE Structured JSON output
--html FILE HTML report
Maintenance:
--update Update PenHunter to latest
--check-update Check if a new version is available
--check-tools Verify external tools are installed
-h, --help Show help
-V, --version Show version
Advanced Usage
Bug Bounty Workflow
# 1. Subdomain enumeration → URL collection → vuln scan
subfinder -d target.com | httpx | tee live.txt
gau < live.txt | tee urls.txt
penhunter -l urls.txt -v xss,sqli,redirect -t 30 --json findings.json
CI / Continuous Scanning
penhunter -l production-urls.txt -v xss,sqli \
--json "scan-$(date +%F).json" \
-R 2000 \
--proxy http://internal-proxy:8080
WAF Evasion Scan
penhunter -u https://target.com -v xss \
-H "X-Forwarded-For: 1.1.1.1" \
-H "X-Real-IP: 1.1.1.1" \
-R 1500
Contributing
Contributions welcome from the security community.
- Report bugs via GitHub Issues
- Suggest features or new vulnerability classes
- Improve documentation
- Submit pull requests with new payloads, detectors, or integrations
Development Setup
git clone https://github.com/cc1a2b/PenHunter.git
cd PenHunter
go mod tidy
make build
License
PenHunter is released under the MIT License. See LICENSE for details.
Copyright (c) 2024-2026 Hussain Alsharman
Licensed under MIT License — free for commercial and personal use
Support
If PenHunter helps with your security research:
Star this repo • Follow @cc1a2b • Share with the security community
PenHunter — Modular Web Vulnerability Scanner
Built by cc1a2b for the security community
관련 프로젝트 살펴보기
trimstray/the-book-of-secret-knowledge
영감을 주는 목록, 매뉴얼, 치트시트, 블로그, 팁, 원라이너, CLI/웹 도구 등을 모은 컬렉션.
257,714 스타Hack-with-Github/Awesome-Hacking
해커, 펜테스터, 보안 연구자를 위한 다양한 Awesome 목록 모음.
125,254 스타swisskyrepo/PayloadsAllTheThings
웹 애플리케이션 보안과 모의 침투 테스트/CTF에 유용한 페이로드 및 우회 방법 목록.
82,583 스타caddyserver/caddy
빠르고 확장 가능한 멀티플랫폼 HTTP/1-2-3 웹 서버이며, 자동 HTTPS를 지원합니다
78,959 스타