This file is indexed.

/usr/share/Crack/scripts/smartcat 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/bin/sh
###
# 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.
###

###
# smartcat.sh - (c) Alec Muffett, Aug 1993
#
# This script simplifies use of uncompress programs.  I've only added that
# which seems sensible (ie: could possibly occur), and am not looking to
# trap all cases, only plausible ones.  If you're gonna be either 1)
# really weird, or 2) bloodymindedly pedantic, that's your problem
###

TMPDIR=/tmp

PATH="/usr/bin:/usr/ucb:/bin:/usr/local/bin:$PATH"

PCATF=$TMPDIR/pcat$$.z

if [ "$1" = "" ]
then
	echo "Usage: $0 filename.ext1.ext2.ext3 ..."
	exit 1
elif [ "$1" != "-backend" ]
then
	for file in $*
	do
		$0 -backend $file < $file
	done

	exit 0
fi

###
# ...else we're doing backend processing, creating:
#
#	cat < file.e3.e2.e1 | filter1 | filter2 | filter3
###
# note: we'd have problems supporting LHA/ZIP/LZH/UUD - as they are not
#       easily/commonly implemented as pure filters.
###

shift

file=$1

case $file in
	"")
		echo "$0: error: ran off end of filename" 1>&2
		exit 1 ;;

#	*.Z)
# Gnu's gzip can also umcompress .Z files
#		exec uncompress |
#			$0 -backend `basename $file .Z` ;;

	*.z|*.ZZ)
		( gzip -d || ( cat >$PCATF; pcat $PCATF ; rm -f $PCATF ) ) 2>/dev/null |
			$0 -backend `basename $file .z` ;;

	*.gz)
		exec gzip -d |
			$0 -backend `basename $file .gz` ;;

	*.dwg)
		exec xdawg |
			$0 -backend `basename $file .dwg` ;;

	*)
		exec cat ;;	# pipeline terminator
esac