=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== efax-0.9a/fax-439-case $DEV in efax-0.9a/fax:440: */*) DEVN=`echo $DEV|sed -e s./._.g` ;; efax-0.9a/fax-441- *) DEVN=$DEV ;; ############################################## efax-0.9a/fax-527- ;; efax-0.9a/fax:528: 1) FILES=`sed -n -e '/received ->/s/^.*-> \(.*\)$/\1/p' $f` efax-0.9a/fax:529: FILES=`echo $FILES` efax-0.9a/fax-530- REMID=`sed -n -e '/remote ID ->/s/^.*-> \(.*\)$/\1/p' \ ############################################## efax-0.9a/fax-625- efax-0.9a/fax:626: cfile=`cat $cfile` efax-0.9a/fax-627- efax-0.9a/fax:628: num=` echo "$cfile" | sed -e /^[^J]/d -e s/.//` efax-0.9a/fax:629: host=`echo "$cfile" | sed -e /^[^H]/d -e s/.//` efax-0.9a/fax:630: user=`echo "$cfile" | sed -e /^[^P]/d -e s/.//` efax-0.9a/fax-631- ############################################## efax-0.9a/fax-642- efax-0.9a/fax:643: l=`$FAX send "$num" fax$$` efax-0.9a/fax-644- ############################################## efax-0.9a/fax-671- efax-0.9a/fax:672: efaxpid=`echo $logfile | sed -e "s/${DEVN}\.//g"` efax-0.9a/fax-673- ############################################## efax-0.9a/fax-740- efax-0.9a/fax:741: pelwidth=`expr 256 \* $3` efax-0.9a/fax-742- gs -q -sDEVICE=$FNTFMT -r204x196 -g${pelwidth}x$4 \ ############################################## efax-0.9a/fax-770- # GS can't deal with long paths so we 'cd' efax-0.9a/fax:771: DIRNAME=`dirname $1` ; BASENAME=`basename $1` efax-0.9a/fax-772- ( cd $DIRNAME ; \ ############################################## efax-0.9a/fax-802- for f in $DIRFILES ; do efax-0.9a/fax:803: if [ -r $f ] ; then TELNO=`$LOOKUP` ; fi efax-0.9a/fax-804- case "$TELNO" in '') continue ;; *) break ;; esac ############################################## efax-0.9a/fax-817- efax-0.9a/fax:818: TELNO=`echo $TELNO|sed "s/[ ()][ ()]*//g"` efax-0.9a/fax-819- ############################################## efax-0.9a/fax-823- -m*) MANINIT="-jX3" ; TELNO="" ;; efax-0.9a/fax:824: +*) TELNO=`echo $TELNO | $TELCVT` ;; efax-0.9a/fax-825- esac ############################################## efax-0.9a/fax-873- efax-0.9a/fax:874:# logfile=`$TSTAMP`.log efax-0.9a/fax-875- logfile="$TELNO".log ############################################## efax-0.9a/fax-882- efax-0.9a/fax:883: DATE=`eval "$DATECMD"` efax-0.9a/fax-884- eval HDR=\"$HDR\" ############################################## efax-0.9a/fax-901- efax-0.9a/fax:902: SENT=` sed -n -e '/sent ->/s/^.*-> \([^ ]*\).*/\1/p' $logfile` efax-0.9a/fax:903: FILES=`sed -n -e '/failed ->/s/^.*-> \([^ ]*\).*/\1/p' $logfile` efax-0.9a/fax-904- case $SENT in '') break ;; esac ############################################## efax-0.9a/fax-969- efax-0.9a/fax:970: case $1 in '') file=`$TSTAMP` ;; *) file=$1 ;; esac efax-0.9a/fax-971- logfile=${file}.log ############################################## efax-0.9a/debian/patches/00fax_locale.dpatch-7-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/00fax_locale.dpatch:8: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/00fax_locale.dpatch-9- exit 1 ############################################## efax-0.9a/debian/patches/00fax_locale.dpatch-14- *) efax-0.9a/debian/patches/00fax_locale.dpatch:15: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/00fax_locale.dpatch-16- exit 1;; ############################################## efax-0.9a/debian/patches/01faxmail-mime.dpatch-8-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/01faxmail-mime.dpatch:9: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/01faxmail-mime.dpatch-10- exit 1 ############################################## efax-0.9a/debian/patches/01faxmail-mime.dpatch-15- *) efax-0.9a/debian/patches/01faxmail-mime.dpatch:16: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/01faxmail-mime.dpatch-17- exit 1;; ############################################## efax-0.9a/debian/patches/02fax_notify.dpatch-7-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/02fax_notify.dpatch:8: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/02fax_notify.dpatch-9- exit 1 ############################################## efax-0.9a/debian/patches/02fax_notify.dpatch-14- *) efax-0.9a/debian/patches/02fax_notify.dpatch:15: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/02fax_notify.dpatch-16- exit 1;; ############################################## efax-0.9a/debian/patches/03fax_send.dpatch-8-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/03fax_send.dpatch:9: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/03fax_send.dpatch-10- exit 1 ############################################## efax-0.9a/debian/patches/03fax_send.dpatch-15- *) efax-0.9a/debian/patches/03fax_send.dpatch:16: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/03fax_send.dpatch-17- exit 1;; ############################################## efax-0.9a/debian/patches/04crashpowerpc.dpatch-7-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/04crashpowerpc.dpatch:8: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/04crashpowerpc.dpatch-9- exit 1 ############################################## efax-0.9a/debian/patches/04crashpowerpc.dpatch-14- *) efax-0.9a/debian/patches/04crashpowerpc.dpatch:15: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/04crashpowerpc.dpatch-16- exit 1;; ############################################## efax-0.9a/debian/patches/05attachfax.dpatch-8-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/05attachfax.dpatch:9: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/05attachfax.dpatch-10- exit 1 ############################################## efax-0.9a/debian/patches/05attachfax.dpatch-15- *) efax-0.9a/debian/patches/05attachfax.dpatch:16: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/05attachfax.dpatch-17- exit 1;; ############################################## efax-0.9a/debian/patches/05attachfax.dpatch-51- ;; efax-0.9a/debian/patches/05attachfax.dpatch:52:- 1) FILES=`sed -n -e '/received ->/s/^.*-> \(.*\)$/\1/p' $f` efax-0.9a/debian/patches/05attachfax.dpatch-53-+ 1) efax-0.9a/debian/patches/05attachfax.dpatch:54:+# FILES=`sed -n -e '/received ->/s/^.*-> \(.*\)$/\1/p' $f` efax-0.9a/debian/patches/05attachfax.dpatch:55:+ FILES=`sed -n -e '/wrote /s/^.* wrote \(.*\) as .*$/\1/p' $f` efax-0.9a/debian/patches/05attachfax.dpatch-56-+ efax-0.9a/debian/patches/05attachfax.dpatch:57: FILES=`echo $FILES` efax-0.9a/debian/patches/05attachfax.dpatch-58- REMID=`sed -n -e '/remote ID ->/s/^.*-> \(.*\)$/\1/p' \ ############################################## efax-0.9a/debian/patches/06configfiles.dpatch-8-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/06configfiles.dpatch:9: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/06configfiles.dpatch-10- exit 1 ############################################## efax-0.9a/debian/patches/06configfiles.dpatch-15- *) efax-0.9a/debian/patches/06configfiles.dpatch:16: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/06configfiles.dpatch-17- exit 1;; ############################################## efax-0.9a/debian/patches/07logfilenames.dpatch-7-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/07logfilenames.dpatch:8: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/07logfilenames.dpatch-9- exit 1 ############################################## efax-0.9a/debian/patches/07logfilenames.dpatch-14- *) efax-0.9a/debian/patches/07logfilenames.dpatch:15: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/07logfilenames.dpatch-16- exit 1;; ############################################## efax-0.9a/debian/patches/07logfilenames.dpatch-47- efax-0.9a/debian/patches/07logfilenames.dpatch:48:-# logfile=`$TSTAMP`.log efax-0.9a/debian/patches/07logfilenames.dpatch-49-- logfile="$TELNO".log efax-0.9a/debian/patches/07logfilenames.dpatch:50:+# logfile=`$TSTAMP`.efax.log efax-0.9a/debian/patches/07logfilenames.dpatch-51-+ logfile="$TELNO".efax.log ############################################## efax-0.9a/debian/patches/07logfilenames.dpatch-57- efax-0.9a/debian/patches/07logfilenames.dpatch:58: case $1 in '') file=`$TSTAMP` ;; *) file=$1 ;; esac efax-0.9a/debian/patches/07logfilenames.dpatch-59-- logfile=${file}.log ############################################## efax-0.9a/debian/patches/08manpages.dpatch-8-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/08manpages.dpatch:9: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/08manpages.dpatch-10- exit 1 ############################################## efax-0.9a/debian/patches/08manpages.dpatch-15- *) efax-0.9a/debian/patches/08manpages.dpatch:16: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/08manpages.dpatch-17- exit 1;; ############################################## efax-0.9a/debian/patches/09nonfaxFCLASSerror.dpatch-8-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/09nonfaxFCLASSerror.dpatch:9: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/09nonfaxFCLASSerror.dpatch-10- exit 1 ############################################## efax-0.9a/debian/patches/09nonfaxFCLASSerror.dpatch-15- *) efax-0.9a/debian/patches/09nonfaxFCLASSerror.dpatch:16: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/09nonfaxFCLASSerror.dpatch-17- exit 1;; ############################################## efax-0.9a/debian/patches/10device_halted.dpatch-7-if [ $# -ne 1 ]; then efax-0.9a/debian/patches/10device_halted.dpatch:8: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/10device_halted.dpatch-9- exit 1 ############################################## efax-0.9a/debian/patches/10device_halted.dpatch-14- *) efax-0.9a/debian/patches/10device_halted.dpatch:15: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" efax-0.9a/debian/patches/10device_halted.dpatch-16- exit 1;; ############################################## efax-0.9a/debian/patches/10device_halted.dpatch-48-- efax-0.9a/debian/patches/10device_halted.dpatch:49:- efaxpid=`echo $logfile | sed -e "s/${DEVN}\.//g"` efax-0.9a/debian/patches/10device_halted.dpatch:50:+ efaxpid=`echo $logfile | sed -e "s/${DEVN}\.//g"` efax-0.9a/debian/patches/10device_halted.dpatch-51-+ fi