Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 13 Aug 2014 20:34:13 +0200
From: magnum <>
Subject: glitch with processing trailing spaces in input file (from contest

On 2014-08-10 02:23, magnum wrote:
> On 2014-08-09 11:08, Alexander Cherepanov wrote:
>> Consider a salted md5 hash "05de5c963ee6234dc7d52f7589a1922b" with the
>> salt "  " (two spaces) and password "welcome" (taken from
>> osc_fmt_plug.c).
>> When there is a login in input file non-encoded spaces at the end of the
>> line are processed Ok
>> When login is absent the spaces are trimmed?
> I created for
> this, assigned to Jim.

Jim found out this is caused by core code and totally intended behavior 
(though probably not with a case like this in mind). Solar's commit 
message is actually "When loading hashes on a line on their own (no 
colons), ignore leading and trailing whitespace (if any)":

We'll see how to "solve" it. Possibly it's just a documentation issue (I 
believe using $HEX$ encoding would be a surefire workaround).


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.