Browse Source

Sebastian Jaenicke:


			
			
				rocklinux
			
			
		
Sebastian Jaenicke 21 years ago
parent
commit
5fa72a276c
3 changed files with 139 additions and 0 deletions
  1. +36
    -0
      package/tsa/john/john.conf
  2. +46
    -0
      package/tsa/john/john.desc
  3. +57
    -0
      package/tsa/john/locations.patch

+ 36
- 0
package/tsa/john/john.conf

@ -0,0 +1,36 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tsa/john/john.conf
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
install_john() {
install -m0755 run/john $root/usr/bin/
install -m0755 run/mailer $root/usr/bin/
install -m0644 run/john.ini $root/etc/
install -d -m0755 $root/usr/share/john/
install -m0644 run/*chr run/password.lst $root/usr/share/john/
ln -s $root/usr/bin/john $root/usr/bin/unafs
ln -s $root/usr/bin/john $root/usr/bin/unique
ln -s $root/usr/bin/john $root/usr/bin/unshadow
}
makeopt="-C src generic"
inmake=install_john
makeinstopt="-C src"

+ 46
- 0
package/tsa/john/john.desc

@ -0,0 +1,46 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/tsa/john/john.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] A password cracker to detect weak Unix (and other) passwords.
[T] John the Ripper is a fast password cracker, currently available for many
[T] flavors of Unix (11 are officially supported, not counting different
[T] architectures), DOS, Win32, BeOS, and OpenVMS. Its primary purpose is to
[T] detect weak Unix passwords. It supports several crypt(3) password hash
[T] types which are most commonly found on various Unix flavors, as well as
[T] Kerberos AFS and Windows NT/2000/XP LM hashes. Several other hash types
[T] are added with contributed patches.
[U] http://www.openwall.com/john/
[A] Solar Designer <solar@false.com>
[M] Sebastian Jaenicke <tsa@jaenicke.org>
[C] extra/security
[L] GPL
[S] Stable
[V] 1.6
[P] X -----5---9 800.000
[D] 3199007682 john-1.6.tar.gz http://www.openwall.com/john/a/

+ 57
- 0
package/tsa/john/locations.patch

@ -0,0 +1,57 @@
diff -Nur john-1.6.orig/run/john.ini john-1.6/run/john.ini
--- john-1.6.orig/run/john.ini 1998-12-03 01:29:50.000000000 +0100
+++ john-1.6/run/john.ini 2004-03-11 01:50:33.000000000 +0100
@@ -5,7 +5,7 @@
[Options]
# Wordlist file name, to be used in batch mode
-Wordfile = ~/password.lst
+Wordfile = /usr/share/john/password.lst
# 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/share/john/all.chr
MinLen = 0
MaxLen = 8
CharCount = 95
[Incremental:Alpha]
-File = ~/alpha.chr
+File = /usr/share/john/alpha.chr
MinLen = 1
MaxLen = 8
CharCount = 26
[Incremental:Digits]
-File = ~/digits.chr
+File = /usr/share/john/digits.chr
MinLen = 1
MaxLen = 8
CharCount = 10
[Incremental:LanMan]
-File = ~/lanman.chr
+File = /usr/share/john/lanman.chr
MinLen = 0
MaxLen = 7
CharCount = 69
diff -Nur john-1.6.orig/src/params.h john-1.6/src/params.h
--- john-1.6.orig/src/params.h 1998-12-03 01:29:50.000000000 +0100
+++ john-1.6/src/params.h 2004-03-11 01:48:33.000000000 +0100
@@ -53,9 +53,9 @@
* File names.
*/
#define LOG_NAME "~/john.pot"
-#define CFG_NAME "~/john.ini"
+#define CFG_NAME "/etc/john.ini"
#define RECOVERY_NAME "~/restore"
-#define WORDLIST_NAME "~/password.lst"
+#define WORDLIST_NAME "/usr/share/john/password.lst"
/*
* Configuration file section names.

Loading…
Cancel
Save