-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature - Random Alphanumeric Password Generation #10
base: main
Are you sure you want to change the base?
Conversation
Created flags for various options for random password generation and made the generation option a condition as opposed to defaulting to keywords.
Corrected the argparse attributes by replacing hyphens with underscores and set up the lists containing characters for the random password generation
Script now generates single random passwords of varying types and saves to the output file. Skeleton for using special characters is included and commented but not implemented.
Special characters are now an option with random password generation. Also fixed output formatting issue in line 616.
Added mutual exclusivity to the random password generation commands. Random commands do not interfere with keyword commands, so mutual exclusivity is not necessary there. Not the safest code but it works. Still need to update README and attempt to determine SystemExit: 2 error with using multiple random commands under mutual exclusion.
also added a sample random command to the help command output
Enabled the option to specify the length of a random password and included default values for all options. Also added comments.
Random passwords must be a minimum of one character in length
@eli-johnson-04 hey, I'll check it out! Did you close it because you found bugs or anything? I'll get back to you but i need some time |
Hey! I had to contribute to an open-source project for a class, and I wasn’t 100% sure of what I was doing. I put in all due effort for the feature though! |
Feature Request from @kali64amd - Added flags to generate a single random alphanumeric, uppercase alphanumeric, upper- and lowercase alphanumeric, and solely numeric password, with an optional flag for including special characters. The alphanumeric passwords default to length 12 and the numeric defaults to 9, although any number >= 1 can be included as an optional argument with the commands. The script defaults to keyword-based generation and the new commands will not interfere with using keywords in the case that both are included.