This file is indexed.

/usr/bin/dwww is in dwww 1.11.7.

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
#!/bin/bash
#
# "@(#)dwww:$Id: dwww 511 2009-01-10 23:59:42Z robert $"
#
# based on dpkg-www

#
# Initialization
#
. /usr/share/dwww/functions.sh || exit 1
dwww_initialize


www_browser=""
if [ -n "$DISPLAY" ] ; then
	www_browser="$DWWW_X11_BROWSER"
else
	www_browser="$DWWW_BROWSER"
fi

# $BROWSER, if set, overrides our config values
if [ -n "$BROWSER" ] ; then
	# let sensible-browser handle $BROWSER properly
	www_browser=sensible-browser
fi
	

for i in "$www_browser" sensible-browser ; do
	if test -n "$i" && command -v "$i" > /dev/null 2>&1; then
		www_browser="$i"
		break
	fi
done


if [ -z "$www_browser" ] ; then
	echo "$0: no useful browser found" 2>&1
fi

if [ -z "$DWWW_SERVERNAME" ]
then
	DWWW_SERVERNAME=localhost
fi

if [ -n "$DWWW_SERVERPORT" ]
then
	DWWW_SERVERNAME="$DWWW_SERVERNAME:$DWWW_SERVERPORT"
fi

[ "$DWWW_USEHTTPS" = "yes" ] && prot="https" || prot="http"

if [ -z "$1" ]
then
	exec "$www_browser" "$prot://$DWWW_SERVERNAME/dwww/"
else
	uri="`urlencode $1`"
	exec "$www_browser" "$prot://$DWWW_SERVERNAME/cgi-bin/dwww?search=$uri"
fi