Advertisement
Guest User

johnripperINSTALL

a guest
Jun 23rd, 2015
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. Installing John the Ripper.
  2.  
  3. First of all, most likely you do not need to install John the Ripper
  4. system-wide. Instead, after you extract the distribution archive and
  5. possibly compile the source code (see below), you may simply enter the
  6. "run" directory and invoke John from there.
  7.  
  8. System-wide installation is also supported, but it is intended for use
  9. by packagers of John for *BSD "ports", Linux distributions, etc., rather
  10. than by end-users. (If you're in fact preparing a package of John,
  11. please refer to the JOHN_SYSTEMWIDE setting in src/params.h.)
  12.  
  13. You may have obtained the source code or a "binary" (pre-compiled)
  14. distribution of John the Ripper. On Unix-like systems, it is typical
  15. to get the source code and compile it into "binary" executables right
  16. on the system you intend to run John on. On DOS and Windows, however,
  17. it is typical to get a binary distribution which is ready for use.
  18.  
  19. The following instructions apply to the source code distribution of
  20. John only. If you have a binary distribution, then there's nothing
  21. for you to compile and you can start using John right away.
  22.  
  23.  
  24. Compiling the sources on a Unix-like system.
  25.  
  26. Enter the directory into which you extracted the source code
  27. distribution of John. Enter the "src" subdirectory and invoke "make"
  28. to obtain a list of operating systems for which specific support
  29. exists:
  30.  
  31. cd src
  32. make
  33.  
  34. Note the make target for your system and type:
  35.  
  36. make clean SYSTEM
  37.  
  38. where SYSTEM is the appropriate make target. Alternatively, if your
  39. system is not listed, use:
  40.  
  41. make clean generic
  42.  
  43. If everything goes well, this will create the executables for John and
  44. its related utilities under "../run/". You can change directory to
  45. there and start John, like this:
  46.  
  47. cd ../run
  48. ./john --test
  49.  
  50. Alternatively, you may copy the entire "run" directory to anywhere you
  51. like and use John from there.
  52.  
  53.  
  54. A note on moving binaries between systems.
  55.  
  56. With the "generic" make target, certain machine hardware performance
  57. parameters are detected at compile time. Additionally, some OS-specific
  58. make targets tell the C compiler to generate and optimize code for the
  59. machine's specific CPU type (this currently applies to C compilers other
  60. than gcc only). If you then move the binary executable to a different
  61. machine, you might not get the best performance or the program might
  62. not run at all if the CPU lacks features that the C compiler assumed it
  63. would have. Thus, it is recommended to recompile John on each system if
  64. you use one of these make targets.
  65.  
  66. Since Linux and *BSD distributions' packages of John typically use make
  67. targets other than "generic" and since they typically use gcc, they are
  68. usually not affected by this potential problem.
  69.  
  70. $Owl: Owl/packages/john/john/doc/INSTALL,v 1.5 2010/05/27 13:37:48 solar Exp $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement