BBLABS v2BBLABSv2
>Home>Labs
>New labs

Latest 3 labs

Loading…

View all labs →
>Creators>Ranking
>Learn

Learn bug bounty

AcademyGuides, cheatsheets and glossaryVulnerabilitiesXSS, SQLi, IDOR, SSRF and moreHunter RoadmapYour step-by-step bug bounty pathBlogBug bounty guides and news
>Business>Pricing
ES
Log inLog in
>Home>Labs>New labs>Creators>Ranking>Learn>Business>Pricing
ES
Sign inCreate account

Contact

Practice, learn and hack

Bug bounty practice platform with labs based on real reports. Learn ethical hacking in safe environments.

contact→

Follow us

YouTube
@0xGorka
X
@gorkaelbochi
LinkedIn
gorka-el-bochi-morillo
Instagram
@_.gorkaaa.b
Email
team@bblabs.es

Access every lab from €7.99/mo

New labs every week. Cancel anytime.

Create account

BBLabs is the bug bounty labs platform where you learn bug bounty with real vulnerabilities extracted from paid reports on HackerOne, Bugcrowd and Intigriti. Here you practice web hacking —XSS, SQLi, IDOR, SSRF, CSRF and more— in downloadable environments, capture the flag, read the writeup and apply the technique on active bug bounty programs.

BBLabs is the alternative to HackTheBox, TryHackMe and PentesterLab for those who want to practice bug bounty with real reports instead of artificial CTFs. From €7.99/mo, no commitment.

→ Learn bug bounty from scratch→ How to do bug bounty step by step→ Real bug bounty reports→ BBLabs for companies and academiesLabsAcademyVulnerabilitiesToolsHunter rankingXSS labsIDOR labsSSRF labsCSRF labsHackTheBox alternativeHack4u alternativeTryHackMe alternativePortSwigger alternativePentesterLab alternativeBug Bounty Labs comparisonHackerOne to practiceOffSec / OSCP alternativeINE / eWPT alternativeHTB Academy alternativeDVWA alternativeJuice Shop alternativeVulnHub alternativePentesterAcademy alternativeRoot-Me alternativeHackTheBox vs TryHackMeBest bug bounty platforms 2026BlogSpoilersWhat is bug bounty?How much do you earn in bug bounty?OWASP Top 10 explainedBest sites to practice web hackingHow to become an ethical hacker from scratchBurp Suite tutorial (Spanish)OSCP guide and prepGoogle Dorks for bug bountyHow much an ethical hacker earns in SpainBug bounty tools 2026Best cybersecurity certifications 2026Burp Suite tutorialsqlmap tutorialffuf web fuzzingnuclei tutorialHTTP Request SmugglingWAF bypassPrompt injection (LLM)Google Dorks
Made withand code
TermsPrivacyComparisonES

© 2026 BBLABS v2 — All rights reserved

back to blog
methodology

Advanced recon techniques

Take your reconnaissance phase to the next level with advanced techniques for subdomain enumeration, JavaScript file analysis, GitHub dorking and automation.

B

BBLabs

Security Researcher

Jan 15, 202618 min read
#recon#subdomains#osint

Why is recon so important?

The reconnaissance phase is where bounties are won or lost. Deep recon lets you discover forgotten assets, undocumented endpoints and attack surfaces that other hunters overlook. The golden rule is: the broader your attack surface, the higher your chances of finding vulnerabilities.

Subdomain enumeration

Passive sources

Passive sources give you subdomains without touching the target directly:

# Subfinder - queries multiple data sources
subfinder -d target.com -all -silent | sort -u > subs_subfinder.txt

# Amass - exhaustive enumeration with multiple techniques
amass enum -passive -d target.com -o subs_amass.txt

# crt.sh - SSL/TLS certificates (manual or with curl)
curl -s "https://crt.sh/?q=%.target.com&output=json" | \
  jq -r '.[].name_value' | sort -u > subs_crtsh.txt

Active sources

Active sources interact with the target to discover subdomains that don't appear in public sources:

# Brute-force subdomains with a wordlist
ffuf -u "https://FUZZ.target.com" -w /path/to/subdomains.txt \
  -mc 200,301,302,403 -o subs_bruteforce.txt

# DNS zone transfer (rare but worth trying)
dig axfr target.com @ns1.target.com

# Mass resolution to verify which subdomains exist
cat all_subs.txt | httpx -silent -status-code -title > alive_hosts.txt

Combining and deduplicating results

cat subs_subfinder.txt subs_amass.txt subs_crtsh.txt subs_bruteforce.txt | \
  sort -u > all_subdomains.txt

echo "[+] Total unique subdomains: $(wc -l < all_subdomains.txt)"

Port scanning

Don't limit yourself to the standard web ports (80/443). Many interesting services run on high ports:

# Nmap - full port scan
nmap -sS -p- --min-rate 1000 -T4 target.com -oN ports.txt

# Common interesting ports
# 8080, 8443 - Alternative web servers
# 3000 - Node.js / Grafana
# 8888 - Jupyter Notebook
# 9200 - Elasticsearch
# 6379 - Redis
# 27017 - MongoDB

Analyzing JavaScript files

JavaScript files are a gold mine. They contain API endpoints, tokens, keys and business logic:

# Extract URLs of JS files with gau and filter
gau target.com | grep "\.js$" | sort -u > js_files.txt

# Download and analyze JS files
while read url; do
  curl -s "$url" >> all_js.txt
done < js_files.txt

