Giter Club home page Giter Club logo

passgen's Introduction

PassGen

                              ___                  _____         
                             / _ \ ___ _ ___  ___ / ___/___  ___ 
                            / ___// _ `/(_-< (_-</ (_ // -_)/ _ \
                           /_/    \_,_//___//___/\___/ \__//_//_/
                                                                   
                           
                               Author: B0lg0r0v
                               https://arthurminasyan.com

Table of Contents

Why PassGen

  • PassGen provides several options for customizing the generated passwords.
  • It includes options for encrypting and decrypting passwords using AES-256. This feature can add an extra layer of security by allowing users to store and transfer their passwords in an encrypted format.
  • PassGen can copy the generated password to the clipboard or save it to a file
  • Open Source
  • Unlike other password generators, PassGen runs locally and doesn't require an internet connection.

General Information

  • When using the encryption argument, make sure to put your password between "". The reason is that if you have special characters in your password, your terminal can/will missinterpret them. This can lead to breaking your password and encrypting something else.

Usage

usage: passgen.py [options]

Password generator with security in mind.

optional arguments:
  -h, --help            show this help message and exit

Password options:
  -l LENGTH, --length LENGTH
                        Specify the password length. Default is 20.
  -n NUMBER_PASSWORDS, --number-passwords NUMBER_PASSWORDS
                        Specify the number of passwords to generate. Default is 1.
  -c, --clipboard       Copy the generated password to the clipboard. Only works with one password at a time.
  -e ENCRYPT, --encrypt ENCRYPT
                        Encrypt a password with AES-256. Only works with one password at a time.
  -de KEY PASSWORD, --decrypt KEY PASSWORD
                        Decrypt a password given the key and the encrypted password.
  -o OUTPUT, --output OUTPUT
                        Save the generated password to a file.

Exclude options:
  -ex EXCLUDE_SPECIFIC, --exclude-specific EXCLUDE_SPECIFIC
                        Exclude specific characters from the password.
  -exl, --exclude-lower
                        Exclude lowercase letters from the password.
  -exs, --exclude-special
                        Exclude special characters from the password.
  -exu, --exclude-upper
                        Exclude uppercase letters from the password.
  -exd, --exclude-digits
                        Exclude digits from the password.

Features Overview

Command: python3 passgen.py -l 35 -n 2 -exd -o MyOutput.txt


Command: python3 passgen.py -e "MySecurePassword"

Command: python3 passgen.py -de <KEY> <ENCRYPTED PASSWORD>

Installation

git clone https://github.com/B0lg0r0v/PassGen.git
cd PassGen
pip3 install -r requirements.txt

Disclaimer

This tool is primarly created for me as a project to enhance my coding skills and start creating some red team / blue team tools. It is not considered to be the most efficient tool out there.

passgen's People

Contributors

b0lg0r0v avatar

Stargazers

Trigger avatar

Watchers

 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.