This file is indexed.

/usr/sbin/in.nanoweb is in nanoweb 2.2.9-0ubuntu1.

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
#!/bin/sh

# Nanoweb inetd wrapper script (c) 2002 by Vincent Negrier <six@aegis-corp.org>

PEERNAME=`getpeername -n`
export INETD_REMOTE_IP=`echo $PEERNAME |cut -d' ' -f1`
export INETD_REMOTE_PORT=`echo $PEERNAME |cut -d' ' -f2`

case "$1" in

	-ssl)
	
		# SSL inetd operation (with stunnel)
		/usr/sbin/stunnel -p/etc/ssl/certs/nanoweb.pem -l/usr/bin/php -- -q -f /usr/sbin/nanoweb.php --config="/etc/nanoweb/nanoweb.conf" --set-option="servermode=inetd"

	;;

	*)

		# Normal inetd operation
		/usr/sbin/nanoweb.php --config="/etc/nanoweb/nanoweb.conf" --set-option="servermode=inetd"

	;;

esac