Skip to content

jpdoherty/SubDomainEnum

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

SubDomainEnum

This script is a comprehensive tool for subdomain enumeration, utilizing a blend of open-source tools to achieve in-depth, accurate and speedy results. The tools employed in this script include the following:

  • Subfinder
  • Amass
  • Puredns
  • Ripgen
  • crt.sh
  • Assetfinder
  • Interlace

Arguments

alt text

Setup

Simply run SubDomainEnum.sh with the setup parameter.

./SubDomainEnum.sh setup

The setup process will install all necessary tools and configure your GO$ environment variables. If any of the tools or environment variables are not already installed or configured, the script will guide you through the process. The initial run will provide a list of commands for configuring your environment variables, and a subsequent run will download the necessary tools.

Enumeration

alt text

Enumeration accepts four positional arguments, three of which are required.

  • root_domains (Required) - This should be a file that contains a list of root domains (E.G. google.com, amazon.com, etc...). Each root domain should be on a new line.
  • wordlist (Required) - This should be a subdomain wordlist. This file will be used to conduct subdomain bruteforcing.
  • outputdirectory (Required) - The name of the output directory that will be created and where all output files will be stored. `
  • amass_config - An amass config file with API keys (I strongly suggest providing a config for better results).

All scan results will be saved to the specified output directory. The final list of subdomains will be saved in a file called final_subbdomains.txt

Example Command:

./SubDomainEnum.sh enumerate rootDomains.txt best-dns-wordlist.txt output_1 custom_config.ini

About

Sub Domain Enumeration Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%