diff -urN john-1.6.orig/run/john.ini john-1.6/run/john.ini --- john-1.6.orig/run/john.ini Sun Dec 6 22:27:00 1998 +++ john-1.6/run/john.ini Sun Dec 6 22:33:19 1998 @@ -5,7 +5,7 @@ [Options] # Wordlist file name, to be used in batch mode -Wordfile = ~/password.lst +Wordfile = /usr/share/dict/words # Use idle cycles only Idle = N # Crash recovery file saving delay in seconds @@ -314,25 +314,25 @@ # Incremental modes [Incremental:All] -File = ~/all.chr +File = /usr/lib/john/all.chr MinLen = 0 MaxLen = 8 CharCount = 95 [Incremental:Alpha] -File = ~/alpha.chr +File = /usr/lib/john/alpha.chr MinLen = 1 MaxLen = 8 CharCount = 26 [Incremental:Digits] -File = ~/digits.chr +File = /usr/lib/john/digits.chr MinLen = 1 MaxLen = 8 CharCount = 10 [Incremental:LanMan] -File = ~/lanman.chr +File = /usr/lib/john/lanman.chr MinLen = 0 MaxLen = 7 CharCount = 69 diff -urN john-1.6.orig/run/mailer john-1.6/run/mailer --- john-1.6.orig/run/mailer Sun Dec 6 22:27:00 1998 +++ john-1.6/run/mailer Sun Dec 6 22:31:09 1998 @@ -10,10 +10,11 @@ fi # There's no need to mail users with these shells -SHELLS=-,/bin/false,/dev/null,/bin/sync +SHELLS=-,/bin/false,/dev/null,/bin/sync,/bin/true,/sbin/shutdown # Look for John in the same directory with this script -DIR="`echo "$0" | sed 's,/[^/]*$,,'`" +#DIR="`echo "$0" | sed 's,/[^/]*$,,'`" +DIR="/usr/bin" # Let's start $DIR/john -show "$1" -shells:$SHELLS | sed -n 's/:.*//p' | @@ -21,10 +22,23 @@ SENT=0 while read LOGIN; do - echo Sending mail to "$LOGIN"... + echo Sending mail to / Wysylam maila do "$LOGIN"... # You'll probably want to edit the message below - mail -s 'Bad password' "$LOGIN" << EOF + mail -s 'Bad password / Zle haslo' "$LOGIN" << EOF +-------------------------------------------------------------------------- +[PL] + +Witaj! + +Twoje hasło dla konta "$LOGIN" nie jest bezpieczne. Proszę zmień +je tak szybko jak to jest możliwe. + +Twój, + Robot Sprawdzający Hasła. +-------------------------------------------------------------------------- +[ENG] + Hello! Your password for account "$LOGIN" is insecure. Please change it as soon @@ -32,6 +46,7 @@ Yours, Password Checking Robot. +-------------------------------------------------------------------------- EOF SENT=$(($SENT+1)) diff -urN john-1.6.orig/src/Makefile john-1.6/src/Makefile --- john-1.6.orig/src/Makefile Sun Dec 6 22:27:00 1998 +++ john-1.6/src/Makefile Sun Dec 6 22:44:50 1998 @@ -13,7 +13,7 @@ SED = sed NULL = /dev/null CPPFLAGS = -E -CFLAGS = -c -Wall -O2 -fomit-frame-pointer +CFLAGS = -c -Wall -fomit-frame-pointer $(OPT) ASFLAGS = -c LDFLAGS = -s OPT_NORMAL = -funroll-loops diff -urN john-1.6.orig/src/params.h john-1.6/src/params.h --- john-1.6.orig/src/params.h Sun Dec 6 22:27:00 1998 +++ john-1.6/src/params.h Sun Dec 6 22:38:19 1998 @@ -52,10 +52,10 @@ /* * File names. */ -#define LOG_NAME "~/john.pot" -#define CFG_NAME "~/john.ini" -#define RECOVERY_NAME "~/restore" -#define WORDLIST_NAME "~/password.lst" +#define LOG_NAME "~/.john.pot" +#define CFG_NAME "/usr/lib/john/john.ini" +#define RECOVERY_NAME "~/.john.restore" +#define WORDLIST_NAME "/usr/share/dict/words" /* * Configuration file section names.