=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== sn-0.3.8/lib/Makefile-4- set -e; for i in *.c; \ sn-0.3.8/lib/Makefile:5: do $(CC) -c -O $$i -o `basename $$i .c`.o; done sn-0.3.8/lib/Makefile-6- ar rc stuff.a *.o ############################################## sn-0.3.8/contrib/simple_authentication/nntp.sh-44-while read -t $timeout currentline ; do sn-0.3.8/contrib/simple_authentication/nntp.sh:45: lenm1=`expr ${#currentline} - 1` sn-0.3.8/contrib/simple_authentication/nntp.sh-46- currentline=${currentline:0:$lenm1} sn-0.3.8/contrib/simple_authentication/nntp.sh:47: switchpart=`echo ${currentline:0:14} | tr [a-z] [A-Z]` sn-0.3.8/contrib/simple_authentication/nntp.sh:48: #switchpart=`echo ${currentline:0:14} | tr [:lower:] [:upper:]` sn-0.3.8/contrib/simple_authentication/nntp.sh-49- case "$switchpart" in ############################################## sn-0.3.8/contrib/snget.sh-15- sn-0.3.8/contrib/snget.sh:16:progname=`basename $0` sn-0.3.8/contrib/snget.sh-17- ############################################## sn-0.3.8/contrib/snget.sh-71- sn-0.3.8/contrib/snget.sh:72: serial=`cat /var/sn/$group/.serial` 2>/dev/null sn-0.3.8/contrib/snget.sh-73- [ -z "$serial" ] && serial="0" ############################################## sn-0.3.8/contrib/snget.sh-117- if [ -f .outgoing/$server:$port/username ]; then sn-0.3.8/contrib/snget.sh:118: username=`cat .outgoing/$server:$port/username` 2>/dev/null sn-0.3.8/contrib/snget.sh-119- [ "$username" ] && username="-U $username" ############################################## sn-0.3.8/contrib/snget.sh-121- if [ -f .outgoing/$server:$port/password ]; then sn-0.3.8/contrib/snget.sh:122: password=`cat .outgoing/$server:$port/password` 2>/dev/null sn-0.3.8/contrib/snget.sh-123- [ "$password" ] && password="-P $password" ############################################## sn-0.3.8/contrib/snget.sh-130- cd .outgoing/$server:$port && sn-0.3.8/contrib/snget.sh:131: for p in `ls -1 '$'* 2>/dev/null`; do sn-0.3.8/contrib/snget.sh-132- sed "$sedcmd" $p |rpost $server -N $port $username $password && ############################################## sn-0.3.8/contrib/snget.sh-140- for g in "$@"; do sn-0.3.8/contrib/snget.sh:141: serial=`cat $g/.serial` 2>/dev/null sn-0.3.8/contrib/snget.sh-142- [ -z "$serial" ] && serial=0 ############################################## sn-0.3.8/contrib/snget.sh-180- '') continue ;; sn-0.3.8/contrib/snget.sh:181: ?*:?*) echo `echo "$address" |tr ':' ' '` $i ;; sn-0.3.8/contrib/snget.sh:182: ?*:) echo `echo "$address" |tr ':' ' '` 119 $i ;; sn-0.3.8/contrib/snget.sh-183- ?*) echo "$address 119 $i" ;; ############################################## sn-0.3.8/contrib/auto_subscribe/snnewgroups-39- test -f $dir/$filter || continue sn-0.3.8/contrib/auto_subscribe/snnewgroups:40: patt=`sed -n 's/^\([-+]\) *\(.*\)/\2)m=\1;;/p' $dir/$filter` sn-0.3.8/contrib/auto_subscribe/snnewgroups-41- ############################################## sn-0.3.8/contrib/auto_subscribe/snnewgroups-51- then sn-0.3.8/contrib/auto_subscribe/snnewgroups:52: cmd="NEWGROUPS `date -u -r $old '+%y%m%d %H%M%S GMT'`" sn-0.3.8/contrib/auto_subscribe/snnewgroups-53- else ############################################## sn-0.3.8/contrib/pam_authentication/snauth.c-84- if (getpeername(0, (struct sockaddr *)&from, &fromlen) < 0) return; sn-0.3.8/contrib/pam_authentication/snauth.c:85: hp = gethostbyaddr((char *)(&from.sin_addr), sizeof (struct in_addr), from.sin_family); sn-0.3.8/contrib/pam_authentication/snauth.c-86- if (hp!=NULL) host = hp->h_name; else host = inet_ntoa(from.sin_addr); ############################################## sn-0.3.8/SNPOST.in-34-if [ "x$CONTROL" != x ]; then sn-0.3.8/SNPOST.in:35: parse () { CANCEL=`echo $1 |tr 'A-Z' 'a-z'`; MSGID=$2; } sn-0.3.8/SNPOST.in-36- parse $CONTROL ############################################## sn-0.3.8/SNHELLO.in-27- sn-0.3.8/SNHELLO.in:28:ME=`basename $0` sn-0.3.8/SNHELLO.in-29-log () { echo "$ME:$SERVER:$@" >&2; } ############################################## sn-0.3.8/SNHELLO.in-89- sn-0.3.8/SNHELLO.in:90:posts="`echo '$'*`"; [ "x$posts" = 'x$*' ] && posts= sn-0.3.8/SNHELLO.in-91-for art in $posts; do ############################################## sn-0.3.8/SNHELLO.in-126-update () { date '+%y%m%d %H%M%S' >.t && mv .t .last-list && rm -f $1; } sn-0.3.8/SNHELLO.in:127:cmd= ; getcmd () { [ -f $1 ] && cmd="`head -1 $1`" && [ "x$cmd" != x ]; } sn-0.3.8/SNHELLO.in-128- ############################################## sn-0.3.8/.pc/1-Makefile.patch/Makefile-168- (sed '/^## DO NOT REMOVE ##/q' Makefile; echo; for i in $(OBJS); \ sn-0.3.8/.pc/1-Makefile.patch/Makefile:169: do $(CC) -MM -MG `cat cc-flags` `basename $$i .o`.c; done) >.dep sn-0.3.8/.pc/1-Makefile.patch/Makefile-170- mv .dep Makefile ############################################## sn-0.3.8/Makefile-170- (sed '/^## DO NOT REMOVE ##/q' Makefile; echo; for i in $(OBJS); \ sn-0.3.8/Makefile:171: do $(CC) -MM -MG `cat cc-flags` `basename $$i .o`.c; done) >.dep sn-0.3.8/Makefile-172- mv .dep Makefile