Skip to content

l0rdisaac/passwordgen

Repository files navigation

passwordgen

Author : Isaac Lord
Based on code by : Ξένη Γήινος ( https://superuser.com/a/1617838 )

description

Will have options for length and which character sets to use (lowercase, capital, number, special, any [char])

usage

I run this in my Windows Command Prompt using PowerShell 7.4.5 (use $PSVersionTable in PowerShell to check its version) with the command "pwsh -c .\passwordgen.ps1"
To run without having to press a number and/or "Enter", I made the pwdgen.bat file to let me run the default option, or pass my desired option with "pwdgen [int]" to select which length I want or "pwdgen num" to just run the passwordgenNUM.ps1.
Example commands :
pwdgen 0
pwdgen 3
pwdgen num

goals

pwdgen [-nuls] [length] [-e string]
length number of characters (default=16)
-n, --number include numbers (default=True)
-u, --uppercase include uppercase (default=True)
-l, --lowercase include lowercase (default=True)
-s, --special include normal special characters (default=True)
-e, --extra include user-chosen characters (will prompt for characters - default hopefully will be all utf-8, but I don't know much about all that yet)\

About

Will have options for length and which character sets to use (lowercase, capital, number, special, any [char])

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors