Skip to content
/ subby Public

subdomain enumeration with simple data aggregators built in

Notifications You must be signed in to change notification settings

threat/subby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

subby.py

subdomain enumeration with simple data aggregators built in

Installation

In order to rub Subby, you need the following Python and Golang packages:

  requests (python)
  beautifulsoup4 (python)
  httpx (go)

To install these packages, do the following:

Python

pip install -r requirements.txt

Go

go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest

Running the script

After installing all of the required packages and binaries, you can either scan a singular domain or run multiple from a text file.

python3 subpy.py -d example.com

or

python3 subpy.py -f file.txt

Visual Demo

image_example

image_example

multiple domains

image_example

Credits

TODO

  • improve regex rules
  • add sitedossier, crt.sh, archive.org as aggregators
  • multiprocessing for multiple domains (chunk each domain scan into a seperate process to run concurrent with the rest)