GithubHelp home page GithubHelp logo

pug's Introduction

PUG

#Phantom User Generator

Disclaimer

I'm a horrible programmer. Don't judge me.

Summary

This is a stupid script I wrote to generate 'realistic' passwords based on what I've seen when cracking passwords on real compromised domain controllers. Obviously this can vary based on numerous factors including password policy. This is going to be used in conjuction with my Person Generator script to populate users onto my test domain with somewhat realistic passwords.

This version of the script accepts three parameters- number of hashes, wordlist, and arguments. I've included a basic wordlist file that is actually a trimmed down common password list, which happens to double as a list of very basic words. The username is used in the event that the script hits the one percent and populates a user's password as the same thing as their username.

Feel free to modify the integer ranges as you feel necessary. There is no statistical analysis behind these numbers. They literally came off the top of my head.

Again, this is a very basic script and I plan on improving it with additional features. Feel free to distribute or modify, I only ask that you give credit where credit is due.

Be well,

-Andrew

Usage

python pug.py <number> <wordlist> <optional arguments>
  --ntlm 		Generate empty LM hashes, force NTLM

Examples

Generate LM hashes

$ ./pug.py 5 word.lst
UCALLAHAN:1090:BE5570954C57AF1336077A718CCDF409:A5E031DE37E040DC730E19C50F52829F:::
CFROST:1728:498D61EB48C63ABCFF17365FAF1FFE89:F08B1E52BE814AB0BBEB2F64A85BE1AD:::
OLE:1524:41FED47DA31EC3AFC4045D3CFB2204EA:6023E744DD0D9F3599AA12DBBDD3FF5C:::
JDUFFY:1280:C0C4EF8E6ECC0092736F8EF8AD5EFB7A:FD24A64F195D97A90B05076C4865D79E:::
CJOHNS:1108:52B8CEC4E012F6301D71060D896B7A46:57950094A91EA1ADA8E17FDAD4759C2F:::

Generate NTLM hashes

$ python pug.py 5 word.lst --ntlm
CLYNCH:1956:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:::
CHARVEY:1864:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:::
CSTEWART:1290:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:::
CFREDERICK:1591:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:::
BHURLEY:1923:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:::

pug's People

Contributors

andrew-morris avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.