]> git.pld-linux.org Git - packages/john.git/blame - john-1.6.PLD.diff
- clean up inspired by Solar Designer
[packages/john.git] / john-1.6.PLD.diff
CommitLineData
f39ec594 1--- john-1.7/run/john.conf.orig 2005-12-16 16:02:14.000000000 +0100
2+++ john-1.7/run/john.conf 2006-01-29 01:06:33.372110776 +0100
a5f99f6c 3@@ -5,7 +5,8 @@
c0463006
JR
4
5 [Options]
6 # Wordlist file name, to be used in batch mode
a5f99f6c
JB
7-Wordlist = $JOHN/password.lst
8+#Wordlist = $JOHN/password.lst
9+Wordlist = /usr/share/dict/words
c0463006
JR
10 # Use idle cycles only
11 Idle = N
12 # Crash recovery file saving delay in seconds
f39ec594 13@@ -323,31 +324,31 @@
c0463006
JR
14
15 # Incremental modes
16 [Incremental:All]
4c4b0cc0 17-File = $JOHN/all.chr
c0463006
JR
18+File = /usr/lib/john/all.chr
19 MinLen = 0
20 MaxLen = 8
21 CharCount = 95
22
23 [Incremental:Alpha]
4c4b0cc0 24-File = $JOHN/alpha.chr
c0463006
JR
25+File = /usr/lib/john/alpha.chr
26 MinLen = 1
27 MaxLen = 8
28 CharCount = 26
29
30 [Incremental:Digits]
4c4b0cc0 31-File = $JOHN/digits.chr
c0463006
JR
32+File = /usr/lib/john/digits.chr
33 MinLen = 1
34 MaxLen = 8
35 CharCount = 10
36
f39ec594 37 [Incremental:Alnum]
38-File = $JOHN/alnum.chr
39+File = /usr/lib/john/alnum.chr
40 MinLen = 1
41 MaxLen = 8
42 CharCount = 36
43
c0463006 44 [Incremental:LanMan]
4c4b0cc0 45-File = $JOHN/lanman.chr
c0463006
JR
46+File = /usr/lib/john/lanman.chr
47 MinLen = 0
48 MaxLen = 7
49 CharCount = 69
4c4b0cc0 50diff -ruN john-1.6./run/mailer john-1.6/run/mailer
51--- john-1.6./run/mailer 1998-12-03 01:29:50.000000000 +0100
52+++ john-1.6/run/mailer 2003-07-12 12:06:43.000000000 +0200
c0463006
JR
53@@ -10,10 +10,11 @@
54 fi
55
56 # There's no need to mail users with these shells
57-SHELLS=-,/bin/false,/dev/null,/bin/sync
58+SHELLS=-,/bin/false,/dev/null,/bin/sync,/bin/true,/sbin/shutdown
59
60 # Look for John in the same directory with this script
61-DIR="`echo "$0" | sed 's,/[^/]*$,,'`"
62+#DIR="`echo "$0" | sed 's,/[^/]*$,,'`"
63+DIR="/usr/bin"
64
65 # Let's start
66 $DIR/john -show "$1" -shells:$SHELLS | sed -n 's/:.*//p' |
67@@ -21,10 +22,23 @@
68 SENT=0
69
70 while read LOGIN; do
71- echo Sending mail to "$LOGIN"...
72+ echo Sending mail to / Wysylam maila do "$LOGIN"...
73
74 # You'll probably want to edit the message below
75- mail -s 'Bad password' "$LOGIN" << EOF
76+ mail -s 'Bad password / Zle haslo' "$LOGIN" << EOF
77+--------------------------------------------------------------------------
78+[PL]
79+
80+Witaj!
81+
82