___ _____
/ _ \ ___ _ ___ ___ / ___/___ ___
/ ___// _ `/(_-< (_-</ (_ // -_)/ _ \
/_/ \_,_//___//___/\___/ \__//_//_/
Author: B0lg0r0v
https://arthurminasyan.com
- 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.
- 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: 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.
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>
git clone https://github.com/B0lg0r0v/PassGen.git
cd PassGen
pip3 install -r requirements.txt
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.