JtR Config Generator
Be Good

Main Page

ReusableSec Blog



This page is dedicated to our John the Ripper config generator.  The goal is to provide an easy to use way to create custom JtR config files.  As a side project, we are also using this program to create rule files for our dictionary based rainbow table program.


John the Ripper Config File Generator version 1.0.1


Patch Notes:

Version 1.0.1: Fixed a fairly major, (ok massive), bug when appending characters. You really want to update.


1. Download and untar the John the Ripper Config File Generator
2. make

Supported Systems:

Most flavors of Linux


Running jtrMakeConfig:

1. Run John the Ripper Config File Generator by typing ‘jtrMakeConfig’
2. Specify the appropriate configuration options

-Option (1) modifies the character sets.  Use this to add support for different languages, or to modify which numbers/special characters to use in the word mangling rules

-Option (2) specifies the password creation rules:  This allows you to tailor your attacks against individual targets by setting the minimum password length, or required characters.  Aka, the password must be at least 8 characters long and include one number, one special character, one upper and one lower case letter.

-Option (3) allows you to create word mangling rules.  For example, add two numbers to the end of the dictionary word, and replace ‘a’ with an ‘@’.

3. Save your settings.

-Option (4) creates a JtR config file that can be used in John the Ripper.

-Option (5) saves your session so you can go back at a later time and modify your rule set.  Currently jtrMakeConfig does not allow importing regular JtR config files, so this is the only way to modify your settings at a later point.

-Note: the saved session is of a different format than JtR config files, so use Option (4) to create the actual JtR file, and Option (5) to save your session

4. Copy your JtR configuration file to the directory where John the Ripper is installed
5. Run John the Ripper and specify the wordlist and rules files. Here is an example of the syntax: ./john pwdumpfile --wordlist=wordlistfile --rules rulesfile