Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <baa74ae9-f872-de0a-e1cb-f4f89fdf327e@openwall.net>
Date: Wed, 14 Sep 2016 09:55:03 -0500
From: jfoug <jfoug@...nwall.net>
To: john-users@...ts.openwall.com
Subject: Re: Error: wordlist contains NULL bytes - aborting

On 9/14/2016 9:49 AM, jfoug wrote:
> These have a carriage return in them (the 0d).  There are 3 characters 
> which are very hard to deal with in JtR.  That is \x00 (null), \x0a 
> and \x0d (line feed and carriage return).  Also, the ':' can be tough 
> in certain situations (but is not a problem for an input wordlist).  
> The \x0a and \x0d 'can' be handled in wordlist (using rules, external 
> or mask).  I am not sure if john can (or ever will) be able to handle 
> a null byte.  It may be that we can handle them with mask mode, I am 
> not sure.  It will almost certainly never be able to handle embedded 
> null bytes in wordlist mode

Just did a quick test in mask mode, and it looks like mask will not 
handle a null byte either:

$ ../run/john -mask='[\x00-a]' --stdout
Warning: \x00 in mask terminates the string
Parsing unsuccessful, missing closing bracket


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.