Date: Fri, 29 Jun 2012 09:44:44 +0200
From: Lukas Odzioba <lukas.odzioba@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: WPA-PSK big-endian fix
2012/6/28 Solar Designer <solar@...nwall.com>:
> Lukas -
>
> On Fri, Jun 29, 2012 at 12:12:08AM +0400, Solar Designer wrote:
>> The attached patch makes the WPA-PSK format (CPU) work on big-endian
>
> BTW, perhaps eapol_size and keyver should be validated in valid() and in
> hccap2john.c.
Keyver -hmm you're right there might be something other that 1 or 2.
Eapolsize - of course.
> Do these come from an external tool? Or even directly from network
> traffic? In the latter case, we might even have a remote arbitrary code
> execution vulnerability here. %-)
Omg we do not want this.
> Also, is it specified (where?) that these are in little-endian form, or
> does this vary between builds of whatever tool creates the file?
Both tools I know use little endian.
And it is by deafult in little-endian I think.
http://hashcat.net/wiki/hccap
Lukas