Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 12 Jul 2019 13:20:10 +0200
From: Solar Designer <>
Subject: Re: Session.rec file disappears

On Thu, Jul 11, 2019 at 07:52:03PM +0200, Peter Farge wrote:
> I'm using john for saving sessions:
> gdrive .... | gzip -d --stdout | john --session=ses --stdout --stdin |
> aircrack-ng ... > ses.stdout 2> ses.stderr &
> disown -a

That's a really weird way to do it.

Why use aircrack-ng at all?  Don't we have all of its functionality and
with much better performance built into JtR jumbo by now?  Is anything
specific still missing?

> The worlist is zipped on a Google Drive (gdrive tool).

Why do that?  How large is that wordlist?

> Because of
> internet connection breakdown I put john in between. The file ses.rec
> exists. I can logout and the next day log into my debian machine and see
> the progress:
> john --status=ses
> But if the gdrive tool fails, the ses.rec file disappears. Error Msg:
> gzip: stdin: unexpected end of file

It's intended behavior that JtR deletes the session file when the
session completes, and as far as it's aware it completes when there are
no more input words for --stdin.

> What can I do?

You could patch JtR source code not to remove the .rec file, but I think
you should reconsider the whole approach instead.


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.