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.

76 lines
2.2 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/tsa/john/locations.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -Nur john-1.6.orig/run/john.ini john-1.6/run/john.ini
  20. --- john-1.6.orig/run/john.ini 1998-12-03 01:29:50.000000000 +0100
  21. +++ john-1.6/run/john.ini 2004-03-11 01:50:33.000000000 +0100
  22. @@ -5,7 +5,7 @@
  23. [Options]
  24. # Wordlist file name, to be used in batch mode
  25. -Wordfile = ~/password.lst
  26. +Wordfile = /usr/share/john/password.lst
  27. # Use idle cycles only
  28. Idle = N
  29. # Crash recovery file saving delay in seconds
  30. @@ -314,25 +314,25 @@
  31. # Incremental modes
  32. [Incremental:All]
  33. -File = ~/all.chr
  34. +File = /usr/share/john/all.chr
  35. MinLen = 0
  36. MaxLen = 8
  37. CharCount = 95
  38. [Incremental:Alpha]
  39. -File = ~/alpha.chr
  40. +File = /usr/share/john/alpha.chr
  41. MinLen = 1
  42. MaxLen = 8
  43. CharCount = 26
  44. [Incremental:Digits]
  45. -File = ~/digits.chr
  46. +File = /usr/share/john/digits.chr
  47. MinLen = 1
  48. MaxLen = 8
  49. CharCount = 10
  50. [Incremental:LanMan]
  51. -File = ~/lanman.chr
  52. +File = /usr/share/john/lanman.chr
  53. MinLen = 0
  54. MaxLen = 7
  55. CharCount = 69
  56. diff -Nur john-1.6.orig/src/params.h john-1.6/src/params.h
  57. --- john-1.6.orig/src/params.h 1998-12-03 01:29:50.000000000 +0100
  58. +++ john-1.6/src/params.h 2004-03-11 01:48:33.000000000 +0100
  59. @@ -53,9 +53,9 @@
  60. * File names.
  61. */
  62. #define LOG_NAME "~/john.pot"
  63. -#define CFG_NAME "~/john.ini"
  64. +#define CFG_NAME "/etc/john.ini"
  65. #define RECOVERY_NAME "~/restore"
  66. -#define WORDLIST_NAME "~/password.lst"
  67. +#define WORDLIST_NAME "/usr/share/john/password.lst"
  68. /*
  69. * Configuration file section names.