A Random Password generator coded in python that can be set to generate passwords of any length and any amount. Ideal for generating secure passwords or large amounts of temporary passwords.
Be the first to post a text review of Random Password Generator RPGen (Python). Rate and review a project by clicking thumbs up or thumbs down in the right column.
RPGen 2.15 Readme By Mark G.P. Egan-Fuller Random Password Generator Generates random passwords using the built-in random module. Can generate any number of any length random alphanumeric passwords, automatically checks for the same character turning up twice in a row and NEWS Added Progress percentage display Added Straight to File mode for computers with low RAM or for very long lists INSTALLATION AND USE First you need python to be installed on your machine this is available for multiple platforms at http://www.python.org Then open a command prompt / terminal window and cd to the directory containing RPGen_2.15.py, then type python RPGen_2.15.py this will start the program. Arguments available python RPGen_2.15.py N L M O N - Number of passwords to generate (default 1) L - Length of passwords to be generated (default 10) M - Whether to show a save file dialog or not (default 0, not required with STF mode) O - Whether to use STR or STF mode (default 0 (STR)) Straight To RAM As the list is generated it is saved in the RAM and printed when the program finishes with M=1 it will also show a save dialog at the end. This however means for long lists (eg. 1 million passwords) that the ram will fill and the computer will freeze. Straight To File As the list is generated it is saved straight to a file which is named at the beginning. This means that extremely long lists can be generated without causing the computer to freeze. NOTES Currently the program checks for the same character (lowercase or uppercase) occuring twice in a row and regenerates, however it doesn't check for the same password appearing more than once in a list, obviously for short lists this doesn't matter however for longer lists it may become a problem. Change Log Ver 2.15 03/07/09 Mark G.P. Egan-Fuller Changed getting argvalues into try statements to catch exceptions, added extra feedback at start Ver 2.10 01/07/09 Mark G.P. Egan-Fuller Added Progress Percentage (very useful when doing large lists) Ver 2.00 01/07/09 Mark G.P. Egan-Fuller Added Straight to File mode enabling extremley long lists to be generated Ver 1.50 26/03/09 Mark G.P. Egan-Fuller Added check to see if two characters next to each other were the same and then to regenerate if true ( note this applies to upper and lowercase) Ver 1.00 12/01/09 Mark G.P. Egan-Fuller Fixed Args error (args not changed to int) BUGS -On computers with low RAM using STR mode for long lists will freeze the computer -For extremely long lists there is the possibility of a password turning up more than once THANKS Thanks to Alan Gauld for his great programming tutorial that taught me the basics http://www.freenetpages.co.uk/hp/alan.gauld/ Thanks to Mark Lutz for his wonderful book 'Python Pocket Reference' LICENSE This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
Change Log Ver 2.15 03/07/09 Mark G.P. Egan-Fuller Changed getting argvalues into try statements to catch exceptions, added extra feedback at start Ver 2.10 01/07/09 Mark G.P. Egan-Fuller Added Progress Percentage (very useful when doing large lists) Ver 2.00 01/07/09 Mark G.P. Egan-Fuller Added Straight to File mode enabling extremley long lists to be generated Ver 1.50 26/03/09 Mark G.P. Egan-Fuller Added check to see if two characters next to each other were the same and then to regenerate if true ( note this applies to upper and lowercase) Ver 1.00 12/01/09 Mark G.P. Egan-Fuller Fixed Args error (args not changed to int)
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?