mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
1.4 KiB

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.