prolog password generator

+++ Commercial +++

+++ Commercial +++ End

Prlpass: simple GNU Prolog Password Generator

disk.png prlpass.pl (~ 5 KB) is a simple password generator written in GNU Prolog , tested only on FreeBSD 4.6-stable (i386) System. It should also compile and run on machines which are able to run GNU Prolog. Yes, you need GNU Prolog because I use some gprolog specific predicates.

Because of keyboards are usually different, I decide to constraint the output to A-Z,a-z,0-9, to prevent the users from searching i. e. special chars like german sharp S ß which may reachable from modern keyboards but have no corresponding illustration on this keyboard. I like to use a US keyboard some times.

The real fine thing is, if you think needing expand this constraint on the alphabet you may have a look at the source code and maybe at man ascii for char codes. It isn't really difficult.

Version

Revision 1.5, last modified: 2002-07-03

Usage

Compile prlpass.pl as usual:

gplc --min-size prlpass.pl

Call the executable prlpass with the length and amount of keys you need.

prlpass L A

Where L and A are integer numbers.

prlpass 10 80

will give you 80 passwords and the key length of each password will have 10 characters. If you call prlpass without the length and amount argument, then you get default values.

Hint: If you dislike the output, one password per line, then try:

prlpass | column

CHANGES

Since Revision 1.5 the single passwords are generated without multiple characters in one password. Until a limit of the key length of course. You can adjust the limit in the source. Limit default is 10 Chars. differ_limit(10).

./prlpass 10 500 >> pass
sort -u pass -o npass
wc -l pass npass
   1500 pass
   1500 npass
   3000 total

By repeating these standard unix commands I reached 17500 (pass & npass) without a difference between "pass" and "npass".

BUGS

prlpass.pl is downloaded more than a dozen times. Yes there were bugs :-) If you find some new, please let me know: mailto.png sax at noart.de

deutsch.png Inhalt auf deutsch
[Top] up.gif
Kaunter

mailto.png webmaster Zuletzt geändert: Montag, den 06. Oktober 03, 22:01:01h