[GH-ISSUE #693] john doesn't work with latest rexgen version due to incompatible changes. #340

Closed
opened 2026-10-14 03:02:11 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @frank-dittrich on GitHub (Jul 12, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/693

Not sure whether to crerate a rexgen issue or whether there's a bleeding-jumbo fix possible.

I just cloned https://github.com/teeshop/rexgen and tried to build with rexgen support.
with rexgen's commit github.com/teeshop/rexgen@c88601fd75 this works.

But with latest commit github.com/teeshop/rexgen@c88601fd75 it doesn't anymore.

Looks like github.com/teeshop/rexgen@62af694e47 caused the breakage.

With latest regex version, I get


$ ./john --stdout --regex=[0-9]
Warning: regex mode currently can't be resumed if aborted
Press 'q' or Ctrl-C to abort, almost any other key for status
./john: symbol lookup error: ./john: undefined symbol: c_simplestring_terminate

if c_simplestring_terminate is part of the API, that shouldn't have changed without bumping the rexgen version.

Originally created by @frank-dittrich on GitHub (Jul 12, 2014). Original GitHub issue: https://github.com/openwall/john/issues/693 Not sure whether to crerate a rexgen issue or whether there's a bleeding-jumbo fix possible. I just cloned https://github.com/teeshop/rexgen and tried to build with rexgen support. with rexgen's commit https://github.com/teeshop/rexgen/commit/c88601fd75f7f4ca1da1c440acfe8138e5fb4157 this works. But with latest commit https://github.com/teeshop/rexgen/commit/c88601fd75f7f4ca1da1c440acfe8138e5fb4157 it doesn't anymore. Looks like https://github.com/teeshop/rexgen/commit/62af694e471176c34ae2d60ddcc66830fadcd58f caused the breakage. With latest regex version, I get ``` $ ./john --stdout --regex=[0-9] Warning: regex mode currently can't be resumed if aborted Press 'q' or Ctrl-C to abort, almost any other key for status ./john: symbol lookup error: ./john: undefined symbol: c_simplestring_terminate ``` if c_simplestring_terminate is part of the API, that shouldn't have changed without bumping the rexgen version.
Author
Owner

@magnumripper commented on GitHub (Jul 13, 2014):

I think this is a dupe of #672

<!-- gh-comment-id:48850197 --> @magnumripper commented on GitHub (Jul 13, 2014): I think this is a dupe of #672
Author
Owner

@kholia commented on GitHub (Jul 15, 2014):

I ran into the same problem a while back. It would be great to get this working again.

<!-- gh-comment-id:48997548 --> @kholia commented on GitHub (Jul 15, 2014): I ran into the same problem a while back. It would be great to get this working again.
Author
Owner

@frank-dittrich commented on GitHub (Jul 15, 2014):

Yes, this is a dupe of #672.
For now, I just checked out github.com/teeshop/rexgen@c88601fd75.

Before we can do anything to fix it, rexgen must at least report a different major or minor version.

I added a comment to the offending commit:
github.com/teeshop/rexgen@62af694e47

<!-- gh-comment-id:49019646 --> @frank-dittrich commented on GitHub (Jul 15, 2014): Yes, this is a dupe of #672. For now, I just checked out https://github.com/teeshop/rexgen/commit/c88601fd75f7f4ca1da1c440acfe8138e5fb4157. Before we can do anything to fix it, rexgen must at least report a different major or minor version. I added a comment to the offending commit: https://github.com/teeshop/rexgen/commit/62af694e471176c34ae2d60ddcc66830fadcd58f
Author
Owner

@magnumripper commented on GitHub (Jul 15, 2014):

So closing as dupe. There are important details here (like which commit is the last one working) but this will be referenced from #672 anyway. I have little time right now but hopefully while we do nothing, things will happen in Rexgen so we can read a version string that allows us to take proper measures.

<!-- gh-comment-id:49100777 --> @magnumripper commented on GitHub (Jul 15, 2014): So closing as dupe. There are important details here (like which commit is the last one working) but this will be referenced from #672 anyway. I have little time right now but hopefully while we do nothing, things will happen in Rexgen so we can read a version string that allows us to take proper measures.
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#340
No description provided.