Server IP : 149.255.58.128 / Your IP : 216.73.216.88
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /usr/sbin//create-cracklib-dict
#!/usr/bin/sh
usage() {
cat <<-EOF
Usage: create-cracklib-dict [options] wordlist ...
This script takes one or more word list files as arguments
and converts them into cracklib dictionaries for use
by password checking programs. The results are placed in
the default compiled-in dictionary location.
If you wish to store the dictionary in a different location,
use the cracklib-format and cracklib-packer commands directly.
Options:
-o, --output <file> Alternative output file for cracklib-packer
-h, --help This help output
Example:
create-cracklib-dict /usr/share/words
EOF
if [ -n "$*" ] ; then
echo 1>&2
echo "Error: $*" 1>&2
exit 1
else
exit 0
fi
}
output=""
while [ -n "$1" ] ; do
case $1 in
-o|--output) output=$2; shift;;
-h|--help) usage;;
--) break;;
-*) usage "unknown option '$*'";;
*) break;;
esac
shift
done
[ -z "$*" ] && usage
exec cracklib-format "$@" | cracklib-packer ${output}