Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 9 Jun 2015 09:54:52 -0400
From: Mathieu Laprise <mathlaprise@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: [Johnny] Task 1.6.1 Multiple cracking session management

On Tue, Jun 9, 2015 at 8:59 AM, Shinnok <admin@...nnok.com> wrote:

> We can force direct qsettings to an any .INI file format. Aren't we
> already doing that for the .johnny file? If yes then it's just a matter of
> switching to a single practice.

No, we aren't using anything related to QSettings for the .johnny files at
the moment. Johnny has used .johnny file to save the last session
description. At the moment, it only contains the files and the format(it is
used to restore the label --format=XXX in the progress bar). It reads and
writes the files line by line similar to this :
while(!file.atdEnd()) {
readLine();
if(line.contains("FORMAT=") {
//do XXX
}
This hasn't changed since 2012 except that before the TODOs task, it was
assuming that first line is file and second line is format. I added the
headers.
When I implemented session history, I kept the same logic so each session
has its own file .johnny to save its stuff.

If you want, we can changed that to read/save to .ini while using qsettings
stuff. But do we want to use groups
http://doc.qt.io/qt-5/qsettings.html#beginGroup, and have one file for
information about all sessions or one file per session like now ?

Content of type "text/html" skipped

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.