Fast subdomains enumeration tool for penetration testers
Fast subdomains enumeration tool for penetration testers
Sublist3r is a python tool designed to enumerate subdomains of websites using OSINT. It helps penetration testers and bug hunters collect and gather subdomains for the domain they are targeting. Sublist3r enumerates subdomains using many search engines such as Google, Yahoo, Bing, Baidu and Ask. Sublist3r also enumerates subdomains using Netcraft, Virustotal, ThreatCrowd, DNSdumpster and ReverseDNS.
subbrute was integrated with Sublist3r to increase the possibility of finding more subdomains using bruteforce with an improved wordlist. The credit goes to TheRook who is the author of subbrute.
git clone https://github.com/aboul3la/Sublist3r.gitSublist3r currently supports Python 2 and Python 3.
Sublist3r depends on the requests, dnspython and argparse python modules.
These dependencies can be installed using the requirements file:
c:\python27\python.exe -m pip install -r requirements.txtsudo pip install -r requirements.txtAlternatively, each module can be installed independently as shown below.
c:\python27\python.exe -m pip install requestssudo apt-get install python-requestssudo yum install python-requestssudo pip install requestsc:\python27\python.exe -m pip install dnspythonsudo apt-get install python-dnspythonsudo pip install dnspythonsudo apt-get install python-argparsesudo yum install python-argparsesudo pip install argparsefor coloring in windows install the following libraries
c:\python27\python.exe -m pip install win_unicode_console colorama| Short Form | Long Form | Description |
|---|---|---|
| -d | --domain | Domain name to enumerate subdomains of |
| -b | --bruteforce | Enable the subbrute bruteforce module |
| -p | --ports | Scan the found subdomains against specific tcp ports |
| -v | --verbose | Enable the verbose mode and display results in realtime |
| -t | --threads | Number of threads to use for subbrute bruteforce |
| -e | --engines | Specify a comma-separated list of search engines |
| -o | --output | Save the results to text file |
| -h | --help | show the help message and exit |
python sublist3r.py -h
python sublist3r.py -d example.com
python sublist3r.py -d example.com -p 80,443
python sublist3r.py -v -d example.com
python sublist3r.py -b -d example.com
python sublist3r.py -e google,yahoo,virustotal -d example.com
Example
import sublist3r
subdomains = sublist3r.main(domain, no_threads, savefile, ports, silent, verbose, enable_bruteforce, engines)The main function will return a set of unique subdomains found by Sublist3r
Function Usage:
Example to enumerate subdomains of Yahoo.com:
import sublist3r
subdomains = sublist3r.main('yahoo.com', 40, 'yahoo_subdomains.txt', ports= None, silent=False, verbose= False, enable_bruteforce= False, engines=None)Sublist3r is licensed under the GNU GPL license. take a look at the LICENSE for more information.
Current version is 1.0
Sublist3r crashes on Python 3.14 with TypeError: cannot pickle '_thread.lock' object
time
List index out of range
CyberSecurity-DataAnalysis
A newer version of `Sublist3r`
please what should i do in this case?
Bruteforce mode stuck at the end
Sublist3r
IF THE TOOL IS FAILING DUE TO VIRUSTOTAL... here is a quick fix