Skip to main content

A tool for generating a list of username permutations from a list of names, a file, or url, to use for brute forcing

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 ~130 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


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

namebuster-1.0.0-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page