Skip to main content

Subdomain wordlist generator

Project description

subdomain_wordlist_gen (aka subgen)

Subdomain wordlist generator

Github: @shriyanss/subdomain_wordlist_gen

Table of contents

Installation

Install using pip (recommended)

pip install subgen

OR

pip3 install subgen

NOTE: When tested on mac OS, installing without sudo didn't worked as expected, so consider running above commands as root instead

Install using setup.py file

sudo python setup.py install

OR

sudo python3 setup.py install

Usage

usage: subgen-runner.py [-h] -i INPUT [-s] [-o OUTPUT]

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Input file to generate wordlist with
  -s, --silent          Don't print the banner
  -o OUTPUT, --output OUTPUT
                        Output file to write the wordlist

Generate a simple wordlist using the given subdomains file

This will split and then print the results.

Example:-

$ cat subdomains.txt
www.example.com
blog.example.com
store.example.com
forum.example.com
support.example.com
news.example.com
app.example.com
mail.example.com
forum.example.com
events.example.com
partners.example.com
$ subgen -i subdomains.txt
               __                   
   _______  __/ /_  ____ ____  ____ 
  / ___/ / / / __ \/ __ `/ _ \/ __ \
 (__  ) /_/ / /_/ / /_/ /  __/ / / /
/____/\__,_/_.___/\__, /\___/_/ /_/ 
                 /____/             

www
blog
store
forum
support
news
app
mail
events
partners

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

subgen-0.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

subgen-0.0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page