Skip to content

Conversation

@magnumripper
Copy link
Member

Also add missing newlines to some python calls to sys.*.write.

Usage to stderr isn't always the norm but in this case we're normally running redirected to file and the usage blob may be caused by options/syntax problems.

Copy link
Member

@solardiz solardiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me, but seem incomplete. At least this is still missing the newlines:

fvde2john.py:    sys.stderr.write("cryptography is missing, run 'pip install --user cryptography' to install it!")
fvde2john.py:    sys.stderr.write("pytsk3 is missing, run 'pip install --user pytsk3' to install it!")
fvde2john.py:        sys.stderr.write("Error reading out of bounds of file, exiting.")
fvde2john.py:        sys.stderr.write(f"[!] Invalid sector size {sector_size} (not 512 or 4096 bytes). Exiting.")
fvde2john.py:            sys.stderr.write("[!] No CoreStorage volumes found, exiting.")

@magnumripper
Copy link
Member Author

Oh, I fixed those but dropped/postponed it because of #5895. I see now I even mentioned it in #5900 (comment).

I'll fix them and add here. I'll also retry some grep-fu.

@magnumripper magnumripper force-pushed the stderr branch 2 times, most recently from ca70be4 to f26248f Compare December 21, 2025 09:54
@magnumripper
Copy link
Member Author

Will add yet some to this, I found more.

@magnumripper magnumripper marked this pull request as draft December 24, 2025 02:19
@magnumripper
Copy link
Member Author

I'm still working on this one. It must be rebased onto #5931 once that one is merged.

@magnumripper magnumripper marked this pull request as ready for review December 29, 2025 01:33
@magnumripper
Copy link
Member Author

I'm still working on this one. It must be rebased onto #5931 once that one is merged.

Done now. Apparently we can merge this before or after #5931.

@magnumripper magnumripper merged commit 4a3a8a6 into openwall:bleeding-jumbo Jan 3, 2026
33 of 34 checks passed
@magnumripper magnumripper deleted the stderr branch January 3, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants