|
Message-Id: <1356BBBB-73AF-4A1C-8073-490EAD771441@shinnok.com> Date: Wed, 13 May 2015 15:52:20 +0300 From: Shinnok <admin@...nnok.com> To: john-dev@...ts.openwall.com Subject: Re: problem with signal handling in core john (was: [core john] [Johnny] Windows event loop) > On May 13, 2015, at 3:27 PM, Solar Designer <solar@...nwall.com> wrote: > > Aleksey, Shinnok - > > On Wed, May 13, 2015 at 02:31:18PM +0300, Aleksey Cherepanov wrote: >> The possible problems: >> >> - SetConsoleCtrlHandler(NULL, FALSE); may be needed to enable ctrl-c >> correctly, I guess john core wants to handle ctrl-c, > > I haven't been following the discussion closely, I'm not into Windows > programming, and IIRC it's been something between 15 and 20 years since > I put the SetConsoleCtrlHandler() calls currently in signals.c in there. > So I don't really know whether/which change might be needed. However, > last time I checked, which wasn't that long ago, Ctrl-C still worked > fine to correctly terminate "john" on Windows. Does it no longer work > in console on some combination of Windows and Cygwin versions? Or is > the problem specific to just usage from Johnny? The patch maintains event processing(including CTRL_C) under the console(CMD) while also allowing for Johnny to properly terminate JtR instances via the same CTRL_C_EVENT. Shinnok
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.