Skip to content

CertSub is a Bash command-line tool that extracts subdomains associated with a domain name. It uses crt.sh to perform a search and returns a sorted, unique list. It's useful for reconnaissance, identifying attack vectors, or gaining insight into subdomains.

Notifications You must be signed in to change notification settings

whalebone7/CertSub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

CertSub

CertSub is a command-line tool written in Bash that allows you to quickly and easily extract subdomains associated with a domain name. By providing a single domain or a list of domains in a file, CertSub makes use of the crt.sh website to perform a search and returns a list of unique subdomains sorted in alphabetical order.

Usage

To use CertSub, simply download the certsub.sh file and make it executable:

$ chmod +x certsub.sh

You can then run CertSub by providing a single domain with the -u option:

$ ./certsub.sh -u example.com

Or, you can provide a list of domains in a file with the -f option:

$ ./certsub.sh -f domains.txt

The file domains.txt should contain one domain per line.

Examples

carbon

Extract subdomains of domains listed in a file

Given a file named domains.txt with the following contents:

example.com

test.com

Run the following command:

carbon

About

CertSub is a Bash command-line tool that extracts subdomains associated with a domain name. It uses crt.sh to perform a search and returns a sorted, unique list. It's useful for reconnaissance, identifying attack vectors, or gaining insight into subdomains.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages