Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 13 May 2015 14:31:18 +0300
From: Aleksey Cherepanov <lyosha@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: problem with signal handling in core john (was: [core john] [Johnny]
 Windows event loop)

Solar,

On Tue, May 12, 2015 at 04:25:47PM +0300, Shinnok wrote:
> 	iii. We can re-enable CTRL_ events back in JtR. Simple patch to core. SetConsoleCtrlHandler(NULL, FALSE);

Shinnok's experiments seem to reveal a problem or two in core john.

I reattached Shinnok's patch because it was not easily visible in
mutt.

The possible problems:

- SetConsoleCtrlHandler(NULL, FALSE); may be needed to enable ctrl-c
correctly, I guess john core wants to handle ctrl-c,

- __CYGWIN32__ macro may be obsolete in new cygwin and/or 64-bit
cygwin (I don't know) so signal handling does not work there at all.

Thanks!

-- 
Regards,
Aleksey Cherepanov

View attachment "jtr-core-ctrlc-event.patch" of type "text/x-diff" (945 bytes)

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.