Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

What is Sublist3r and How to Use it?

  • Last Updated : 15 Jul, 2020

Sublister is a tool designed in python and uses OSINT in order to enumerate subdomains of websites. It helps pen-testers in collecting and gathering subdomains for a domain which is their target. In order to fetch the accurate results, sublilster uses many search engines like Google, Yahoo, etc. and even tools like Netcraft, Virustotal, etc.

Installing and using sublister

1. To install sublister you can clone the Github repository and use it. To do so you can follow the command 

git clone

2. Once the process is done move to the seblister directory 

GeeksforGeeks LIVE courses

cd sublist3r


Cloning sublist3r

3. Now we need to check for dependencies, sublist3r depends on requests, dnspython, and argparse python modules. These dependencies can be installed using requirements.txt file: 

pip install -r requirements.txt


installing required packages

You can even manually install all the required modules.

Requests module

sudo pip install requests

dnspython module 

sudo pip install dnspython

argparse module 

sudo pip install argparse


manually installing required packages

4. To run the tool, Enter the following command in the terminal.


While running tool if you get any errors like for example dns.resolver module not found or dns.message module not found then it is because you might be running tool on python version 2.7 and installed dnspython module in python 3 version, so it will be better if you use python pip instead of pip3 to solve these errors. 

Running sublist3r

5. Now our tool is working in the current directory and every time we will try to run it then we need to go into the directory and run it, so now we will make a symbolic link so that we can access it from any directory we are in. 

sudo ln -sfv /opt/Sublist3r/ /usr/bin/sublist3r


creating symbolic link for sublist3r


sublist3r help section how to use sublist3r

To list the subdomains of a domain enter the following command in Linux and replace “” with the website you want to list the subdomains of.

sublist3r -v -d -t 5 -e bing -o -/Desktop/subresult.txt

Where -d stands for domain listing and -v will verbose the output and tell from where it is getting the results. The fetch results will be saved in subresult.txt file in the desktop directory and the number of threads will be 5 using bing as a search engine. 

using sublist3r to get all the sub domain names of a domain

As you can see, the above command lists all the domains and subdomains related to and hence make it easy for us to look for the subdomains of a website.

My Personal Notes arrow_drop_up
Recommended Articles
Page :