A tool for generating common username permutations from a list of names, a file, or url, to aid with username enumeration
Project description
namebuster
Generates a list of possible common username permutations given a list of names, a url, or a file.
Install
pip install namebuster
Usage
Command Line
- Name list:
namebuster "John Broccoli, Adam Blueberry, Queen Mango"
- URL:
namebuster https://sauna.htb
- File:
namebuster document.txt
Python
import namebuster
# Create a list of all usernames as one large list
split_usernames = namebuster.generate("https://sauna.htb")
# With name_sep=True, create a dict with "real_name: [usernames]" mapping
split_usernames = namebuster.generate("John Broccoli, Tim Apple", name_sep=True)
For each discovered name, namebuster will generate ~200 possible usernames. You can then use this list with a tool like kerbrute, for example:
[ benbusby : ~/test ]
$ namebuster "Fergus Smith" > usernames.txt
[ benbusby : ~/test ]
$ ./kerbrute_linux_amd64 userenum ./usernames.txt -d DOMAIN.LOCAL --dc domain.com
__ __ __
/ /_____ _____/ /_ _______ __/ /____
/ //_/ _ \/ ___/ __ \/ ___/ / / / __/ _ \
/ ,< / __/ / / /_/ / / / /_/ / /_/ __/
/_/|_|\___/_/ /_.___/_/ \__,_/\__/\___/
Version: v1.0.3 (9dad6e1) - 02/18/20 - Ronnie Flathers @ropnop
2020/02/18 23:47:59 > Using KDC(s):
2020/02/18 23:47:59 > domain.com:88
2020/02/18 23:47:59 > [+] VALID USERNAME: fsmith@DOMAIN.LOCAL
2020/02/18 23:47:59 > Done! Tested 125 usernames (1 valid) in 1.585 seconds
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file namebuster-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: namebuster-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 684b7130661a04d25b2832f59c1b367cae9a2a971a326f82843784a8fdb162d6 |
|
MD5 | 4c4d0b315307031eb2d7de2d8dabc6f6 |
|
BLAKE2b-256 | 9a65c13e4a2ae6e70758889c9f7f85b673a46a8ffa8934baf7089cf8d96d1f97 |