mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1503] Document the new self-described dynamic format #974
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#974
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 (Jul 6, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1503
Originally assigned to: @jfoug on GitHub.
No hurry, just adding an issue so we don't forget.
We should have a list of all valid "functions" like uc() and sha384(), and "variables/constants" like $p, $u, $c and so on.
@jfoug commented on GitHub (Jul 7, 2015):
These are growing by about a hundred or so, today, lol. I am in the process of adding ALL haval hashes (5 lengths, with 3 iteration counts, so 15 in total). I am also going through ALL of dynamic, and setting it up using #define macros. So now i do things like this:
Adding a new hash simply consists of adding a new LEXI_FUNC() with proper items. There are about 6 or 7 of these type things in the compiler, about 6-8 in dynamic_fmt.c, many in the parser, some in dynamic.h and probably MANY in dynamic_preload.c I would REALLY like to clean this up, so that adding a new hash is simply adding a line in about 20 places in the code an rebuilding. I already have that for the big_crypt code. In that code, I add one line to a .sh file, and I get the 'real' file. The others are not the real deal, the CPP will actually generate them. It does not make for easy debugging, BUT once things are worked out, all the macro declarations should be working. IF there is something needing debugged, we can always comment out a macro define, and expand the 'real' code, debug, then when fixed, put the macro back.
I hope to have this checked in tonite. Once that is done, extending dyna should be childs play.
@jfoug commented on GitHub (Jul 17, 2015):
Should this be a stand alone document (my choice), or tied into the existing DYNAMIC readme files?
@magnumripper commented on GitHub (Jul 17, 2015):
I agree a stand alone new one is better.
@jfoug commented on GitHub (Nov 24, 2015):
9a93a71