]> git.pld-linux.org Git - packages/john.git/blob - john-1.6.PLD.diff
- /usr/dict/linux.words -> /usr/share/dict/words
[packages/john.git] / john-1.6.PLD.diff
1 diff -urN john-1.6.orig/run/john.ini john-1.6/run/john.ini
2 --- john-1.6.orig/run/john.ini  Sun Dec  6 22:27:00 1998
3 +++ john-1.6/run/john.ini       Sun Dec  6 22:33:19 1998
4 @@ -5,7 +5,7 @@
5  
6  [Options]
7  # Wordlist file name, to be used in batch mode
8 -Wordfile = ~/password.lst
9 +Wordfile = /usr/share/dict/words
10  # Use idle cycles only
11  Idle = N
12  # Crash recovery file saving delay in seconds
13 @@ -314,25 +314,25 @@
14  
15  # Incremental modes
16  [Incremental:All]
17 -File = ~/all.chr
18 +File = /usr/lib/john/all.chr
19  MinLen = 0
20  MaxLen = 8
21  CharCount = 95
22  
23  [Incremental:Alpha]
24 -File = ~/alpha.chr
25 +File = /usr/lib/john/alpha.chr
26  MinLen = 1
27  MaxLen = 8
28  CharCount = 26
29  
30  [Incremental:Digits]
31 -File = ~/digits.chr
32 +File = /usr/lib/john/digits.chr
33  MinLen = 1
34  MaxLen = 8
35  CharCount = 10
36  
37  [Incremental:LanMan]
38 -File = ~/lanman.chr
39 +File = /usr/lib/john/lanman.chr
40  MinLen = 0
41  MaxLen = 7
42  CharCount = 69
43 diff -urN john-1.6.orig/run/mailer john-1.6/run/mailer
44 --- john-1.6.orig/run/mailer    Sun Dec  6 22:27:00 1998
45 +++ john-1.6/run/mailer Sun Dec  6 22:31:09 1998
46 @@ -10,10 +10,11 @@
47  fi
48  
49  # There's no need to mail users with these shells
50 -SHELLS=-,/bin/false,/dev/null,/bin/sync
51 +SHELLS=-,/bin/false,/dev/null,/bin/sync,/bin/true,/sbin/shutdown
52  
53  # Look for John in the same directory with this script
54 -DIR="`echo "$0" | sed 's,/[^/]*$,,'`"
55 +#DIR="`echo "$0" | sed 's,/[^/]*$,,'`"
56 +DIR="/usr/bin"
57  
58  # Let's start
59  $DIR/john -show "$1" -shells:$SHELLS | sed -n 's/:.*//p' |
60 @@ -21,10 +22,23 @@
61         SENT=0
62  
63         while read LOGIN; do
64 -               echo Sending mail to "$LOGIN"...
65 +               echo Sending mail to / Wysylam maila do "$LOGIN"...
66  
67  # You'll probably want to edit the message below
68 -               mail -s 'Bad password' "$LOGIN" << EOF
69 +               mail -s 'Bad password / Zle haslo' "$LOGIN" << EOF
70 +--------------------------------------------------------------------------
71 +[PL]
72 +
73 +Witaj!
74 +
75 +Twoje has³o dla konta "$LOGIN" nie jest bezpieczne. Proszê zmieñ
76 +je tak szybko jak to jest mo¿liwe.
77 +
78 +Twój,
79 +       Robot Sprawdzaj±cy Has³a.
80 +--------------------------------------------------------------------------
81 +[ENG]
82 +
83  Hello!
84  
85  Your password for account "$LOGIN" is insecure. Please change it as soon
86 @@ -32,6 +46,7 @@
87  
88  Yours,
89         Password Checking Robot.
90 +--------------------------------------------------------------------------
91  EOF
92  
93                 SENT=$(($SENT+1))
94 diff -urN john-1.6.orig/src/Makefile john-1.6/src/Makefile
95 --- john-1.6.orig/src/Makefile  Sun Dec  6 22:27:00 1998
96 +++ john-1.6/src/Makefile       Sun Dec  6 22:44:50 1998
97 @@ -13,7 +13,7 @@
98  SED = sed
99  NULL = /dev/null
100  CPPFLAGS = -E
101 -CFLAGS = -c -Wall -O2 -fomit-frame-pointer
102 +CFLAGS = -c -Wall -fomit-frame-pointer $(OPT)
103  ASFLAGS = -c
104  LDFLAGS = -s
105  OPT_NORMAL = -funroll-loops
106 diff -urN john-1.6.orig/src/params.h john-1.6/src/params.h
107 --- john-1.6.orig/src/params.h  Sun Dec  6 22:27:00 1998
108 +++ john-1.6/src/params.h       Sun Dec  6 22:38:19 1998
109 @@ -52,10 +52,10 @@
110  /*
111   * File names.
112   */
113 -#define LOG_NAME                       "~/john.pot"
114 -#define CFG_NAME                       "~/john.ini"
115 -#define RECOVERY_NAME                  "~/restore"
116 -#define WORDLIST_NAME                  "~/password.lst"
117 +#define LOG_NAME                       "~/.john.pot"
118 +#define CFG_NAME                       "/usr/lib/john/john.ini"
119 +#define RECOVERY_NAME                  "~/.john.restore"
120 +#define WORDLIST_NAME                  "/usr/share/dict/words"
121  
122  /*
123   * Configuration file section names.
This page took 0.16403 seconds and 4 git commands to generate.