Share
## https://sploitus.com/exploit?id=A4E196E4-5FE6-52A5-8F8A-109FC31869B8
# AutoScan โ Legendary Bug Bounty Automation Framework
```
โโโโโโโโโ โโโ โโ โโโ โโโโโโโโ โโโโโโโโโ โโโโโโโโโ โโโโโโโโโ โโโโโโโ
โโโ โโโ โโโ โโโ โโโโโโโโโโโ โโโ โโโ โโโ โโโ โโโ โโโ โโโ โโโ โโโโโโโโโ
โโโ โโโ โโโ โโโ โโโโโโโโ โโโ โโโ โโโ โโ โโโ โโ โโโ โโโ โโโ โโโ
โโโ โโโ โโโ โโโ โโโ โ โโโ โโโ โโโ โโโ โโโโโโโโโโโ โโโ โโโ
โโโโโโโโโโโโ โโโ โโโ โโโ โโโ โโโ โโโโโโโโโโโโ โโโ โโโโโโโโโโ โโโ โโโ
โโโ โโโ โโโ โโโ โโโ โโโ โโโ โโโ โโโ โโ โโโโโโโโโโโโ โโโ โโโ
โโโ โโโ โโโ โโโ โโโ โโโ โโโ โโ โโโ โโโ โโโ โโโ โโโ โโโ โโโ
โโโ โโ โโโโโโโโโ โโโโ โโโโโโโโ โโโโโโโโโโ โโโโโโโโโ โโโ โโโ โโ โโ
```
> **โก A single Python script that runs a full-scope bug bounty recon pipeline โ from zero to final report โ on any target domain.**
---
## Overview
AutoScan automates every reconnaissance phase a professional bug bounty hunter performs. Run one command, get a structured workspace with subdomain lists, status-code buckets, redirect chains, technology fingerprints, CVE hits, HTTP method findings, cookie dumps, directory brute-force results, discovered parameters, JS secret leaks, and a merged final report โ all organized and ready for manual exploitation.
| | |
|---|---|
| **Author** | Anas Magane |
| **YouTube** | [Anas Education](https://www.youtube.com/@AnasEducation) |
| **LinkedIn** | [anas-magane](https://ma.linkedin.com/in/anas-magane-3aa287262) |
| **GitHub** | [Anas-Magane](https://github.com/Anas-Magane) |
| **Language** | Python 3.10+ |
| **License** | MIT |
---
## Pipeline (10 Steps)
| Step | Name | Tools |
|------|------|-------|
| 0 | Workspace Setup + Requirements Check | โ |
| 1 | Subdomain Enumeration | subfinder, assetfinder, SecurityTrails API, httpx |
| 1b | Redirect Chain Follower | curl |
| 2 | robots.txt Discovery | curl |
| 3 | Technology Fingerprinting | whatweb |
| 4 | Nuclei CVE Scan | nuclei |
| 5 | HTTP Methods Audit (OPTIONS / TRACE) | curl |
| 6 | Cookie & Storage Dump | curl, playwright |
| 7 | Directory Bruteforce (parallel ร10) | ffuf, gobuster |
| 8 | Parameter Discovery (parallel ร7) | arjun |
| 9 | JS File Secrets Scanner | curl + regex engine |
| 10 | Final Report Generation (`all_in_one.md`) | โ |
---
## Requirements
### System Tools
```bash
# Go tools (install via go install)
subfinder assetfinder httpx nuclei ffuf
# Package manager tools
sudo apt-get install -y gobuster whatweb jq curl
# Python tools
pip3 install arjun playwright --break-system-packages
python3 -m playwright install chromium
```
### Wordlists (for Step 7)
```bash
sudo apt-get install -y seclists dirb dirbuster
```
AutoScan auto-detects available tools at runtime. Missing tools are reported and their steps are gracefully skipped โ the scan continues with what's available.
---
## Installation
```bash
git clone https://github.com/Anas-Magane/AutoBugBounty.git
cd AutoBugBounty
chmod +x autoscan.py
```
No pip requirements file needed โ the script uses Python standard library only; external dependencies are the recon tools themselves.
---
## Usage
### Basic scan
```bash
python3 autoscan.py -u target.com
```
### With custom speed (1=slow/stealthy โฆ 5=fast/aggressive)
```bash
python3 autoscan.py -u target.com -s 2
```
### With custom headers (e.g. authenticated session)
```bash
python3 autoscan.py -u target.com -h "Cookie: session=abc123" -h "Authorization: Bearer TOKEN"
```
### Through a proxy (Burp Suite)
```bash
python3 autoscan.py -u target.com --proxy http://127.0.0.1:8080
```
### Set your own SecurityTrails API key
```bash
python3 autoscan.py --set-api-key YOUR_ST_KEY
```
### Full example
```bash
python3 autoscan.py -u example.com -s 3 -h "Cookie: auth=xyz" --proxy http://127.0.0.1:8080
```
---
## Speed Levels
| Level | Sleep Between Requests | Use Case |
|-------|----------------------|----------|
| 1 | 3.0 s | Very stealthy, WAF bypass |
| 2 | 1.5 s | Stealthy |
| **3** | **0.7 s** | **Default โ balanced** |
| 4 | 0.3 s | Fast |
| 5 | 0.0 s | Max speed (aggressive) |
---
## Output Structure
Every scan creates a timestamped workspace:
```
BugBounty__/
โโโ subdomains/
โ โโโ subfinder.txt # Raw subfinder output
โ โโโ assetfinder.txt # Raw assetfinder output
โ โโโ securitytrails.txt # Raw SecurityTrails output
โ โโโ all_subs.txt # Merged + deduplicated
โ โโโ -full-subs.txt # Fully-qualified subdomains
โ โโโ -live-subs.txt # Confirmed live (httpx)
โ โโโ 200.txt / 301.txt / 403.txt ... # Per-status-code buckets
โ โโโ redirects.md # Full redirect chains
โโโ robots/
โ โโโ robots.md # Aggregated report
โ โโโ .txt # Per-host robots.txt
โโโ technologies/
โ โโโ technology.md # whatweb fingerprints
โโโ nuclei/
โ โโโ nuclei-cves.txt # CVE scan results
โโโ http_methods/
โ โโโ http_methods.md # OPTIONS / TRACE / method results
โโโ cookies/
โ โโโ cookies.md # Aggregated report
โ โโโ _cookies.txt # HTTP header cookies
โ โโโ _browser.txt # Playwright browser storage
โโโ bruteforce/
โ โโโ _ffuf_small.json
โ โโโ _ffuf_big.json
โ โโโ _gobuster_*.txt
โโโ parameters/
โ โโโ parameters.md # Aggregated report
โ โโโ _params.json # Per-URL arjun output
โโโ js_secrets/
โ โโโ js_secrets.md # Leaked keys / tokens / passwords
โโโ all_in_one.md # Final merged report (start here)
```
---
## Configuration
Config is stored in `~/.autoscan/config.ini`:
```ini
[securitytrails]
api_key = YOUR_KEY_HERE
[general]
speed = 3
```
---
## After the Scan โ Manual Checklist
The generated `all_in_one.md` includes a checklist, but the key things to investigate manually:
- [ ] Use **Wappalyzer** to identify exact tech versions
- [ ] Test `403`/`401` subdomains for auth bypass
- [ ] Review `robots.txt` disallow paths in browser
- [ ] Rotate/revoke any secrets found in JS files immediately
- [ ] Test **TRACE-enabled** hosts for XST (Cross-Site Tracing)
- [ ] Fuzz discovered parameters for SQLi / XSS / SSRF / IDOR
- [ ] Exploit Nuclei CVE findings
- [ ] Inspect cookies for missing `HttpOnly` / `Secure` / `SameSite` flags
---
## Legal Disclaimer
**Use only against targets you have explicit written permission to test.**
Unauthorized scanning is illegal. This tool is built for authorized bug bounty programs, CTF competitions, and security research only.
---
## License
MIT ยฉ 2025 Anas Magane