Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions bughunter/tools/recon_engine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,14 @@ cat "$RECON_DIR/subdomains/"*.txt 2>/dev/null | sort -u > "$RECON_DIR/subdomains
TOTAL_SUBS=$(wc -l < "$RECON_DIR/subdomains/all.txt" 2>/dev/null || echo 0)
log_ok "Total unique subdomains: $TOTAL_SUBS"

# Always include the seed host itself: deep (4+-level) hostnames, DNS-only
# zones and internal names return nothing from passive enum, and the app
# often lives exactly on the seed (mirrors the ip/local seeding above).
echo "${TARGET}${TARGET_PORT:+:$TARGET_PORT}" >> "$RECON_DIR/subdomains/all.txt"
sort -u -o "$RECON_DIR/subdomains/all.txt" "$RECON_DIR/subdomains/all.txt"
TOTAL_SUBS=$(wc -l < "$RECON_DIR/subdomains/all.txt" 2>/dev/null || echo 0)
log_ok "Seed host included; probe list now: $TOTAL_SUBS host(s)"

fi # end of domain-only subdomain enum block

# ============================================================
Expand Down