#!/bin/bash
# Phase 1 — Scanning & Reconnaissance
source "$(dirname "$0")/lib.sh"

phase_header "PHASE 1 — Scanning & Network Reconnaissance"

section "Port Scanners"
chk "nmap"              nmap
chk "masscan"           masscan
chk "zmap"              zmap
chk "naabu"             naabu
chk "rustscan"          rustscan

section "Web Probing"
chk "httpx"             httpx
chk "httprobe"          httprobe
chk "nuclei"            nuclei
chk "ffuf"              ffuf
chk "gobuster"          gobuster
chk "feroxbuster"       feroxbuster
chk "dirsearch"         dirsearch
chk "wfuzz"             wfuzz
chk "dirb"              dirb
chk "nikto"             nikto
chk "whatweb"           whatweb
chk "wafw00f"           wafw00f
chk "testssl"           testssl

section "DNS & Subdomain"
chk "subfinder"         subfinder
chk "amass"             amass
chk "dnsx"              dnsx
chk "dnsrecon"          dnsrecon
chk "dnsenum"           dnsenum
chk "fierce"            fierce
chk "puredns"           puredns

section "URL & Link Discovery"
chk "gau"               gau
chk "waybackurls"       waybackurls
chk "katana"            katana
chk "hakrawler"         hakrawler
chk "linkfinder"        linkfinder
chk "gowitness"         gowitness

section "Screenshot & Fingerprint"
chk "wappalyzer"        wappalyzer

section "Fuzzing & Parameters"
chk "arjun"             arjun
chk "x8"                x8
chk "qsreplace"         qsreplace

section "Subdomain Takeover"
chk "subzy"             subzy

phase_summary
