mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1132] pass_gen.pl has confusing stubs in place for loads of formats. #707
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#707
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 (Mar 21, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1132
Having stubs in there is one thing, but pass_gen.pl should definitely not list such formats as being supported. This must be fixed.
Found after seeing GPG was supported, then just getting empty output.
@jfoug commented on GitHub (Mar 21, 2015):
Just put an output string such as "format under construction"
@magnumripper commented on GitHub (Mar 21, 2015):
No, they need to go away from the list of supported formats.
@magnumripper commented on GitHub (Mar 21, 2015):
@magnumripper commented on GitHub (Mar 21, 2015):
What good are the stubs anyway?
@jfoug commented on GitHub (Mar 21, 2015):
Let's me know which ones are left, do not remove them. Hog possibly. I doubt I will ever waste the time to handle that conveluted POS
@jfoug commented on GitHub (Mar 21, 2015):
Hog = gpg. DAMN smart phone spell check.
@magnumripper commented on GitHub (Mar 21, 2015):
Well it also lets everyone else NOT know which formats are actually supported. That's plain stupid.
They have to go away from the list of supported formats. Either we fix the generation of that list some way, or we remove the stubs - but they could of course be commented out and still "be there" in the code. Too bad Perl does not have block comments.
@magnumripper commented on GitHub (Mar 21, 2015):
I incorrectly recalled we generated that list from what sub's we have but that is obviously not how we do it (that would be some clever Perl-fu). So we can just delete them from @funcs array while leaving the stubs in place and issue will be history. I really can't understand why you DID put them in the @funcs array though. It will take some time cleaning that up, checking every format whether it's an empty stub or not.
@jfoug commented on GitHub (Mar 21, 2015):
Hmm, could Perl be used here ? :)
@jfoug commented on GitHub (Mar 21, 2015):
Most are in a block of code around line 1100 or so
@magnumripper commented on GitHub (Mar 21, 2015):
They were scattered but it wasn't that hard to fix so I will not whine any more about this.
That would have been a fun exercise but it would probably have ended up taking 25 times longer :-)