I am working on how can I make this code run on linux too. I am a beginner but surely I will write the script for that too
-
If you run as
path\to\script>.\generator
first time it will make the files hidden as this is intended. Also it will make the two images from src foldercat.jpg
&dog.jpg
read-only. It's kind of small security I tried to add from my sideππ .Those two images will not be hidden -
To see the hidden files type in cmd
-
mklink generator generator.bat
-
path\to\script>.\generator
.\generator[-s or --service] service [-m or --mode] mode -s or --service : Choose what you want to generate. Valid services are: --> p or password => generate password --> u or username => generate username -m or --mode : Choose the difficulty of service. Valid modes are: --> e or easy => Generate the random password of random size between 1-4 letters --> m or moderate => Generate the random password of random size between 5-7 letters --> h or hard => Generate the hard password of random size between 8-12 letters
The parameter -s or --service are necessary to define the services you want to use. The valid services are
- u or username to generate username
- p or password to generate passwords
The parameter -m or --mode is necessary to define the difficulty level of generation of usernames and passwords
- e or easy to generate the passwords of easy level. The size of passwords and username generated is betwwen 1 to 4
- m or moderate to generate the passwords of moderate level. The size of passwords and username generated is betwwen 5 to 7
- h or hard to generate the passwords of difficult level. The size of passwords and usernames generated between 8-12 letters