[GH-ISSUE #2107] librexgen no longer does case. #1409

Open
opened 2026-10-15 04:15:52 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @jfoug on GitHub (Apr 3, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2107

Originally assigned to: @jfoug on GitHub.

github.com/teeshop/rexgen@9468680a1d

We still have this in code (within our command line arg), but the flag that gets set never is used any more (after Jan's update last december: github.com/magnumripper/JohnTheRipper@f3cd0e6393 (commitcomment-16945258))

We need to find out if there are plans to ever bring that function back, and if not, then remove this option from the regex interface.

Note, the =alpha:case does work (after I renamed case to cased).

Originally created by @jfoug on GitHub (Apr 3, 2016). Original GitHub issue: https://github.com/openwall/john/issues/2107 Originally assigned to: @jfoug on GitHub. https://github.com/teeshop/rexgen/commit/9468680a1d86e25f6e08d98fbcd32980c2ec6d8b We still have this in code (within our command line arg), but the flag that gets set never is used any more (after Jan's update last december: https://github.com/magnumripper/JohnTheRipper/commit/f3cd0e6393278eba7e8456666c1b27a8df8e4938#commitcomment-16945258) We need to find out if there are plans to ever bring that function back, and if not, then remove this option from the regex interface. Note, the =alpha:case does work (after I renamed case to cased).
Author
Owner

@magnumripper commented on GitHub (Aug 18, 2016):

Is this still an issue? Or was it re-implemented by eg. github.com/teeshop/rexgen@9e4e557 ?

<!-- gh-comment-id:240834154 --> @magnumripper commented on GitHub (Aug 18, 2016): Is this still an issue? Or was it re-implemented by eg. https://github.com/teeshop/rexgen/commit/9e4e557 ?
Author
Owner

@jfoug commented on GitHub (Aug 18, 2016):

No, this is still an issue. casing 'can' be done, but it is not done with a simple function call like before. I think you have to incorporate it into the regex expression, but that makes for some differences in runtime.

<!-- gh-comment-id:240838316 --> @jfoug commented on GitHub (Aug 18, 2016): No, this is still an issue. casing 'can' be done, but it is not done with a simple function call like before. I think you have to incorporate it into the regex expression, but that makes for some differences in runtime.
Author
Owner

@magnumripper commented on GitHub (Dec 18, 2016):

Note, the =alpha:cased does work

How? The below doesn't.

$ ../run/john --stdout -regex='alpha:cased=\0' -stdin <<< magnum
Using default input encoding: UTF-8
magnum
1p 0:00:00:00 0.00% 100.0p/s magnum

Am I doing it wrong? I'm probably confused.

<!-- gh-comment-id:267851449 --> @magnumripper commented on GitHub (Dec 18, 2016): > Note, the =alpha:cased does work How? The below doesn't. ``` $ ../run/john --stdout -regex='alpha:cased=\0' -stdin <<< magnum Using default input encoding: UTF-8 magnum 1p 0:00:00:00 0.00% 100.0p/s magnum ``` Am I doing it wrong? I'm probably confused.
Author
Owner

@magnumripper commented on GitHub (Dec 18, 2016):

doc/README.librexgen is full of typos and incorrect (as of now) info. It should be updated.

For example, apparently you need to write -regex='alpha:cased=[regex] whereas the manual says -regex='alpha=cased=[regex]. You can say -regex:'alpha:cased=[regex] but the second one must be a : and the third one must be a =. Not sure if we should change the docs or the code.

Typos are things like "rexex" and "stand along"

<!-- gh-comment-id:267851763 --> @magnumripper commented on GitHub (Dec 18, 2016): doc/README.librexgen is full of typos and incorrect (as of now) info. It should be updated. For example, apparently you need to write `-regex='alpha:cased=[regex]` whereas the manual says `-regex='alpha=cased=[regex]`. You can say `-regex:'alpha:cased=[regex]` but the second one must be a `:` and the third one must be a `=`. Not sure if we should change the docs or the code. Typos are things like "rexex" and "stand along"
Author
Owner

@solardiz commented on GitHub (Mar 29, 2019):

We don't even know whether we'll keep this functionality longer-term, so we certainly don't intend to spend time on it before our upcoming release.

<!-- gh-comment-id:478153886 --> @solardiz commented on GitHub (Mar 29, 2019): We don't even know whether we'll keep this functionality longer-term, so we certainly don't intend to spend time on it before our upcoming release.
Author
Owner

@solardiz commented on GitHub (Jun 9, 2024):

Should we perhaps remove all mentions of case from doc/README.librexgen and then close this issue?

<!-- gh-comment-id:2156643458 --> @solardiz commented on GitHub (Jun 9, 2024): Should we perhaps remove all mentions of `case` from `doc/README.librexgen` and then close this issue?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1409
No description provided.