Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 24 May 2015 16:51:23 +0300
From: Aleksey Cherepanov <lyosha@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: problem with signal handling in core john (was: [core
 john] [Johnny] Windows event loop)

Mathieu,

On Sun, May 24, 2015 at 09:31:07AM -0400, Mathieu Laprise wrote:
> On Thu, May 14, 2015 at 12:19 PM, Shinnok <admin@...nnok.com> wrote:
> 
> > So theoretically johnny can solve it on its own: enable ctrl-c
> > handling before each calling of john and disable after it, can't it?
> >
> > I didn't try this approach. If you or Mathieu decide to do it, make sure
> > you test all possible variants, like I did.
> >
> 
> As discussed on IRC, I tried Aleksey's idea with all combinaisons I could
> think of : before m_johnProcess.start(), inside the constructor of the
> object, inside setupChildProcess and other places. And disable it at a
> right moment after. I never got main process of john-core 1.8.0 to be
> terminated after hours of tries. So, I guess we really need what Shinnok
> added in John or maybe I really suck at win32 api because I can't think of
> any combinations I didn't try yet ! Ah ah ah !

Did you apply Shinnok's patch that replaces __CYGWIN32__ and then
removed SetConsoleCtrlHandler(NULL, FALSE); ? Or did you try without
the patch at all?

-- 
Regards,
Aleksey Cherepanov

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