=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== remote-tty-4.0/agelog.sh-96-BPID=0 # pid to send signal to BEFORE the move/copy remote-tty-4.0/agelog.sh:97:USAGE="Usage: `basename $0` [-m] [-p Bpid] [-s Bsig] logFile remote-tty-4.0/agelog.sh-98-[-p Apid] [-s Asig] howMany [stashDir]" ############################################## remote-tty-4.0/agelog.sh-106- remote-tty-4.0/agelog.sh:107:while [ `expr "$1" : '-.*'` -gt 0 ] remote-tty-4.0/agelog.sh-108-do ############################################## remote-tty-4.0/agelog.sh-142- remote-tty-4.0/agelog.sh:143:while [ `expr "$1" : '-.*'` -gt 0 ] remote-tty-4.0/agelog.sh-144-do ############################################## remote-tty-4.0/agelog.sh-171-then # no directory to stash them in; use log's directory remote-tty-4.0/agelog.sh:172: head=`expr $log : '\(.*/\).*'` # /a/b/x => /a/b/ remote-tty-4.0/agelog.sh-173-else # user specified a directory ############################################## remote-tty-4.0/agelog.sh-196- remote-tty-4.0/agelog.sh:197:arch="${head}`basename $log`" # name of archive files, sans {.0, .1, ...} remote-tty-4.0/agelog.sh-198- remote-tty-4.0/agelog.sh:199:older=`expr $max - 1` # ensure we had a number in $2 remote-tty-4.0/agelog.sh-200-if [ $? -eq 2 ] ############################################## remote-tty-4.0/agelog.sh-207-do # age the logfiles in the stashdir remote-tty-4.0/agelog.sh:208: old=`expr $older - 1` remote-tty-4.0/agelog.sh-209- if [ -f $arch.$old ] ############################################## remote-tty-4.0/agelog.sh-212- fi remote-tty-4.0/agelog.sh:213: older=`expr $older - 1` remote-tty-4.0/agelog.sh-214-done ############################################## remote-tty-4.0/agelogs.sh-25- $agelog -m DESTPATH/log/$tty \ remote-tty-4.0/agelogs.sh:26: -p `cat DESTPATH/pid/$tty` \ remote-tty-4.0/agelogs.sh-27- 7 \ ############################################## remote-tty-4.0/misc.c-184- remote-tty-4.0/misc.c:185: if ((v = inet_addr(cp)) > 0) { remote-tty-4.0/misc.c-186- addr->s_addr = v; ############################################## remote-tty-4.0/debian/cron.daily-16- /var/log/remote-tty/$tty/$tty > /dev/null remote-tty-4.0/debian/cron.daily:17: kill -HUP `cat /var/run/remote-tty/pid/$tty` remote-tty-4.0/debian/cron.daily-18- fi ############################################## remote-tty-4.0/startsrv.sh-31- if [ -f /var/run/remote-tty/pid/$host ]; then remote-tty-4.0/startsrv.sh:32: pid=`cat /var/run/remote-tty/pid/$host` remote-tty-4.0/startsrv.sh-33- tmpfile=`mktemp -t` ############################################## remote-tty-4.0/startsrv.sh-49- if [ -s /etc/remote-tty/opt/${host}.srv ]; then remote-tty-4.0/startsrv.sh:50: options=`cat /etc/remote-tty/opt/${host}.srv` remote-tty-4.0/startsrv.sh-51- elif [ -s /etc/remote-tty/opt/DEFAULT.srv ]; then ############################################## remote-tty-4.0/startsrv.sh-57- if [ -s /etc/remote-tty/prot/${host}.sock ]; then remote-tty-4.0/startsrv.sh:58: sock_prot=`cat /etc/remote-tty/prot/${host}.sock` remote-tty-4.0/startsrv.sh-59- elif [ -s /etc/remote-tty/prot/DEFAULT.sock ]; then ############################################## remote-tty-4.0/startsrv.sh-65- if [ -s /etc/remote-tty/owner/${host}.sock ]; then remote-tty-4.0/startsrv.sh:66: sock_owner=`cat /etc/remote-tty/owner/${host}.sock` remote-tty-4.0/startsrv.sh-67- elif [ -s /etc/remote-tty/owner/DEFAULT.sock ]; then ############################################## remote-tty-4.0/startsrv.sh-73- if [ -s /etc/remote-tty/prot/${host}.log ]; then remote-tty-4.0/startsrv.sh:74: log_prot=`cat /etc/remote-tty/prot/${host}.log` remote-tty-4.0/startsrv.sh-75- elif [ -s /etc/remote-tty/prot/DEFAULT.log ]; then ############################################## remote-tty-4.0/startsrv.sh-92- sleep 1 remote-tty-4.0/startsrv.sh:93: tries=`expr $tries - 1` remote-tty-4.0/startsrv.sh-94- done ############################################## remote-tty-4.0/startsrv.sh-97- else remote-tty-4.0/startsrv.sh:98: newpid=`cat /var/run/remote-tty/pid/$host` remote-tty-4.0/startsrv.sh-99- chmod $sock_prot /var/run/remote-tty/sock/$host ############################################## remote-tty-4.0/console.sh-38-if [ -s /etc/remote-tty/opt/${host}.cons ]; then remote-tty-4.0/console.sh:39: options=`cat /etc/remote-tty/opt/${host}.cons` remote-tty-4.0/console.sh-40-elif [ -s /etc/remote-tty/opt/DEFAULT.cons ]; then ############################################## remote-tty-4.0/ttysrv.c-478- } else if (sa == (struct sockaddr *) &in) { remote-tty-4.0/ttysrv.c:479: struct hostent *hp, *gethostbyaddr(); remote-tty-4.0/ttysrv.c-480- remote-tty-4.0/ttysrv.c:481: hp = gethostbyaddr((char *)&in.sin_addr, remote-tty-4.0/ttysrv.c-482- sizeof(in.sin_addr), ############################################## remote-tty-4.0/delrconsole-10- echo -n "Killing running ttysrv: " remote-tty-4.0/delrconsole:11: pid=`cat /var/run/remote-tty/pid/$USERNAME` remote-tty-4.0/delrconsole-12- tmpfile=`mktemp -t`