Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 06 Jul 2011 01:37:54 +0400
From: Aleksey Cherepanov <>
Subject: Re: Johnny GUI interactive status from John

> > I found that there are no terminal support in Qt itself but there are
> > some terminal widgets. At least there are QTermWidget that i think could
> > help us.

> Using that kind of code doesn't seem like a good approach. Neither
> emulating a terminal on Johnny's side is. Hopefully we're not going to
> be forced to take this one.

Another way to emulate terminal is to use detached sessions of screen
utility. It may look like

a@...alhost:~/desktop$ screen -d -m /usr/sbin/john t/passwd
a@...alhost:~/desktop$ screen -list
There is a screen on:
	12627..localhost	(06.07.2011 01:18:22)	(Detached)
1 Socket in /var/run/screen/S-a.

a@...alhost:~/desktop$ screen -r 12627..localhost -p 0 -X stuff '
> '
a@...alhost:~/desktop$ screen -r 12627..localhost -p 0 -X hardcopy /home/a/desktop/h
a@...alhost:~/desktop$ cat h
Loaded 2 password hashes with no different salts (LM DES [32/32 BS])
guesses: 0  time: 0:00:00:23 (3)  c/s: 449590  trying: TYE516 - TYE560

It is not the best screen usage. However i guess that even with the best
commands this method needs to call screen for every status update.

And i do not know whether it works on Windows or not.

Aleksey Cherepanov

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.