Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
/ subz Public archive

Programmatically uses a few subdomain recon tools to enumerate subdomains for a target domain

Notifications You must be signed in to change notification settings

intrudir/subz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

subz

Programatically uses a few subdomain recon tools to enumerate subdomains for a target domain

Requirements:

You need the following subdomain recon tools installed and in your PATH:

Optional:



Usage:

usage: subz.py [-h] [-t TARGET] [-s SCOPE] [-d] [-v]

Programatically uses a few subdomain recon tools to enumerate subdomains for a                                                               
target domain

optional arguments:
  -h, --help            show this help message and exit
  -t TARGET, --target TARGET
                        Specify the single domain you'd like to enumerate                                                                    
                        subdomains for. e.g. uber.com
  -s SCOPE, --scope SCOPE
                        Display the in-scope web assets from HackerOne.                                                                      
                        Specify slug. e.g. 'yelp' or 'verizonmedia'
  -d, --mkdirs          Create directory structure using in-scope web assets                                                                 
                        from HackerOne. Requires '-s' flag.'
  -v, --verbose         Enable slightly more verbose console output

Display In-scope web app assets

Pulls from HackerOne using valid slug.
Slug is usually the endpoint used to reach the scope page for the program. e.g. https://hackerone.com/paypal

python3 subz.py -s paypal

image


Create directories based on the in-scope web assets

Requires the -s flag

python3 subz.py -s paypal -d

image


Enumerate subdomains for specified target domain.

  • Add -v for verbosity. Lets you see what command is running for each tool.
  • Will use Amass, Assetfinder Subfinder, Chaos for subdomain enumeration.
  • The results will be output files for each tool. There will be a final.{target}.txt file with everything sorted and deduped for you in 1 file :)
python3 subz.py -t paypal.me

image

Releases

No releases published

Packages

No packages published

Languages