|
|
Message-ID: <40bbdd77eebcc2f83bd73c00c9ce2547@smtp.hushmail.com>
Date: Fri, 25 Oct 2013 18:16:39 +0200
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: Re: Knownforce mask
On 2013-10-25 13:41, Rich Rumble wrote:
> On Thu, Oct 24, 2013 at 12:34 PM, Rich Rumble <richrumble@...il.com> wrote:
>>
>> I'm trying to do this pattern in known force
>> digit, digit, alpha, alpha, digit, alpha, alpha
>
> I worked around this actually, however I'm still curious about using
> the external mode for it.
Just from a quick look at your external mode I believe at least one
problem is in the last while loop:
while (pos > 4) {
ofs = pos++ << 8;
...
This will loop until pos wraps around and gets negative or zero...
However, if you're running 1.8 you'd just do this instead:
$ john -mask=?d?d?l?l?d?l?l
magnum
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.