Subdomain wordlist generator
Github: @shriyanss/subdomain_wordlist_gen
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
sudo python setup.py install
OR
sudo python3 setup.py install
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
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