| Server IP : 104.21.20.151 / Your IP : 216.73.216.217 Web Server : Apache System : Linux sr32.hostlife.net 6.12.0-124.52.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Sat May 2 09:06:54 EDT 2026 x86_64 User : golfb689 ( 1071) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /sbin/ |
Upload File : |
#!/usr/bin/sh
#
# This preprocesses a set of word lists into a suitable form for input
# into cracklib-packer
#
# Truncates lines longer than 1022 characters long as cracklib-packer
# does not handle them correctly.
#
# The last part of the pipeline uses 'grep -v' to remove any blank
# lines (possibly introduced by earlier parts of the pipeline) as
# cracklib-packer will generate "skipping line" warnings otherwise.
#
LC_ALL=C
export LC_ALL
gzip -cdf "$@" |
grep -a -v '^#' |
tr '[A-Z]' '[a-z]' |
tr -cd '\n[:graph:]' |
cut -c 1-1022 |
grep -v '^$' |
sort -u