/Sublist3r

Fast subdomains enumeration tool for penetration testers

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

##About Sublist3r

Sublist3r is python tool that is designed to enumerate subdomains of websites using search engines. It helps penetration testers and bug hunters collect and gather subdomains for the domain they are targeting. Sublist3r currently supports the following search engines: Google, Yahoo, Bing, Baidu, and Ask. More search engines may be added in the future. Sublist3r also gathers subdomains using Netcraft and DNSdumpster.

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.

##Screenshots

Sublist3r

##Installation

git clone https://github.com/aboul3la/Sublist3r.git

##Recommended Python Version:

The recommended python version to use is 2.7.x on any platform.

Other python versions maybe not supported at the moment.

##Dependencies:

####Requests library (http://docs.python-requests.org/en/latest/)

  • Install for Ubuntu/Debian:
sudo apt-get install python-requests
  • Install for Centos/Redhat:
sudo yum install python-requests
  • Install using pip:
sudo pip install requests

####dnspython library (http://www.dnspython.org/)

  • Install for Ubuntu/Debian:
sudo apt-get install python-dnspython
  • Install using pip:
sudo pip install dnspython

####argparse library

  • Install for Ubuntu/Debian:
sudo apt-get install python-argparse
  • Install for Centos/Redhat:
sudo yum install python-argparse
  • Install using pip:
sudo pip install argparse

##Usage

Short Form Long Form Description
-d --domain Domain name to enumerate subdomains of
-b --bruteforce Enable the subbrute bruteforce module
-v --verbose Enable Verbosity and display results in realtime
-t --threads Number of threads to use for subbrute bruteforce
-o --output Save the results to text file
-h --help show the help message and exit

###Examples

  • To list all the basic options and switches use -h switch:

python sublist3r.py -h

  • To enumerate subdomains of specific domain:

python sublist3r.py -d example.com

  • To enumerate subdomains of specific domain and show results in realtime:

python sublist3r.py -v -d example.com

  • To enumerate subdomains and use the subbrute bruteforce module:

python sublist3r.py -b -d example.com

##License

Sublist3r is licensed under the GNU GPL license. take a look at the LICENSE for more information.

##Credits

  • TheRook - The bruteforce module was based on his script subbrute.

##Thanks

  • Special Thanks to Ibrahim Mosaad for his great contributions that helped in improving the tool.

##Version Current version is 0.1 alpha