__ ___
╱╲ ╲ ╲__ _ _ __ ___ ___ ╱ __╲__ _ __ __ _ ___ _ __ _ _
╱ ╲╱ ╱ _` │ '_ ` _ ╲ ╱ _ ╲╱ _╲╱ _ ╲│ '__╱ _` │╱ _ ╲ │ '_ ╲│ │ │ │
╱ ╱╲ ╱ (_│ │ │ │ │ │ │ __╱ ╱ │ (_) │ │ │ (_│ │ __╱_│ │_) │ │_│ │
╲_╲ ╲╱ ╲__,_│_│ │_│ │_│╲___╲╱ ╲___╱│_│ ╲__, │╲___(_) .__╱ ╲__, │
│___╱ │_│ │___╱
This Python script generates common Active Directory (AD) style usernames from a list of first and last names. It is useful for pentesting, user enumeration, and wordlist generation in enterprises.
- Input names should be in the format: Firstname Lastname
- Duplicate names are removed
- Lines with missing names are skipped automatically.
- Python 3.6+ (recommended)
Clone the repository:
git clone https://github.com/anjulameegalla/nameforge.py.git
cd nameforge.pypython3 nameforge.py -u <input_file> [-o <output_file>]- On Windows, use
pythonifpython3is not available.
-u→ Path to the input file containing names (required)-o→ Path to the output file (optional, defaults to stdout)
See examples/ for usage examples.