Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 1 Jun 2015 09:30:42 +0300
From: Shinnok <admin@...nnok.com>
To: john-dev@...ts.openwall.com
Subject: Re: [john-core] Getting John's stdout unbuffered for Johnny


> On May 27, 2015, at 10:56 PM, magnum <john.magnum@...hmail.com> wrote:
> 
>> NB: What I find weird about JtR is that by default, it treats input
>> as a tty(and if not tty then defaults to reading password candidates)
> 
> As far as I'm aware it treats input as a TTY if it is indeed a TTY, nothing weird about that. It doesn't default to reading candidates, there's an option for that.
> 

If that's not the case, then maybe we need _IONBF for stdin on JtR for the non-tty and non stdin cases too. I can't get a char from Johnny to JtR.

Mathieu, after you confirm the stdout change from Solar it would be good to test the stdin part to JtR. Go into the update method and write a character to JtR. and look for the update line from JtR. Then try with '\n'; after that try with fflush() on Johnny's side. Then we can proceed to trying the _IONBF on JtR side.

Thanks,
Shinnok

Powered by blists - more mailing lists

Your e-mail address:

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