[GH-ISSUE #895] Segfault in sha1crypt format #500

Closed
opened 2026-10-14 03:10:32 +07:00 by bsakaguchi · 1 comment
Owner

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

$ ./john fail_sha1crypt.pw 
Segmentation fault (core dumped)

Here's the input file converted to hex:

247368613124363430703024776e55523854315524617a6a436567704f494b30466a453231317a47576c646b70754d524c08a473686131243614303830247f6e55521854355524766431544651753074424d46677b666c4146414f677232437764595e4a247368613034363430303024776e45523855315524776d774e6851346c786f2f356b7379346965736b72494e37446a7254

BTW: I wonder why the hex file has 299 bytes while the original input file has 150 bytes.

Originally created by @frank-dittrich on GitHub (Dec 15, 2014). Original GitHub issue: https://github.com/openwall/john/issues/895 ``` $ ./john fail_sha1crypt.pw Segmentation fault (core dumped) ``` Here's the input file converted to hex: ``` 247368613124363430703024776e55523854315524617a6a436567704f494b30466a453231317a47576c646b70754d524c08a473686131243614303830247f6e55521854355524766431544651753074424d46677b666c4146414f677232437764595e4a247368613034363430303024776e45523855315524776d774e6851346c786f2f356b7379346965736b72494e37446a7254 ``` BTW: I wonder why the hex file has 299 bytes while the original input file has 150 bytes.
Author
Owner

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

The original file has 149 bytes plus a linefeed and the hex file has 298 plus a linefeed. That makes more sense!

<!-- gh-comment-id:67085541 --> @magnumripper commented on GitHub (Dec 15, 2014): The original file has 149 bytes plus a linefeed and the hex file has 298 plus a linefeed. That makes more sense!
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#500
No description provided.