Skip to main content

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

Metadata

Release files for subgen 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for subgen 0.0.1
File Size Uploaded
subgen-0.0.1.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for subgen 0.0.1
File Interpreter ABI Platform
subgen-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / subgen-0.0.1.tar.gz

Download URL subgen-0.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
77043166281baad7717f70762b2d96f8d36c25e101b7dbf7f3c8f69531e513e3
BLAKE2b-256 checksum
How to use checksums
810619f6ca3203875f293375cb1e2fc693fce8234a045915125b687700b61e68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / subgen-0.0.1-py3-none-any.whl

Download URL subgen-0.0.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ae7bd8e37b83c7c6303c59aa7ffceb66b75fdc23d07a21dccdcfe0066fc526d
BLAKE2b-256 checksum
How to use checksums
991bdb598be8af354816df4c4f153b78a3e80c052476b4b73d2264af9db4d787
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page