Print this page

CrackSH

The cracklib shell
The cracklib shell is a little program that reads passwords from stdin, and writes the output of cracklib to stdout, or ‘OK’ if the password is good.

Usage:
./cracksh [-h] [-d ]

The -d option is used to specify the dictionary to use.
If nothing is specified /usr/lib/cracklib_dict will be used.

Compilation instructions
To compile cracksh with gcc on a Linux system:

gcc cracksh.c -o cracksh -lcrack

Notice that you will need to have cracklib installed.

Download
Without further introduction download cracksh.c


Modified: Tue 14-Nov-06 22:59:42 PST