=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== sanitizer-1.76/contrib/check_for_virus-44- if test -n "$STATUS"; then sanitizer-1.76/contrib/check_for_virus:45: INFO=`/usr/local/bin/f-prot -NOBOOT -NOMEM -NOSUB -ARCHIVE -PACKED "$1" 2>/dev/null | grep -iE "infection:"|sed -e 's/.*infection:\(.*\)/\1/i' -e 's/^[ \>]*//g' -e 's/[ ]*$//g'` sanitizer-1.76/contrib/check_for_virus-46- logger "virus check for $1: VIRUS FOUND!! - $INFO" ############################################## sanitizer-1.76/contrib/check_for_virus-67- if test -n "$STATUS"; then sanitizer-1.76/contrib/check_for_virus:68: INFO=`/usr/bin/kavscanner -LP -I0 "$1" 2>/dev/null | grep -iE "infected:"|sed -e 's/^[ \>]*//g' -e 's/[ ]*$//g'` sanitizer-1.76/contrib/check_for_virus-69- echo "VIRUS : $INFO" ############################################## sanitizer-1.76/contrib/check_for_virus-78- if test $? -eq 3; then sanitizer-1.76/contrib/check_for_virus:79: INFO=`/usr/local/bin/sweep -ndi -s -ss -archive --no-follow-symlinks --skip-special --no-quarantine "$1" 2>/dev/null | grep -iE "Found.*virus"|sed -e 's/^[ \>]*//g' -e 's/[ ]*$//g'` sanitizer-1.76/contrib/check_for_virus-80- echo "VIRUS : test $INFO" ############################################## sanitizer-1.76/contrib/check_for_virus-90- if test $? -eq 13; then sanitizer-1.76/contrib/check_for_virus:91: INFO=`/usr/local/bin/uvscan --analyze --noexpire "$1" 2>/dev/null | grep -iE "Found.*virus"|sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'` sanitizer-1.76/contrib/check_for_virus-92- echo "VIRUS : $INFO" ############################################## sanitizer-1.76/contrib/sanitizer.procmail-44-DATE=`date +%Y%m%d-%H%M` sanitizer-1.76/contrib/sanitizer.procmail:45:MKDIR=`mkdir -p $TMPDIR` sanitizer-1.76/contrib/sanitizer.procmail-46-SANLOG=$TMPDIR/eml-$DATE-$$.log ############################################## sanitizer-1.76/contrib/sanitizer.procmail-77-# sanitizer-1.76/contrib/sanitizer.procmail:78:#TMPCLEAN=`find $TMPDIR -type f -mtime +5 |xargs rm -f` sanitizer-1.76/contrib/sanitizer.procmail-79- ############################################## sanitizer-1.76/contrib/sanitizer.procmail-82-# sanitizer-1.76/contrib/sanitizer.procmail:83:#TMPCLEAN=`rm -f $SANLOG` sanitizer-1.76/contrib/sanitizer.procmail-84- ############################################## sanitizer-1.76/bin/mailblogger.pl-307- $target =~ s/(gif|jpe?g|png|bmp)$/jpg/i; sanitizer-1.76/bin/mailblogger.pl:308: system(@convert, "-geometry", $geom, "-rotate", $rotate, $att, $target) || ($err = $!); sanitizer-1.76/bin/mailblogger.pl-309- } ############################################## sanitizer-1.76/bin/mailblogger.pl-312- $target =~ s/(gif|jpe?g|png|bmp)$/jpg/i; sanitizer-1.76/bin/mailblogger.pl:313: system(@convert, "-rotate", $rotate, $att, $target) || ($err = $!); sanitizer-1.76/bin/mailblogger.pl-314- } ############################################## sanitizer-1.76/bin/mailblogger.pl-316- { sanitizer-1.76/bin/mailblogger.pl:317: system(@cp, $att, $target) || ($err = $!); sanitizer-1.76/bin/mailblogger.pl-318- } ############################################## sanitizer-1.76/bin/mailblogger.pl-373-{ sanitizer-1.76/bin/mailblogger.pl:374: system("rm", "-rf", $workdir); sanitizer-1.76/bin/mailblogger.pl-375-} ############################################## sanitizer-1.76/testcases/results.def/sanitizer.uu-rfc822.ok-42-M;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER96%L;'ER sanitizer-1.76/testcases/results.def/sanitizer.uu-rfc822.ok:43:M96%L;'ER96%L;'ER96%L;"`B("(@1$5&04Y'141;,3`Q73IY<F5A;&QY<F5A sanitizer-1.76/testcases/results.def/sanitizer.uu-rfc822.ok-44-M;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY<F5A;&QY ############################################## sanitizer-1.76/testcases/testall.sh-99- if [ "$WHICH" = "" -o "$a" = "$WHICH" ]; then sanitizer-1.76/testcases/testall.sh:100: test=`echo $a |sed -e 's/\.t$//'` sanitizer-1.76/testcases/testall.sh-101- /bin/echo -n "$test: " ############################################## sanitizer-1.76/testcases/testall.sh-117- for t in test.*; do sanitizer-1.76/testcases/testall.sh:118: mv -f $t "$TEST_RESULTS"/`echo $t |sed -e "s/^test/$test/"` sanitizer-1.76/testcases/testall.sh-119- done ############################################## sanitizer-1.76/debian/sanitizer.maildrop-9-DATE=`date +%Y%m%d-%H%M` sanitizer-1.76/debian/sanitizer.maildrop:10:MKDIR=`mkdir -p $TMPDIR` sanitizer-1.76/debian/sanitizer.maildrop-11-SANLOG=$TMPDIR/eml-$DATE-$$.log ############################################## sanitizer-1.76/debian/sanitizer.maildrop-20- sanitizer-1.76/debian/sanitizer.maildrop:21:`grep 'File was infected' $SANLOG` sanitizer-1.76/debian/sanitizer.maildrop-22-if ( $RETURNCODE == 0 )