Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown chunks auto-identification (padding) #697

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

qkaiser
Copy link
Contributor

@qkaiser qkaiser commented Jan 2, 2024

Detects whether unknown chunks are made of single byte padding.

@qkaiser qkaiser self-assigned this Jan 2, 2024
@qkaiser qkaiser marked this pull request as draft January 2, 2024 06:56
@qkaiser qkaiser marked this pull request as ready for review January 2, 2024 17:42
Copy link
Contributor

@e3krisztian e3krisztian left a comment

Choose a reason for hiding this comment

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

I like this improvement! :)

unblob/processing.py Outdated Show resolved Hide resolved
@qkaiser qkaiser force-pushed the padding-auto-id branch 2 times, most recently from faf2218 to a3f679b Compare January 3, 2024 07:50
@qkaiser
Copy link
Contributor Author

qkaiser commented Jan 3, 2024

@e3krisztian applied your recommendation, fixed the commit message, and rebased

unblob/models.py Outdated Show resolved Hide resolved
unblob/models.py Outdated Show resolved Hide resolved
Integrate pattern recognition for unknown chunks in order to help
identifying parts. Here we simply detect padding, but this could be
extended in the future to detect re-occuring patterns, encrypted
content, or even fingerprints.

Co-authored-by: Krisztián Fekete <[email protected]>
@qkaiser qkaiser merged commit a3d406f into main Jan 3, 2024
17 checks passed
@qkaiser qkaiser deleted the padding-auto-id branch January 3, 2024 16:24
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