WordListHub is a lightweight Django-based web application for browsing, viewing, uploading, and downloading wordlists stored on a server.
It is designed mainly for bug bounty hunters, recon workflows, and payload management, with strong focus on secure path handling.
- Browse wordlist directories via a web interface
- View wordlist files directly in the browser (raw text)
- Upload wordlists (staff users only)
- Download all wordlists as a ZIP archive
- Simple API endpoint to list directories (staff only)
- Protection against directory traversal attacks
Your wordlists must be placed inside the wordlist/ directory in the project root.
Expected structure:
Desktop/wordListHub
├── db.sqlite3
├── Downloader
├── manage.py
├── static
├── templates
├── wordlist <-- ⚠️ PLACE YOUR WORDLISTS HERE
└── wordListHub
Only files and directories inside wordlist/ will be accessible through the application.
MEDIA_ROOT in wordListHub/settings.py must point to the wordlist/ directory.
Example:
MEDIA_ROOT = "/home/username/Desktop/wordListHub/wordlist"You must change the Django SECRET_KEY before running the project.
File:
wordListHub/settings.py
Recommended approach (environment variable):
import os
SECRET_KEY = os.getenv("DJANGO_SECRET_KEY", "dev-secret-key")- Clone the repository:
git clone https://github.com/yourusername/wordlisthub.git
cd wordlisthub- Create and activate virtual environment:
python3 -m venv venv
source venv/bin/activate- Install dependencies:
pip install django- Apply migrations and run server:
python manage.py migrate
python manage.py runserverOpen in browser:
http://127.0.0.1:8000/?path=/
-
/
Browse directories using thepathparameter
Example:/?path=/subdir/ -
/show?file=...
View wordlist file content -
/upload
Upload wordlists (authenticated staff users only) -
/api/get_dirs/
Returns directory list as JSON (staff users only) -
/api/download
Download all wordlists as a ZIP file
- All user-supplied paths are sanitized using
Path.resolve()andis_relative_to() - Access outside
MEDIA_ROOTis blocked - Upload and API access are restricted to staff users
- Designed for local or trusted environments
- Add authentication and HTTPS before public deployment
- Bug bounty payload management
- Recon wordlist hosting
- Internal security tooling
- Centralized wordlist server
Created By: ehsan