KingOfBugbounty/enumrust
Tentang
Subdomain Enumerator and Simple Crawler
Data dan analisisYang dapat Anda lakukan
- ๐ต๏ธ Subdomain Enumeration - haktrails, subfinder, certificate transparency
- ๐ DNS Resolution - Fast IP resolution with dnsx
- โก Port Scanning - masscan for speed, httpx for validation
- ๐ Web Crawling - JavaScript analysis, endpoint discovery
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Pembaruan tertunda
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli๐ก๏ธ EnumRust - Advanced Security Scanner
๐ฏ Features
Core Capabilities
- ๐ต๏ธ Subdomain Enumeration - haktrails, subfinder, certificate transparency
- ๐ DNS Resolution - Fast IP resolution with dnsx
- โก Port Scanning - masscan for speed, httpx for validation
- ๐ Web Crawling - JavaScript analysis, endpoint discovery
- ๐จ Vulnerability Scanning - Nuclei integration
- ๐๏ธ Infrastructure Mode - Network scanning with IP ranges
- ๐ Real-time Dashboard - Web UI with live progress tracking
๐ฏ Bug Bounty Mode (NEW!)
- ๐ Admin Panel Discovery - Scans 15 ports & 80+ admin paths
- ๐ Default Credential Testing - Tests 40+ common username/password combinations
- ๐ Discord Notifications - Real-time alerts for critical findings
- ๐ฏ Multi-Auth Support - Form-based, Basic Auth, API JSON
- ๐ฅ Instant Alerts - Valid credentials, secrets, vulnerabilities
- ๐ Detailed Reports - JSON + TXT outputs for bug submissions
๐ค MCP Server Integration (NEW!)
- AI Assistant Integration - Use EnumRust from Claude Code, Cursor, and other MCP-enabled AI tools
- Programmatic Scanning - Invoke security scans via MCP tools without CLI
- 11 Available Tools - subdomain_enum, dns_resolve, ip_scan, http_probe, js_crawl, admin_finder, secrets_scan, vuln_scan, wordpress_scan, info_disclosure, full_scan
๐ MCP Server Guide - See below for setup and usage
๐ What's New
IIS Short Filename Scanner (Shortscan)
- Auto IIS Detection - Automatically detects Microsoft IIS servers via
Serverheader during scans - 8.3 Filename Bruteforce - Exploits the Windows tilde (
~) vulnerability to discover hidden files and directories - shortscan Integration - Runs as STAGE 7.7 against up to 10 IIS targets
- JSON Output - Results saved to
shortscan_results.jsonwith structured findings - Skip Flag - Use
--no-shortscanto disable IIS scanning - Install -
go install github.com/bitquark/shortscan/cmd/shortscan@latest
WordPress Vulnerability Scanner (WPScan)
- Auto WordPress Detection - Identifies WordPress sites from admin panels,
/wp-content/,/wp-json/, etc. - Docker-based WPScan - Runs
wpscanteam/wpscanvia Docker for deep vulnerability analysis - Plugin & Theme Enumeration - Detects vulnerable plugins, outdated themes, and exposed users
- AI False Positive Filter - Ollama validates WPScan findings and removes false positives
- API Token Support - Use
--wpscan-tokenfor enhanced vulnerability database access - Skip Flag - Use
--no-wpscanto disable WordPress scanning
Ollama AI Integration
- Auto-Detection - Silently detects Ollama at
localhost:11434on scan start - All-Stage Filtering - AI validates secrets, nuclei findings, admin panels, credentials, and more
- Executive Summary - Generates
ai_executive_summary.txtwith AI-powered analysis - Response Caching - Up to 5000 cached entries to avoid redundant queries
- Custom Model - Configure via
OLLAMA_MODELenv var (default:llama3)
Enhanced HTML Report Generator
- Interactive Dashboard - Full HTML report with charts, filtering, and severity breakdown
- All Findings Integrated - Secrets, vulnerabilities, admin panels, WordPress, IIS findings in one report
- Export Ready - Professional format suitable for bug bounty submissions
Recent Improvements (v2.3.0)
Advanced Secrets Scanner
- 70+ Token Patterns - GitHub (PAT, OAuth, App), AWS, GCP, Azure, Vercel, Stripe, Twilio, SendGrid, Slack, Discord, and more
- Token Validation - Automatic validation against real APIs to confirm if secrets are active
- Code Context - Shows exact line number and code snippet where secret was found
- Remediation Guidance - Provides specific steps to fix each type of exposed secret
Cloud Storage Security Testing
- S3 Bucket Testing - Tests for anonymous read/write/list permissions
- GCS & Azure Blob - Multi-cloud storage exposure detection
- Risk Level Assessment - Automatic severity classification
IP Validator & CDN Filter
- CDN Detection - Automatically filters out IPs from Cloudflare, Akamai, Fastly, AWS CloudFront, Google Cloud CDN, Azure CDN, Incapsula
- Smart IP Validation - Removes invalid IPs and duplicates from scan results
- False Positive Reduction - Only scans real target infrastructure, not shared CDN IPs
Dependency Confusion Scanner
- NPM Package Detection - Extracts packages from require(), import statements
- Public Registry Validation - Checks if internal packages exist on public npm registry
- Dependency Confusion Alert - Identifies potential supply chain attack vectors
Enhanced JavaScript Crawler
- Multi-source Collection - Aggregates JS from URLFinder, HTTP200, DOM parsing
- Deep Secret Extraction - Analyzes JavaScript content for hardcoded credentials
- API Endpoint Discovery - Extracts REST/GraphQL endpoints from JS code
Admin Panel Discovery
- 15 Port Scanning - Covers ports 80, 443, 8080, 8443, 8000, 3000, 5000, 9000, 8888, 8088, 8081, 9090, 3001, 4200, 5001
- 80+ Admin Paths - WordPress, Joomla, Laravel, Django, phpMyAdmin, and more
- Smart Fingerprinting - Identifies CMS type from response content
Credential Testing Engine
- 40+ Default Credentials - Common admin/password combinations
- Multi-Auth Support - Form-based, HTTP Basic Auth, API JSON authentication
- Rate Limiting - Built-in delays to avoid account lockouts
๐ Quick Start
1. One-Line Auto Install (Recommended)
git clone https://github.com/KingOfBugbounty/enumrust.git && cd enumrust && sudo bash install.sh
This will automatically:
- Install Rust and Go toolchains (if missing)
- Build
enumrustand copy to/usr/local/bin/ - Install all 21 security tools (httpx, nuclei, shortscan, etc.)
- Configure PATH in
.bashrc,.zshrc,.profile - Update Nuclei templates
After install, open a new terminal or run source ~/.bashrc, then:
enumrust --check-tools # verify all tools
enumrust -d target.com # start scanning
1b. Manual Build (Alternative)
# Clone repository
git clone https://github.com/KingOfBugbounty/enumrust.git
cd enumrust
# Build release version
cargo build --release
## Installation
### Clone via GitHub Token (Private Repository)
To clone this repository, you need a GitHub Personal Access Token with `repo` scope.
1. **Generate your token** at [GitHub Settings > Developer settings > Personal access tokens](https://github.com/settings/tokens)
2. **Clone using HTTPS + Token:**
```bash
git clone https://[email protected]/tools-ofjaaah/enumrust.git
Or set the token as an environment variable:
export YOUR_GITHUB_TOKEN="ghp_xxxxxxxxxxxxxxxxxxxx"
git clone https://${YOUR_GITHUB_TOKEN}@github.com/tools-ofjaaah/enumrust.git
cd enumrust
- Alternative โ SSH clone (if you have SSH keys configured):
git clone [email protected]:tools-ofjaaah/enumrust.git
Repository URL:
https://github.com/tools-ofjaaah/enumrust.git
2. Basic Scan
# Domain enumeration with full scan
./target/release/enumrust -d example.com --subfinder --full-scan
# Domain enumeration (basic)
./target/release/enumrust -d example.com --subfinder
3. Dashboard Mode
# Start dashboard on default port 8080
./target/release/enumrust --dashboard
# Start dashboard on custom port
./target/release/enumrust --dashboard --dashboard-port 3000
# Run scan with dashboard monitoring
./target/release/enumrust -d target.com --subfinder --full-scan --dashboard
First Access Setup:
๐ Dashboard server starting on http://0.0.0.0:8080
๐ Access the dashboard and complete the initial setup
Setup Code: <random_16_char_code>
- Open
http://localhost:8080in your browser - Use the Setup Code displayed in terminal (generated randomly each startup)
- Create your own username and password
- Login and start monitoring your scans
๐ณ Docker Installation
Run EnumRust with all 21 tools pre-installed using Docker - zero configuration required.
# Build
docker build -t enumrust .
# Verify all 21 tools
docker run --rm enumrust --check-tools
# Run a scan
docker run --rm --privileged \
-v $(pwd)/results:/results \
enumrust -d target.com --subfinder --full-scan
# Dashboard mode
docker run --rm --privileged \
-p 8080:8080 \
-v $(pwd)/results:/results \
enumrust -d target.com --dashboard --full-scan
Note:
--privilegedis required for masscan (raw socket access). Omit it if you don't need port scanning.
๐ Full Docker Guide - Complete instructions, examples, volume mounts, troubleshooting, and more
๐ค MCP Server Integration
EnumRust includes an MCP (Model Context Protocol) server that allows AI assistants like Claude Code, Cursor, and other MCP-enabled tools to invoke security scanning capabilities programmatically.
Build the MCP Server
# Build from enumrust directory
cd enumrust
cargo build --release --package enumrust_mcp
Available MCP Tools
| Tool | Description | Parameters |
|---|---|---|
subdomain_enum |
Passive subdomain discovery | domain: string |
dns_resolve |
DNS resolution to IPs | domains: string[] |
ip_scan |
Port scan + directory fuzzing | ip: string, ports?: string, wordlist?: string |
http_probe |
Check HTTP hosts alive status | hosts: string[] |
js_crawl |
Extract secrets/endpoints from JS | urls: string[] |
admin_finder |
Discover admin panels | hosts: string[] |
secrets_scan |
Scan for hardcoded secrets | hosts: string[] |
vuln_scan |
Run Nuclei vulnerability scan | hosts: string[] |
wordpress_scan |
WordPress vulnerability scan | urls: string[] |
info_disclosure |
S3/Actuator/GraphQL scanning | hosts: string[] |
full_scan |
Complete bug bounty scan | domain: string, options?: {workers?, discord_webhook?} |
Claude Code Configuration
Add to your MCP settings (~/.claude/settings.json or project .claude/mcp.json):
{
"mcpServers": {
"enumrust": {
"command": "/path/to/enumrust/enumrust-mcp",
"args": []
}
}
}
Usage Example with Claude Code
You: "Scan example.com for subdomains using enumrust"
Claude: (calls subdomain_enum tool)
-> Returns list of discovered subdomains
You: "Run a full bug bounty scan on example.com"
Claude: (calls full_scan tool)
-> Returns complete scan results
Run Standalone MCP Server
# Start the MCP server (stdio mode)
./target/release/enumrust-mcp
# Test with an MCP client
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | ./target/release/enumrust-mcp
๐ Dashboard Features
Real-time Monitoring
- Progress Bar - Animated, shows current scan phase
- Event Stream - Live feed of tool execution
- Statistics Cards - Vulnerability counts by severity
File Explorer
- Two-Panel Layout - File list + content viewer
- Syntax Highlighting - Terminal-style display
- Domain Filtering - Select specific target to view
Vulnerability Management
- Severity Filters - Critical, High, Medium, Low
- Detailed View - Template ID, host, description
- Export Options - JSON data for reporting
Security
- Random Credentials - Setup code generated at each startup
- JWT Authentication - Secure session management
- No Hardcoded Secrets - All credentials created by user
๐ Usage Examples
Bug Bounty Mode ๐ฏ
# Bug bounty scan with Discord notifications
./target/release/enumrust -d target.com \
--bugbounty \
--discord-webhook "https://discord.com/api/webhooks/YOUR_WEBHOOK"
# Aggressive bug bounty scan
./target/release/enumrust -d target.com \
--bugbounty \
--full-scan \
--workers 20 \
--discord-webhook "https://discord.com/api/webhooks/YOUR_WEBHOOK"
What it does:
- โ Discovers admin panels on 15 different ports
- โ Tests 40+ default credentials automatically
- โ Sends Discord alerts for valid credentials found
- โ Notifies about critical vulnerabilities & secrets
- โ Generates detailed reports for bug submissions
๐ See BUGBOUNTY_MODE.md for complete guide
Domain Reconnaissance
# Full enumeration with all sources
./target/release/enumrust -d target.com --full-scan
# Quick scan with specific tools
./target/release/enumrust -d target.com --subfinder
Infrastructure Scanning
# Single IP
./target/release/enumrust --infraestrutura --ip-range 192.168.1.100
# CIDR notation
./target/release/enumrust --infraestrutura --ip-range 192.168.1.0/24
# IP range
./target/release/enumrust --infraestrutura --ip-range 192.168.1.1-192.168.1.254
# Comma-separated IPs
./target/release/enumrust --infraestrutura --ip-range 192.168.1.1,192.168.1.5,192.168.1.10
# From file
./target/release/enumrust -f targets.txt --full-scan
Advanced Options
# Full IP scan with directory fuzzing
./target/release/enumrust -d target.com \
--ip-scan \
--ip-full-scan
๐ Output Structure
After scanning example.com, results are saved in:
example.com/
โโโ subdomains.txt # Discovered subdomains
โโโ ips.txt # Resolved IP addresses
โโโ http200.txt # Active HTTP(S) hosts
โโโ masscan.txt # Port scan results
โโโ ports.txt # Validated open ports
โโโ nuclei.txt # Vulnerability findings
โโโ urls.txt # Discovered URLs
โโโ js_endpoints.txt # JavaScript endpoints
โโโ js_secrets.txt # Potential secrets in JS
โโโ s3.txt # S3 bucket URLs
โโโ ferox_200_only.txt # Directory bruteforce results
โโโ wpscan_results.json # WordPress vulnerability findings
โโโ shortscan_results.json # IIS short filename findings
โโโ ai_executive_summary.txt # AI-generated executive summary
โโโ all_results.txt # Consolidated report
โโโ report.html # Interactive HTML report
โโโ current_status.json # Scan status
โโโ progress.jsonl # Real-time progress log
โโโ metrics.json # Performance metrics
๐ ๏ธ Tool Installation
Automatic Installation (Recommended)
EnumRust includes built-in tool management. Install all required tools with a single command:
# Install ALL required tools automatically
./target/release/enumrust --install-tools
This will:
- โ Install Go if not present
- โ Install all 19 security tools
- โ
Configure PATH automatically in
.bashrc,.zshrc,.profile - โ Update Nuclei templates
- โ Skip already installed tools
Check Tool Status
Verify which tools are installed:
./target/release/enumrust --check-tools
Example output:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
CORE TOOLS (Required)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ httpx - HTTP probing and validation
โ dnsx - DNS resolution and validation
โ nuclei - Vulnerability scanner
โ masscan - Port scanner (requires sudo)
OPTIONAL TOOLS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ subfinder - Passive subdomain discovery
โ haktrails - SecurityTrails subdomain discovery
โ tlsx - TLS/SSL certificate analysis
โ ffuf - Fast web fuzzer
โ feroxbuster - Recursive directory brute-forcer
โ trufflehog - Secret scanner
...
Required Tools List
| Tool | Category | Description |
|---|---|---|
| httpx | Core | HTTP probing and validation |
| dnsx | Core | DNS resolution and validation |
| nuclei | Core | Vulnerability scanner |
| masscan | Core | Fast port scanner (requires sudo) |
| subfinder | Discovery | Passive subdomain enumeration |
| haktrails | Discovery | SecurityTrails integration |
| tlsx | Discovery | TLS/SSL certificate analysis |
| ffuf | Fuzzing | Fast web fuzzer |
| feroxbuster | Fuzzing | Recursive directory brute-forcer |
| trufflehog | Secrets | Secret/credential scanner |
| anew | Utils | Append unique lines to files |
| jq | Utils | JSON processor |
| whois | Utils | Domain registration lookup |
| tmux | Utils | Terminal multiplexer |
| hakrawler | Crawling | Web crawler for URL discovery |
| urlfinder | Crawling | Passive URL discovery |
| katana | Crawling | Fast web crawler |
| gau | Crawling | Fetch URLs from web archives |
| waybackurls | Crawling | Fetch URLs from Wayback Machine |
| shortscan | IIS | IIS short filename (8.3) scanner |
| docker | WPScan | WordPress vulnerability scanner (via Docker) |
Manual Installation (Alternative)
If you prefer manual installation:
# Install Go first (required for most tools)
apt-get install -y golang-go
# Core tools
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
apt-get install -y masscan
# Discovery tools
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
go install -v github.com/hakluke/haktrails@latest
go install -v github.com/projectdiscovery/tlsx/cmd/tlsx@latest
# Fuzzing tools
go install -v github.com/ffuf/ffuf/v2@latest
cargo install feroxbuster # or: apt-get install feroxbuster
# Crawling tools
go install -v github.com/hakluke/hakrawler@latest
go install -v github.com/projectdiscovery/urlfinder/cmd/urlfinder@latest
go install -v github.com/projectdiscovery/katana/cmd/katana@latest
go install -v github.com/lc/gau/v2/cmd/gau@latest
go install -v github.com/tomnomnom/waybackurls@latest
# Utils
go install -v github.com/tomnomnom/anew@latest
go install -v github.com/trufflesecurity/trufflehog/v3@latest
apt-get install -y jq whois tmux
# IIS Scanner
go install github.com/bitquark/shortscan/cmd/shortscan@latest
# WordPress Scanner (Docker-based)
curl -fsSL https://get.docker.com | sh && docker pull wpscanteam/wpscan
# Add Go binaries to PATH
echo 'export PATH="$PATH:$HOME/go/bin"' >> ~/.bashrc
source ~/.bashrc
# Update Nuclei templates
nuclei -ut
๐ Performance
- Concurrent Scanning - Parallel tool execution
- Async I/O - Non-blocking operations
- Resource Management - Automatic cleanup
- Timeout Handling - Prevents hanging scans
Typical Scan Times:
- Small domain (< 10 subdomains): 2-5 minutes
- Medium domain (10-50 subdomains): 5-15 minutes
- Large domain (> 50 subdomains): 15-30 minutes
๐ Security
- Path Validation - Prevents directory traversal
- Input Sanitization - Command injection protection
๐ค Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Submit a pull request
๐ License
MIT License - see LICENSE for details.
๐ค Author
OFJAAAH
- GitHub: @ofjaaah
Made with โค๏ธ and Rust ๐ฆ
Jelajahi proyek terkait
Memuatโฆ