# Look for API endpoints in the JS files
grep -oP '["'"'"']/api/[a-zA-Z0-9/_-]+' all_js.txt | sort -u

# Look for tokens and secrets
grep -iE '(api[_-]?key|secret|token|password|auth)\s*[:=]' all_js.txt

Specialized tools for JS analysis

# LinkFinder - extracts endpoints from JS files
python3 linkfinder.py -i https://target.com/app.js -o cli

# SecretFinder - looks for secrets in JS files
python3 SecretFinder.py -i https://target.com/app.js -o cli

GitHub dorking

GitHub is an incredible source of sensitive information. Developers make mistakes and publish credentials, internal endpoints and private documentation:

# Useful dorks in GitHub Search
"target.com" password
"target.com" api_key
"target.com" secret
org:targetorg filename:.env
org:targetorg filename:config extension:json
org:targetorg "BEGIN RSA PRIVATE KEY"
org:targetorg jdbc OR mysql OR postgresql

Automation tools

# truffleHog - searches for secrets in git repositories
trufflehog git https://github.com/target/repo

# gitdorker - automates GitHub dorks
python3 gitdorker.py -t TOKEN -org target -d dorks/medium.txt

Wayback Machine

The Internet Archive's Wayback Machine stores historical snapshots of websites. You can find old endpoints, deleted admin panels and sensitive files:

# waybackurls - get historical URLs
echo "target.com" | waybackurls | sort -u > wayback_urls.txt

# Filter by interesting extensions
cat wayback_urls.txt | grep -iE "\.(php|asp|aspx|jsp|json|xml|config|env|sql|bak|old|backup)"

# Look for potentially vulnerable parameters
cat wayback_urls.txt | grep "=" | qsreplace "FUZZ" | sort -u > params_to_test.txt

Technology fingerprinting

Knowing the target's technologies helps you look for specific CVEs and tailor your attacks:

# Wappalyzer CLI
wappalyzer https://target.com

# httpx with technology detection
echo "target.com" | httpx -tech-detect -status-code -title

# whatweb
whatweb https://target.com

Building automation pipelines

The ultimate goal is to automate the whole recon process so you can run it periodically and detect changes:

#!/bin/bash
# recon-pipeline.sh
DOMAIN=$1
DATE=$(date +%Y%m%d)
DIR=~/recon/$DOMAIN/$DATE

mkdir -p $DIR

# Step 1: Subdomains
subfinder -d $DOMAIN -silent | sort -u > $DIR/subs.txt
amass enum -passive -d $DOMAIN >> $DIR/subs.txt
sort -u -o $DIR/subs.txt $DIR/subs.txt

# Step 2: Live hosts
cat $DIR/subs.txt | httpx -silent -status-code -title -tech-detect \
  -o $DIR/alive.txt

# Step 3: URLs and parameters
cat $DIR/alive.txt | cut -d' ' -f1 | gau --threads 5 | sort -u > $DIR/urls.txt

# Step 4: Scan with Nuclei
nuclei -l $DIR/alive.txt -severity medium,high,critical \
  -o $DIR/nuclei_results.txt

# Step 5: Diff against previous results
PREV=$(ls -d ~/recon/$DOMAIN/*/subs.txt 2>/dev/null | tail -2 | head -1)
if [ -n "$PREV" ]; then
  diff $PREV $DIR/subs.txt | grep "^>" > $DIR/new_subs.txt
  echo "[!] New subdomains found: $(wc -l < $DIR/new_subs.txt)"
fi

Continuous monitoring

The best hunters don't run recon just once. They set up monitors that alert them when new subdomains appear or the infrastructure changes:

# Run your pipeline every 24 hours with cron
0 2 * * * /home/user/recon-pipeline.sh target.com

# Use services like Shodan Monitor or tools like notify
# to get alerts on Slack, Telegram or Discord

Conclusion

Advanced reconnaissance isn't about using more tools, but being more creative and systematic in how you look for information. Combine passive and active sources, analyze JavaScript files, search GitHub, leverage historical data and automate everything you can. The difference between finding a bug and missing it often lies in the depth of your recon.

share
share:
hunters training
650

hunters training

labs from real reports
50

labs from real reports

completions
380

completions

in bounties practiced
$200,000

in bounties practiced

40 flags captured this week·Real reports from HackerOne · Bugcrowd · Intigriti·No commitment·Free Academy
BBLabs · bug bounty training

Stop reading about bugs and start hunting them

Create your free account and practice on labs based on real reports that paid out thousands of euros. The Academy is free forever.

Create free accountSee the labs

No card · free Academy · cancel anytime

[RELATED_POSTS]

Continue Reading

methodology

First steps on HackerOne

A complete guide to getting started on HackerOne: from creating your account to submitting your first vulnerability report. Tips for beginners.

Feb 5, 2026•10 min read
techniques

Google Dorks for bug bounty: recon with search engines (guide + examples)

Google Dorks guide for bug bounty: what they are, the operators (site:, inurl:, intitle:, filetype:, ext:, intext:), ready-to-use examples for info exposure, panels, sensitive files and subdomains, ethical use within scope and how they fit into your recon.

2026-07-21•12 min read
tools

ffuf: web fuzzing from scratch (directories, vhost and parameters)

ffuf tutorial: fuzzing directories, subdomains/vhosts and GET/POST parameters, how to filter noise with -fc/-fs and calibrate with -mc/-ac, SecLists wordlists and when to use gobuster or dirsearch as alternatives.

2026-07-21•11 min read