/usr/share/honeyd/scripts/test.sh is in honeyd-common 1.5c-8ubuntu1.
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 | #!/bin/sh
# Test script for Honeyd
DATE=`date`
LOGDIR=/var/log/honeypot/
[ ! -e "$LOGDIR" ] && LOGDIR=/tmp
LOGFILE=$LOGDIR/log_test
echo "$DATE: Started From $1 Port $2" >> $LOGFILE
echo SSH-1.5-2.40
while read name
do
echo "$name" >> $LOGFILE
echo "$name"
done
|