Coder Social home page Coder Social logo

subdomain_wordlist_gen's Introduction

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

subdomain_wordlist_gen's People

Contributors

shriyanss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

subdomain_wordlist_gen's Issues

AttributeError: module 'importlib.resources' has no attribute 'files'

Hi, i when i want to use your program i get error like this i use the setup.py file also using pip and i have same error

Traceback (most recent call last):
  File "/usr/local/bin/subgen", line 11, in <module>
    load_entry_point('subgen==0.0.1', 'console_scripts', 'subgen')()
  File "/usr/local/lib/python3.8/dist-packages/subgen-0.0.1-py3.8.egg/subgen/subgen/cli.py", line 29, in main
  File "/usr/local/lib/python3.8/dist-packages/subgen-0.0.1-py3.8.egg/subgen/subgen/cli.py", line 7, in banner
  File "/usr/local/lib/python3.8/dist-packages/pyfiglet-1.0.2-py3.8.egg/pyfiglet/__init__.py", line 67, in figlet_format
    fig = Figlet(font, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/pyfiglet-1.0.2-py3.8.egg/pyfiglet/__init__.py", line 862, in __init__
    self.setFont()
  File "/usr/local/lib/python3.8/dist-packages/pyfiglet-1.0.2-py3.8.egg/pyfiglet/__init__.py", line 869, in setFont
    self.Font = FigletFont(font=self.font)
  File "/usr/local/lib/python3.8/dist-packages/pyfiglet-1.0.2-py3.8.egg/pyfiglet/__init__.py", line 128, in __init__
    self.data = self.preloadFont(font)
  File "/usr/local/lib/python3.8/dist-packages/pyfiglet-1.0.2-py3.8.egg/pyfiglet/__init__.py", line 141, in preloadFont
    path = importlib.resources.files('pyfiglet.fonts').joinpath(fn)
AttributeError: module 'importlib.resources' has no attribute 'files'```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.