/usr/share/Crack/scripts/dicttidy is in crack-common 5.0a-11.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/bin/sh -x
###
# This program was written by and is copyright Alec Muffett 1991,
# 1992, 1993, 1994, 1995, and 1996, and is provided as part of the
# Crack v5.0 Password Cracking package.
#
# The copyright holder disclaims all responsibility or liability with
# respect to its usage or its effect upon hardware or computer
# systems, and maintains copyright as set out in the "LICENCE"
# document which accompanies distributions of Crack v5.0 and upwards.
###
# for tidying master dictionaries
tfile=.dtt$$
for dict in $*
do
grep '^#' $dict > $tfile
grep -v '^#' $dict | sort | uniq >> $tfile
mv $dict $dict~
mv $tfile $dict
done
exit 0
|