dirlister

Generates wordlists to use for enumeration and brute-forcing files and directories


Keywords
enumeration, extract, penetration-testing, python, python2, python3, wordlist, wordlist-generator, wordlists
License
GPL-2.0
Install
pip install dirlister==1.0.0

Documentation

DirLister

Generates wordlists to use for enumeration and brute-forcing files and directories. For example, you have discovered a web application that is running a certain CMS. First, find the source code and download it locally. Then use the tool to grab files, folders and/or extensions to generate wordlists used to force browse the application.

Screenshots

DirLister

Usage

Extract filenames and folders: python dirlister.py -d sample

Extract all formats :python dirlister.py -d sample -o output

root@kali:~# python dirlister.py -h
usage: dirlister.py [-h] [-d DIR] [-u URL] [-f {1,2,3,4,5}] [-o OUTPUT]

optional arguments:
  -h, --help            show this help message and exit
  -d DIR, --dir DIR     Check a directory.
  -u URL, --url URL     Check a single URL.
  -f {1,2,3,4,5}, --format {1,2,3,4,5}
                        1= all, 2= folder names only, 3= filenames only, 4=
                        filenames without extensions, 5= extensions only
  -o OUTPUT, --output OUTPUT
                        Automatically saves all formats. Please specify a name

TODO

  • Support URLs such as GitHub API
  • Add banner and pretty colours