Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 25 Mar 2009 09:52:53 -0500
From: Minga Minga <>
Subject: Adding Characters to the end of strings inside of DumbForce?

I am using a 'DumbForce' section of john.conf to brute force ALL possible 6
character passwords, But I want to ADD the string '2008' to the end of each
password generated.

(I want it to try aaaaaa2008 aaaaab2008 aaaaac2008 ... ... ..)

Is there a way to do this in john.conf?

Currently I am doing:

./john -external:DumbForce-AllChars -stdout | sed -e 's/$/2008/g' | ./john
-stdin passwd.txt

Which is very wasteful...




Here is what "DumbForce-AllChars" looks like (the part that matters)

int maxlength;          // Maximum password length to try
int last;               // Last character position, zero-based
int lastid;             // Character index in the last position
int id[0x7f];           // Current character indices for other positions
int charset[0x100], c0; // Character set

void init()
        int minlength;
        int i, c;

        minlength = 6;  // Initial password length to try, must be at least
        maxlength = 6;  // Must be at least same as minlength

        i = 0;
        charset[i++] = 65;
        c = ' ';
        while (c < '~')
                charset[i++] = c++;
        c = '~' + 1;
        while (c <= 0x7e)
                charset[i++] = c++;


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.