Skip to content

libreoffice2john.py: error in encrypted 24.2+ files#5655

Merged
solardiz merged 1 commit intobleeding-jumbofrom
unknown repository
Feb 1, 2025
Merged

libreoffice2john.py: error in encrypted 24.2+ files#5655
solardiz merged 1 commit intobleeding-jumbofrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jan 31, 2025

Warn that LibreOffice 24.2+ encrypted documents are not supported.

See: #5652.

Comment on lines +53 to +54
for i in range(0, len(elements)):
element = elements[i]
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor stylistic comment: for loops in Python are for-each loops. So a bit simpler and more idiomatic without the need for indices would be the following.

Suggested change
for i in range(0, len(elements)):
element = elements[i]
for element in elements:

Copy link
Member

Choose a reason for hiding this comment

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

Thank you for helping review this PR @exploide!

Warn that LibreOffice 24.2+ encrypted documents are not supported.

See: #5652.

Signed-off-by: Claudio André <dev@claudioandre.slmail.me>
@solardiz solardiz merged commit 3022b1f into openwall:bleeding-jumbo Feb 1, 2025
35 checks passed
@ghost ghost deleted the libreoffice branch March 28, 2025 19:58
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