blob: f4984d7f84b1b2e18579412912e705238dce364b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
--- params.h.orig Mon Jan 9 15:33:18 2006
+++ params.h Sat Feb 18 19:02:07 2006
@@ -22,12 +22,12 @@
* 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 "%%PREFIX%%/bin/john"
#endif
#ifndef JOHN_SYSTEMWIDE_HOME
#define JOHN_SYSTEMWIDE_HOME "/usr/share/john"
@@ -74,8 +74,8 @@
/*
* File names.
*/
-#define CFG_FULL_NAME "$JOHN/john.conf"
-#define CFG_ALT_NAME "$JOHN/john.ini"
+#define CFG_FULL_NAME "%%PREFIX%%/etc/john.conf"
+#define CFG_ALT_NAME "%%PREFIX%%/etc/john.ini"
#if JOHN_SYSTEMWIDE
#define CFG_PRIVATE_FULL_NAME JOHN_PRIVATE_HOME "/john.conf"
#define CFG_PRIVATE_ALT_NAME JOHN_PRIVATE_HOME "/john.ini"
@@ -89,7 +89,7 @@
#endif
#define LOG_SUFFIX ".log"
#define RECOVERY_SUFFIX ".rec"
-#define WORDLIST_NAME "$JOHN/password.lst"
+#define WORDLIST_NAME "%%DATADIR%%/password.lst"
/*
* Configuration file section names.
|