Skip to content

armanridho/ultimate-recon-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Clone script

git clone https://github.com/armanridho/ultimate-recon-script

cd ultimate-recon-script

Setup direktori

mkdir -p config wordlists

Download resolvers

curl -s https://raw.githubusercontent.com/projectdiscovery/dnsx/main/scripts/resolvers.txt -o config/resolvers.txt

Set environment variables (edit ~/.bashrc atau ~/.zshrc)

export PDCP_API_KEY="your_pdcp_key"
export SHODAN_API_KEY="your_shodan_key"
export CENSYS_API_ID="your_censys_id"
export CENSYS_API_SECRET="your_censys_secret"
export FOFA_EMAIL="your_fofa_email"
export FOFA_KEY="your_fofa_key"

2. Install Dependencies

#!/bin/bash
# install-dependencies.sh

# Install ProjectDiscovery tools
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest
go install -v github.com/projectdiscovery/katana/cmd/katana@latest
go install -v github.com/projectdiscovery/tlsx/cmd/tlsx@latest
go install -v github.com/projectdiscovery/mapcidr/cmd/mapcidr@latest
go install -v github.com/projectdiscovery/shuffledns/cmd/shuffledns@latest
go install -v github.com/projectdiscovery/asnmap/cmd/asnmap@latest
go install -v github.com/projectdiscovery/interactsh/cmd/interactsh-client@latest
go install -v github.com/projectdiscovery/uncover/cmd/uncover@latest
go install -v github.com/projectdiscovery/cdncheck/cmd/cdncheck@latest
go install -v github.com/projectdiscovery/chaos-client/cmd/chaos@latest
go install -v github.com/projectdiscovery/cvemap/cmd/vulnx@latest
go install -v github.com/projectdiscovery/urlfinder/cmd/urlfinder@latest
go install -v github.com/projectdiscovery/tldfinder/cmd/tldfinder@latest
go install -v github.com/projectdiscovery/aix/cmd/aix@latest

3. Jalankan Script

# Berikan permission executable
chmod +x ultimate-recon.sh
chmod +x install-dependencies.sh

# Install dependencies terlebih dahulu
./install-dependencies.sh

# Jalankan recon
./ultimate-recon.sh example.com

# Atau dengan environment variables khusus
LOG_DIR=/path/to/logs OUTPUT_DIR=/path/to/output ./ultimate-recon.sh example.com

Fitur Script

Komprehensif

  • Mengintegrasikan 20+ tools ProjectDiscovery
  • Pipeline otomatis dari subdomain enumeration sampai vulnerability assessment

Error Handling

  • set -euo pipefail untuk strict error handling
  • Logging terpisah untuk setiap tool
  • Continue on error untuk proses independen

Konfigurasi Fleksibel

  • Environment variables untuk API keys
  • Direktori yang dapat dikustomisasi
  • Wordlists yang dapat diunduh otomatis

Reporting

  • Generate laporan Markdown otomatis
  • Executive summary dan detailed findings
  • Recommendations berdasarkan hasil scan

Modular Design

  • Fungsi terpisah untuk setiap tahap recon
  • Mudah untuk dimodifikasi dan dikembangkan

Catatan Penting

  1. API Keys: Pastikan mengatur API keys yang diperlukan di environment variables
  2. Resources: Script ini membutuhkan resources yang cukup besar (CPU, RAM, bandwidth)
  3. Legal: Gunakan hanya pada target yang memiliki izin untuk di-test
  4. Rate Limiting: Beberapa tools memiliki rate limiting, pertimbangkan untuk menggunakan delay

Optimasi

Untuk target yang besar, pertimbangkan untuk:

# Batasi concurrent processes
export NUM_THREADS=50

# Gunakan rate limiting
export RATE_LIMIT=100

# Split target besar
mapcidr -cidr 192.168.0.0/16 -sbh 1000 | xargs -I {} ./ultimate-recon.sh {}

Script ini memberikan dasar yang kuat untuk pipeline recon yang komprehensif dan dapat dikustomisasi sesuai kebutuhan spesifik.

About

Mengintegrasikan 20+ tools ProjectDiscovery

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages