]> git.pld-linux.org Git - packages/john.git/commitdiff
- outdated
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 17 Feb 2006 21:21:31 +0000 (21:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    john-1.6.PLD.diff -> 1.6
    john-1.6.ini.diff -> 1.2
    john-1.6.makefile.diff -> 1.2

john-1.6.PLD.diff [deleted file]
john-1.6.ini.diff [deleted file]
john-1.6.makefile.diff [deleted file]

diff --git a/john-1.6.PLD.diff b/john-1.6.PLD.diff
deleted file mode 100644 (file)
index 00cc561..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
---- john-1.7/run/john.conf.orig        2005-12-16 16:02:14.000000000 +0100
-+++ john-1.7/run/john.conf     2006-01-29 01:06:33.372110776 +0100
-@@ -5,7 +5,8 @@
- [Options]
- # Wordlist file name, to be used in batch mode
--Wordlist = $JOHN/password.lst
-+#Wordlist = $JOHN/password.lst
-+Wordlist = /usr/share/dict/words
- # Use idle cycles only
- Idle = N
- # Crash recovery file saving delay in seconds
-@@ -323,31 +324,31 @@
- # Incremental modes
- [Incremental:All]
--File = $JOHN/all.chr
-+File = /usr/lib/john/all.chr
- MinLen = 0
- MaxLen = 8
- CharCount = 95
- [Incremental:Alpha]
--File = $JOHN/alpha.chr
-+File = /usr/lib/john/alpha.chr
- MinLen = 1
- MaxLen = 8
- CharCount = 26
- [Incremental:Digits]
--File = $JOHN/digits.chr
-+File = /usr/lib/john/digits.chr
- MinLen = 1
- MaxLen = 8
- CharCount = 10
- [Incremental:Alnum]
--File = $JOHN/alnum.chr
-+File = /usr/lib/john/alnum.chr
- MinLen = 1
- MaxLen = 8
- CharCount = 36
- [Incremental:LanMan]
--File = $JOHN/lanman.chr
-+File = /usr/lib/john/lanman.chr
- MinLen = 0
- MaxLen = 7
- CharCount = 69
-diff -ruN john-1.6./run/mailer john-1.6/run/mailer
---- john-1.6./run/mailer       1998-12-03 01:29:50.000000000 +0100
-+++ john-1.6/run/mailer        2003-07-12 12:06:43.000000000 +0200
-@@ -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 -ruN john-1.6./src/Makefile john-1.6/src/Makefile
---- john-1.6./src/Makefile     2003-07-12 12:06:08.000000000 +0200
-+++ john-1.6/src/Makefile      2003-07-12 12:06:43.000000000 +0200
-@@ -14,7 +14,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
---- john-1.7/src/params.h.orig 2006-01-09 15:33:18.000000000 +0100
-+++ john-1.7/src/params.h      2006-01-29 01:10:31.736873824 +0100
-@@ -22,15 +22,15 @@
-  * will probably want to set this to 1 for their builds of John.
-  */
- #ifndef JOHN_SYSTEMWIDE
--#define JOHN_SYSTEMWIDE                       0
-+#define JOHN_SYSTEMWIDE                       1
- #endif
- #if JOHN_SYSTEMWIDE
- #ifndef JOHN_SYSTEMWIDE_EXEC
--#define JOHN_SYSTEMWIDE_EXEC          "/usr/libexec/john"
-+#define JOHN_SYSTEMWIDE_EXEC          "/usr/bin/john"
- #endif
- #ifndef JOHN_SYSTEMWIDE_HOME
--#define JOHN_SYSTEMWIDE_HOME          "/usr/share/john"
-+#define JOHN_SYSTEMWIDE_HOME          "/usr/lib/john"
- #endif
- #define JOHN_PRIVATE_HOME             "~/.john"
- #endif
-@@ -89,7 +89,7 @@
- #endif
- #define LOG_SUFFIX                    ".log"
- #define RECOVERY_SUFFIX                       ".rec"
--#define WORDLIST_NAME                 "$JOHN/password.lst"
-+#define WORDLIST_NAME                 "/usr/share/dict/words"
- /*
-  * Configuration file section names.
diff --git a/john-1.6.ini.diff b/john-1.6.ini.diff
deleted file mode 100644 (file)
index be2763c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -urN john-1.6.orig/src/config.c john-1.6/src/config.c
---- john-1.6.orig/src/config.c Thu Dec  3 01:29:50 1998
-+++ john-1.6/src/config.c      Wed Dec  9 13:08:02 1998
-@@ -7,6 +7,9 @@
- #include <stdlib.h>
- #include <string.h>
- #include <ctype.h>
-+#include <pwd.h>
-+#include <sys/types.h>
-+#include <unistd.h>
- #include "misc.h"
- #include "params.h"
-@@ -117,11 +120,18 @@
-       FILE *file;
-       char line[LINE_BUFFER_SIZE];
-       int number;
-+      char name2[100];
-+      struct passwd *haslo;
-+      haslo = getpwuid(getuid());
-+      sprintf(name2, "%s/.john.ini", haslo->pw_dir);
-       if (cfg_database) return;
--
--      if (!(file = fopen(path_expand(name), "r")))
--              pexit("fopen: %s", path_expand(name));
-+      
-+      if (!(file = fopen(name2, "r")))
-+      {
-+              if (!(file = fopen(path_expand(name), "r")))
-+              pexit("fopen: ~/.john.ini or %s", path_expand(name));
-+      }
-       number = 0;
-       while (fgetl(line, sizeof(line), file))
diff --git a/john-1.6.makefile.diff b/john-1.6.makefile.diff
deleted file mode 100644 (file)
index e682a3e..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-diff -urN john-1.6.orig/src/Makefile john-1.6/src/Makefile
---- john-1.6.orig/src/Makefile Thu Dec  3 01:29:50 1998
-+++ john-1.6/src/Makefile      Wed Dec  9 12:25:28 1998
-@@ -116,13 +116,13 @@
-       $(LN) x86-any.h arch.h
-       $(MAKE) $(PROJ) \
-               JOHN_OBJS="$(JOHN_OBJS) x86.o" \
--              CFLAGS="$(CFLAGS) -m486"
-+              CFLAGS="$(CFLAGS)"
- linux-x86-mmx-elf:
-       $(LN) x86-mmx.h arch.h
-       $(MAKE) $(PROJ) \
-               JOHN_OBJS="$(JOHN_OBJS) x86.o" \
--              CFLAGS="$(CFLAGS) -m486"
-+              CFLAGS="$(CFLAGS)"
- linux-x86-k6-elf:
-       $(LN) x86-k6.h arch.h
-@@ -133,7 +133,7 @@
-       $(LN) x86-any.h arch.h
-       $(MAKE) $(PROJ) \
-               JOHN_OBJS="$(JOHN_OBJS) x86.o" \
--              CFLAGS="$(CFLAGS) -m486" \
-+              CFLAGS="$(CFLAGS)" \
-               ASFLAGS="$(ASFLAGS) -DUNDERSCORES -DALIGN_LOG"
- linux-alpha:
-@@ -160,7 +160,7 @@
-       $(LN) x86-any.h arch.h
-       $(MAKE) $(PROJ) \
-               JOHN_OBJS="$(JOHN_OBJS) x86.o" \
--              CFLAGS="$(CFLAGS) -m486" \
-+              CFLAGS="$(CFLAGS)" \
-               ASFLAGS="$(ASFLAGS) -DUNDERSCORES -DALIGN_LOG -DBSD"
- freebsd-x86-k6-a.out:
-@@ -173,14 +173,14 @@
-       $(LN) x86-any.h arch.h
-       $(MAKE) $(PROJ) \
-               JOHN_OBJS="$(JOHN_OBJS) x86.o" \
--              CFLAGS="$(CFLAGS) -m486" \
-+              CFLAGS="$(CFLAGS)" \
-               ASFLAGS="$(ASFLAGS) -DBSD"
- freebsd-x86-mmx-elf:
-       $(LN) x86-mmx.h arch.h
-       $(MAKE) $(PROJ) \
-               JOHN_OBJS="$(JOHN_OBJS) x86.o" \
--              CFLAGS="$(CFLAGS) -m486" \
-+              CFLAGS="$(CFLAGS)" \
-               ASFLAGS="$(ASFLAGS) -DBSD"
- freebsd-x86-k6-elf:
-@@ -193,7 +193,7 @@
-       $(LN) x86-any.h arch.h
-       $(MAKE) $(PROJ) \
-               JOHN_OBJS="$(JOHN_OBJS) x86.o" \
--              CFLAGS="$(CFLAGS) -m486" \
-+              CFLAGS="$(CFLAGS)" \
-               ASFLAGS="$(ASFLAGS) -DUNDERSCORES -DALIGN_LOG -DBSD"
- openbsd-x86-k6:
-@@ -260,7 +260,7 @@
-       $(MAKE) $(PROJ) \
-               SHELL=/bin/sh \
-               JOHN_OBJS="$(JOHN_OBJS) solaris-x86.o" \
--              CFLAGS="$(CFLAGS) -m486"
-+              CFLAGS="$(CFLAGS)"
- solaris-x86-k6:
-       $(RM) arch.h
-@@ -340,14 +340,14 @@
-       copy x86-any.h arch.h
-       $(MAKE) $(PROJ_DOS) \
-               JOHN_OBJS="$(JOHN_OBJS) x86.o" \
--              CFLAGS="$(CFLAGS) -m486" \
-+              CFLAGS="$(CFLAGS)" \
-               ASFLAGS="$(ASFLAGS) -DUNDERSCORES -DALIGN_LOG"
- dos-djgpp-x86-mmx:
-       copy x86-mmx.h arch.h
-       $(MAKE) $(PROJ_DOS) \
-               JOHN_OBJS="$(JOHN_OBJS) x86.o" \
--              CFLAGS="$(CFLAGS) -m486" \
-+              CFLAGS="$(CFLAGS)" \
-               ASFLAGS="$(ASFLAGS) -DUNDERSCORES -DALIGN_LOG"
- dos-djgpp-x86-k6:
This page took 0.099159 seconds and 4 git commands to generate.