=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== ############################################## john-1.8.0/run/mailer-28-# Look for John in the same directory with this script john-1.8.0/run/mailer:29:DIR="`echo "$0" | sed 's,/[^/]*$,,'`" john-1.8.0/run/mailer-30- ############################################## john-1.8.0/run/makechr-15-# Look for John in the same directory with this script john-1.8.0/run/makechr:16:DIR="`echo "$0" | sed 's,/[^/]*$,,'`" john-1.8.0/run/makechr-17- ############################################## john-1.8.0/run/makechr-19- while read CHR; do john-1.8.0/run/makechr:20: CHR_LOWER="`echo -n $CHR | tr A-Z a-z`" john-1.8.0/run/makechr-21- $DIR/john --make-charset=${CHR_LOWER}.chr --external=Filter_${CHR} ############################################## john-1.8.0/src/DES_bs_b.c-9- john-1.8.0/src/DES_bs_b.c:10:#if DES_BS_ASM && defined(_OPENMP) && defined(__GNUC__) john-1.8.0/src/DES_bs_b.c-11-#warning Assembly code and OpenMP are both requested - will provide the former, but not the latter (for DES-based hashes). This may likely be corrected by enabling SIMD intrinsics with the C compiler (try adding -msse2 to OMPFLAGS). ############################################## john-1.8.0/src/alpha.h-29- john-1.8.0/src/alpha.h:30:#define DES_ASM 1 john-1.8.0/src/alpha.h-31-#define DES_128K 0 ############################################## john-1.8.0/src/alpha.h-36-#define DES_COPY 0 john-1.8.0/src/alpha.h:37:#define DES_BS_ASM 0 john-1.8.0/src/alpha.h-38-#define DES_BS 1 ############################################## john-1.8.0/src/alpha.h-41- john-1.8.0/src/alpha.h:42:#define MD5_ASM 0 john-1.8.0/src/alpha.h-43-#define MD5_X2 1 ############################################## john-1.8.0/src/alpha.h-45- john-1.8.0/src/alpha.h:46:#define BF_ASM 0 john-1.8.0/src/alpha.h-47-#define BF_SCALE 1 ############################################## john-1.8.0/src/ia64.h-29- john-1.8.0/src/ia64.h:30:#define DES_ASM 0 john-1.8.0/src/ia64.h-31-#define DES_128K 0 ############################################## john-1.8.0/src/ia64.h-36-#define DES_COPY 0 john-1.8.0/src/ia64.h:37:#define DES_BS_ASM 0 john-1.8.0/src/ia64.h-38-#define DES_BS 1 ############################################## john-1.8.0/src/ia64.h-41- john-1.8.0/src/ia64.h:42:#define MD5_ASM 0 john-1.8.0/src/ia64.h-43-#define MD5_X2 1 ############################################## john-1.8.0/src/ia64.h-45- john-1.8.0/src/ia64.h:46:#define BF_ASM 0 john-1.8.0/src/ia64.h-47-#define BF_SCALE 0 ############################################## john-1.8.0/src/mips32.h-29- john-1.8.0/src/mips32.h:30:#define DES_ASM 0 john-1.8.0/src/mips32.h-31-#define DES_128K 0 ############################################## john-1.8.0/src/mips32.h-36-#define DES_COPY 1 john-1.8.0/src/mips32.h:37:#define DES_BS_ASM 0 john-1.8.0/src/mips32.h-38-#define DES_BS 1 ############################################## john-1.8.0/src/mips32.h-41- john-1.8.0/src/mips32.h:42:#define MD5_ASM 0 john-1.8.0/src/mips32.h-43-#define MD5_X2 1 ############################################## john-1.8.0/src/mips32.h-45- john-1.8.0/src/mips32.h:46:#define BF_ASM 0 john-1.8.0/src/mips32.h-47-#define BF_SCALE 0 ############################################## john-1.8.0/src/mips64.h-29- john-1.8.0/src/mips64.h:30:#define DES_ASM 0 john-1.8.0/src/mips64.h-31-#define DES_128K 0 ############################################## john-1.8.0/src/mips64.h-36-#define DES_COPY 0 john-1.8.0/src/mips64.h:37:#define DES_BS_ASM 0 john-1.8.0/src/mips64.h-38-#define DES_BS 1 ############################################## john-1.8.0/src/mips64.h-41- john-1.8.0/src/mips64.h:42:#define MD5_ASM 0 john-1.8.0/src/mips64.h-43-#define MD5_X2 1 ############################################## john-1.8.0/src/mips64.h-45- john-1.8.0/src/mips64.h:46:#define BF_ASM 0 john-1.8.0/src/mips64.h-47-#define BF_SCALE 0 ############################################## john-1.8.0/src/pa-risc.h-29- john-1.8.0/src/pa-risc.h:30:#define DES_ASM 0 john-1.8.0/src/pa-risc.h-31-#define DES_128K 1 ############################################## john-1.8.0/src/pa-risc.h-36-#define DES_COPY 0 john-1.8.0/src/pa-risc.h:37:#define DES_BS_ASM 0 john-1.8.0/src/pa-risc.h-38-#define DES_BS 1 ############################################## john-1.8.0/src/pa-risc.h-42- john-1.8.0/src/pa-risc.h:43:#define MD5_ASM 0 john-1.8.0/src/pa-risc.h-44-#define MD5_X2 1 ############################################## john-1.8.0/src/pa-risc.h-46- john-1.8.0/src/pa-risc.h:47:#define BF_ASM 0 john-1.8.0/src/pa-risc.h-48-#define BF_SCALE 1 ############################################## john-1.8.0/src/ppc32.h-29- john-1.8.0/src/ppc32.h:30:#define DES_ASM 0 john-1.8.0/src/ppc32.h-31-#define DES_128K 0 ############################################## john-1.8.0/src/ppc32.h-36-#define DES_COPY 0 john-1.8.0/src/ppc32.h:37:#define DES_BS_ASM 0 john-1.8.0/src/ppc32.h-38-#define DES_BS 1 ############################################## john-1.8.0/src/ppc32.h-41- john-1.8.0/src/ppc32.h:42:#define MD5_ASM 0 john-1.8.0/src/ppc32.h-43-#define MD5_X2 1 ############################################## john-1.8.0/src/ppc32.h-45- john-1.8.0/src/ppc32.h:46:#define BF_ASM 0 john-1.8.0/src/ppc32.h-47-#define BF_SCALE 0 ############################################## john-1.8.0/src/ppc32alt.h-29- john-1.8.0/src/ppc32alt.h:30:#define DES_ASM 0 john-1.8.0/src/ppc32alt.h-31-#define DES_128K 0 ############################################## john-1.8.0/src/ppc32alt.h-36-#define DES_COPY 0 john-1.8.0/src/ppc32alt.h:37:#define DES_BS_ASM 0 john-1.8.0/src/ppc32alt.h-38-#define DES_BS 3 ############################################## john-1.8.0/src/ppc32alt.h-57- john-1.8.0/src/ppc32alt.h:58:#define MD5_ASM 0 john-1.8.0/src/ppc32alt.h-59-#define MD5_X2 1 ############################################## john-1.8.0/src/ppc32alt.h-61- john-1.8.0/src/ppc32alt.h:62:#define BF_ASM 0 john-1.8.0/src/ppc32alt.h-63-#define BF_SCALE 0 ############################################## john-1.8.0/src/ppc64.h-29- john-1.8.0/src/ppc64.h:30:#define DES_ASM 0 john-1.8.0/src/ppc64.h-31-#define DES_128K 0 ############################################## john-1.8.0/src/ppc64.h-36-#define DES_COPY 0 john-1.8.0/src/ppc64.h:37:#define DES_BS_ASM 0 john-1.8.0/src/ppc64.h-38-#define DES_BS 1 ############################################## john-1.8.0/src/ppc64.h-41- john-1.8.0/src/ppc64.h:42:#define MD5_ASM 0 john-1.8.0/src/ppc64.h-43-#define MD5_X2 1 ############################################## john-1.8.0/src/ppc64.h-45- john-1.8.0/src/ppc64.h:46:#define BF_ASM 0 john-1.8.0/src/ppc64.h-47-#define BF_SCALE 0 ############################################## john-1.8.0/src/ppc64alt.h-29- john-1.8.0/src/ppc64alt.h:30:#define DES_ASM 0 john-1.8.0/src/ppc64alt.h-31-#define DES_128K 0 ############################################## john-1.8.0/src/ppc64alt.h-36-#define DES_COPY 0 john-1.8.0/src/ppc64alt.h:37:#define DES_BS_ASM 0 john-1.8.0/src/ppc64alt.h-38-#define DES_BS 3 ############################################## john-1.8.0/src/ppc64alt.h-57- john-1.8.0/src/ppc64alt.h:58:#define MD5_ASM 0 john-1.8.0/src/ppc64alt.h-59-#define MD5_X2 1 ############################################## john-1.8.0/src/ppc64alt.h-61- john-1.8.0/src/ppc64alt.h:62:#define BF_ASM 0 john-1.8.0/src/ppc64alt.h-63-#define BF_SCALE 0 ############################################## john-1.8.0/src/sparc32.h-29- john-1.8.0/src/sparc32.h:30:#define DES_ASM 0 john-1.8.0/src/sparc32.h-31-/* ############################################## john-1.8.0/src/sparc32.h-42-#define DES_COPY 1 john-1.8.0/src/sparc32.h:43:#define DES_BS_ASM 0 john-1.8.0/src/sparc32.h-44-#define DES_BS 1 ############################################## john-1.8.0/src/sparc32.h-47- john-1.8.0/src/sparc32.h:48:#define MD5_ASM 0 john-1.8.0/src/sparc32.h-49-#define MD5_X2 1 ############################################## john-1.8.0/src/sparc32.h-51- john-1.8.0/src/sparc32.h:52:#define BF_ASM 0 john-1.8.0/src/sparc32.h-53-#define BF_SCALE 0 ############################################## john-1.8.0/src/sparc64.h-29- john-1.8.0/src/sparc64.h:30:#define DES_ASM 0 john-1.8.0/src/sparc64.h-31-#define DES_128K 0 ############################################## john-1.8.0/src/sparc64.h-36-#define DES_COPY 1 john-1.8.0/src/sparc64.h:37:#define DES_BS_ASM 0 john-1.8.0/src/sparc64.h-38-#define DES_BS 1 ############################################## john-1.8.0/src/sparc64.h-41- john-1.8.0/src/sparc64.h:42:#define MD5_ASM 0 john-1.8.0/src/sparc64.h-43-#define MD5_X2 1 ############################################## john-1.8.0/src/sparc64.h-45- john-1.8.0/src/sparc64.h:46:#define BF_ASM 0 john-1.8.0/src/sparc64.h-47-#define BF_SCALE 0 ############################################## john-1.8.0/src/vax.h-29- john-1.8.0/src/vax.h:30:#define DES_ASM 0 john-1.8.0/src/vax.h-31-#define DES_128K 1 ############################################## john-1.8.0/src/vax.h-36-#define DES_COPY 1 john-1.8.0/src/vax.h:37:#define DES_BS_ASM 0 john-1.8.0/src/vax.h-38-#define DES_BS 1 ############################################## john-1.8.0/src/vax.h-41- john-1.8.0/src/vax.h:42:#define MD5_ASM 0 john-1.8.0/src/vax.h-43-#define MD5_X2 0 ############################################## john-1.8.0/src/vax.h-45- john-1.8.0/src/vax.h:46:#define BF_ASM 0 john-1.8.0/src/vax.h-47-#define BF_SCALE 0 ############################################## john-1.8.0/src/x86-64.S-31-#define DES_bs_all _DES_bs_all john-1.8.0/src/x86-64.S:32:#define DES_bs_init_asm _DES_bs_init_asm john-1.8.0/src/x86-64.S-33-#define DES_bs_crypt _DES_bs_crypt ############################################## john-1.8.0/src/x86-64.h-36- john-1.8.0/src/x86-64.h:37:#define DES_ASM 0 john-1.8.0/src/x86-64.h-38-#define DES_128K 0 ############################################## john-1.8.0/src/x86-64.h-64-#endif john-1.8.0/src/x86-64.h:65:#define DES_BS_ASM 0 john-1.8.0/src/x86-64.h-66-#if 0 ############################################## john-1.8.0/src/x86-64.h-139-#elif defined(__SSE2__) && defined(_OPENMP) john-1.8.0/src/x86-64.h:140:#define DES_BS_ASM 0 john-1.8.0/src/x86-64.h-141-#if 1 ############################################## john-1.8.0/src/x86-64.h-161-#else john-1.8.0/src/x86-64.h:162:#define DES_BS_ASM 1 john-1.8.0/src/x86-64.h-163-#define DES_BS_VECTOR 2 ############################################## john-1.8.0/src/x86-64.h-177- john-1.8.0/src/x86-64.h:178:#define MD5_ASM 0 john-1.8.0/src/x86-64.h-179-#define MD5_X2 1 ############################################## john-1.8.0/src/x86-64.h-181- john-1.8.0/src/x86-64.h:182:#define BF_ASM 0 john-1.8.0/src/x86-64.h-183-#define BF_SCALE 1 ############################################## john-1.8.0/src/x86-any.h-25- john-1.8.0/src/x86-any.h:26:#define DES_ASM 1 john-1.8.0/src/x86-any.h-27-#define DES_128K 0 ############################################## john-1.8.0/src/x86-any.h-32-#define DES_COPY 1 john-1.8.0/src/x86-any.h:33:#define DES_BS_ASM 0 john-1.8.0/src/x86-any.h-34-#ifdef _OPENMP ############################################## john-1.8.0/src/x86-any.h-42-#ifdef _OPENMP john-1.8.0/src/x86-any.h:43:#define MD5_ASM 0 john-1.8.0/src/x86-any.h-44-#else john-1.8.0/src/x86-any.h:45:#define MD5_ASM 1 john-1.8.0/src/x86-any.h-46-#endif ############################################## john-1.8.0/src/x86-any.h-50-#ifdef _OPENMP john-1.8.0/src/x86-any.h:51:#define BF_ASM 0 john-1.8.0/src/x86-any.h-52-#define BF_X2 1 john-1.8.0/src/x86-any.h-53-#else john-1.8.0/src/x86-any.h:54:#define BF_ASM 1 john-1.8.0/src/x86-any.h-55-#define BF_X2 0 ############################################## john-1.8.0/src/x86-mmx.S-32-#define DES_bs_all _DES_bs_all john-1.8.0/src/x86-mmx.S:33:#define DES_bs_init_asm _DES_bs_init_asm john-1.8.0/src/x86-mmx.S-34-#define DES_bs_crypt _DES_bs_crypt ############################################## john-1.8.0/src/x86-mmx.h-37- john-1.8.0/src/x86-mmx.h:38:#define DES_ASM 1 john-1.8.0/src/x86-mmx.h-39-#define DES_128K 0 ############################################## john-1.8.0/src/x86-mmx.h-46-#if defined(__MMX__) && defined(_OPENMP) john-1.8.0/src/x86-mmx.h:47:#define DES_BS_ASM 0 john-1.8.0/src/x86-mmx.h-48-#if 1 ############################################## john-1.8.0/src/x86-mmx.h-56-#else john-1.8.0/src/x86-mmx.h:57:#define DES_BS_ASM 1 john-1.8.0/src/x86-mmx.h-58-#define DES_BS_VECTOR 2 ############################################## john-1.8.0/src/x86-mmx.h-64-#ifdef _OPENMP john-1.8.0/src/x86-mmx.h:65:#define MD5_ASM 0 john-1.8.0/src/x86-mmx.h-66-#else john-1.8.0/src/x86-mmx.h:67:#define MD5_ASM 1 john-1.8.0/src/x86-mmx.h-68-#endif ############################################## john-1.8.0/src/x86-mmx.h-74- (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))) john-1.8.0/src/x86-mmx.h:75:#define BF_ASM 0 john-1.8.0/src/x86-mmx.h-76-#define BF_X2 1 john-1.8.0/src/x86-mmx.h-77-#else john-1.8.0/src/x86-mmx.h:78:#define BF_ASM 1 john-1.8.0/src/x86-mmx.h-79-#define BF_X2 0 ############################################## john-1.8.0/src/x86-sse.S-30-#define DES_bs_all _DES_bs_all john-1.8.0/src/x86-sse.S:31:#define DES_bs_init_asm _DES_bs_init_asm john-1.8.0/src/x86-sse.S-32-#define DES_bs_crypt _DES_bs_crypt ############################################## john-1.8.0/src/x86-sse.h-45- john-1.8.0/src/x86-sse.h:46:#define DES_ASM 1 john-1.8.0/src/x86-sse.h-47-#define DES_128K 0 ############################################## john-1.8.0/src/x86-sse.h-66-#endif john-1.8.0/src/x86-sse.h:67:#define DES_BS_ASM 0 john-1.8.0/src/x86-sse.h-68-#if 1 ############################################## john-1.8.0/src/x86-sse.h-95-#elif defined(__SSE2__) && defined(_OPENMP) john-1.8.0/src/x86-sse.h:96:#define DES_BS_ASM 0 john-1.8.0/src/x86-sse.h-97-#if 1 ############################################## john-1.8.0/src/x86-sse.h-113-#else john-1.8.0/src/x86-sse.h:114:#define DES_BS_ASM 1 john-1.8.0/src/x86-sse.h-115-#define DES_BS_VECTOR 4 ############################################## john-1.8.0/src/x86-sse.h-120-#ifdef _OPENMP john-1.8.0/src/x86-sse.h:121:#define MD5_ASM 0 john-1.8.0/src/x86-sse.h-122-#else john-1.8.0/src/x86-sse.h:123:#define MD5_ASM 1 john-1.8.0/src/x86-sse.h-124-#endif ############################################## john-1.8.0/src/x86-sse.h-130- (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))) john-1.8.0/src/x86-sse.h:131:#define BF_ASM 0 john-1.8.0/src/x86-sse.h-132-#define BF_X2 1 john-1.8.0/src/x86-sse.h-133-#else john-1.8.0/src/x86-sse.h:134:#define BF_ASM 1 john-1.8.0/src/x86-sse.h-135-#define BF_X2 0 ############################################## john-1.8.0/debian/extra/cronjob-37- if [ -f $RESTORE ]; then john-1.8.0/debian/extra/cronjob:38: RESTOREFILE=`grep ^$PASSFILE $RESTORE` john-1.8.0/debian/extra/cronjob-39- fi ############################################## john-1.8.0/debian/extra/cronjob-57- # But use the latest shadow file john-1.8.0/debian/extra/cronjob:58: TMPFILE=`mktemp $PASSFILE.XXXXXX` || exit 1 john-1.8.0/debian/extra/cronjob-59- chmod og-rwx $TMPFILE ############################################## john-1.8.0/debian/extra/cronjob-65- # Move to the directory where john.pot resides john-1.8.0/debian/extra/cronjob:66: OUTPUT=`$JOHNDIR/mailer $TMPFILE 2>&1` john-1.8.0/debian/extra/cronjob-67- # Mailer mails to root if there is something relevant ############################################## john-1.8.0/debian/extra/cronjob-84- PROCPATH=$(readlink /proc/$p/exe) john-1.8.0/debian/extra/cronjob:85: RELEVANTPATH=`echo $PROCPATH | sed -e"s^$JOHNDIR/john.*^$JOHNDIR/john^"` john-1.8.0/debian/extra/cronjob-86- if [ "$RELEVANTPATH" = $JOHNDIR/john ]; then ############################################## john-1.8.0/debian/extra/cronjob-119-if [ -f $RESTORE ]; then john-1.8.0/debian/extra/cronjob:120: RESTOREFILE=`grep ^$PASSFILE $RESTORE` john-1.8.0/debian/extra/cronjob-121- RESTORE_OPTION="-restore:$RESTORE" ############################################## john-1.8.0/debian/extra/cronjob-133- rm -f $PASSFILE* john-1.8.0/debian/extra/cronjob:134: TMPFILE=`mktemp $PASSFILE.XXXXXX` || exit 1 john-1.8.0/debian/extra/cronjob-135- chmod og-rwx $TMPFILE ############################################## john-1.8.0/debian/extra/cronjob-165-else john-1.8.0/debian/extra/cronjob:166: PID=`cat $PIDDIR/john.pid` john-1.8.0/debian/extra/cronjob-167- # Redundant check (just in case) john-1.8.0/debian/extra/cronjob-168- PROCPATH=$(readlink /proc/$PID/exe) john-1.8.0/debian/extra/cronjob:169: RELEVANTPATH=`echo $PROCPATH | sed -e"s^$JOHNDIR/john.*^$JOHNDIR/john^"` john-1.8.0/debian/extra/cronjob-170- if [ "$RELEVANTPATH" = $JOHNDIR/john ]; then ############################################## john-1.8.0/debian/extra/cronjob-194- chmod 0600 $ALTEREDPASSWD john-1.8.0/debian/extra/cronjob:195: for x in `grep -e ^$GROUP: /etc/group | cut -d: -f4 | tr ',' ' '` john-1.8.0/debian/extra/cronjob-196- do ############################################## john-1.8.0/debian/preinst-16- john-1.8.0/debian/preinst:17: orgmd5=`dpkg-query -W -f='${Conffiles}' dpkg | cut -d' ' -f3` john-1.8.0/debian/preinst:18: curmd5=`md5sum $1 |sed -e 's/ .*//'` john-1.8.0/debian/preinst-19- if [ "$orgmd5" = "$curmd5" ]; then ############################################## john-1.8.0/debian/postinst-15- dpkg-statoverride --list $p >/dev/null && return john-1.8.0/debian/postinst:16: curmod=`stat -c %a $p` john-1.8.0/debian/postinst-17- [ $(( 0$curmod & 07077 )) -eq 0 ] && return