mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #552] Implied options should be stored in session file #235
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#235
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @magnumripper on GitHub (Apr 7, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/552
Originally assigned to: @magnumripper on GitHub.
For example, if you just said --wordlist but rules were also added from a john.conf entry, this should be stored in the session file so resuming will do the right thing even if john.conf was changed inbetween. This also goes for encodings and other options.
@frank-dittrich commented on GitHub (Apr 8, 2014):
I am not so convinced this is a good idea.
Even in core john, you can cause similar problems if you change the rules in the [List.Rules:Wordlist] section, or if you change the contents of the wordlist file after interrupting a session and restoring it.
May be this should be discussed on john-dev or john-users.
@magnumripper commented on GitHub (Apr 8, 2014):
Yes but core john has a whole lot less parameters to tweak. And it does fill in some things - at least one: If you start a session without the --format option, it will add one to the session file, with the format that was auto-selected.
Also, Solar has expressed (a long time ago) that he thinks Jumbo should do this for some options. I can't recall what he referred to at the time.
@frank-dittrich commented on GitHub (Apr 8, 2014):
So you are talking about parameters that can be specified as config file options and via john's command line options? Not some random other options like user defined character classes etc.
That would mean you wouldn't need to bump the rec file version.
@magnumripper commented on GitHub (Apr 8, 2014):
Exactly. If john.conf says default wordlist is rockyou.txt and you just used
-wothen it should be stored as-wo:rockyou.txtin the session file. If I gave no--encodingbut a default encoding was used from john.conf, an-encoding:whateverline should be added.Actually, if you just said
-woit should ideally be stored as-wordlist=filenamein the session file, in case a newer version make-woambigous. This recently happened with using-ifor incremental (now-incis minimum needed). But that might need a new function in getopt.c.@magnumripper commented on GitHub (Apr 14, 2014):
Fixed in #565 (once it's merged)