Giter Club home page Giter Club logo

passgen's Introduction

PassGen

A targeted password dictionary attack tool

PassGen is a security tool intended to generate a potential password list for a target using different combinations of capital letters and common substitutions. It can also be used to make HTTP requests to see if any passwords from the list are valid.

It is intended to be used for internal security testing to identify any weak passwords that might be in use and should never be used against a target without their full consent.

Complete list of options:

  • no options : generates a password list by replaceing the first character of the password and appending an extra character to the end.
  • -f : generate a full password list. This can make the password list quite lengthy.
  • -n : generate a password list the appends 4 digit numbers to the end of the target password.
  • -o : output file name
  • -t : HTTP request target (example: http://myTestSite.com/login)
  • -d : HTTP parameters (example: email=[email protected],password={0}). The {0} specifies where the password will be inserted into the data.
  • -g : Text to search for in the HTTP response. Use this to determine when a password has worked.
  • -n : Append numbers flag. Appends the numbers 0-9999 to the end of all passwords
  • -c : Copy to clipboard flag. Copys results to the clipboard

Examples:

Basic Usage:

Generates a password list by replaceing the first character of the target password and appending an extra character to the end.

python passgen.py smith

Passwords with numbers:

Generates a large number of potential passwords by replace the first character and appending a 4 digit number from 0-9999 to the end of the target password.

python passgen.py -n smith

Full password list:

Genearates a large number of potential passwords by generating a list of every combination of replacement passwords

python passgen.py -f smith

Generates 76 passwords like so:

smith1
smith2
smith3
...
5mith&
5mith*
5mith?

Basic password list output to file

Create a basic password list and save it to a file.

python passgen.py -o outputFile.txt smith

Basic password list saved to clipboard

Create a basic password list and save it to your clipboard so you can paste it elsewhere.

python passgen.py -c smith

Basic password list used to make HTTP requests

Create a basic password list and uses it to make login requests. In the example below it searches for the text "success" in the response. If found, it will say which password worked and exit. Notice that & must be replaced with \& in the command line.

When makeing HTTP request you must include a value for target (-t), data (-d) and search text (-g).

python passgen.py -t http://myTestSite.com/login -d [email protected]\&password={0} -g success smith

Other stuff:

**Again - PassGen should only be used for internal security testing. **

PassGen only substitutes characters for alpha characters. This means that if you include numbers or symbols, they will not be replaced with any characters.

Dependencies:

passgen's People

Contributors

broham avatar atluxity avatar

Watchers

James Cloos 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.