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

Truncate lang component in JA4H fingerprint #202

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

vlvkobal
Copy link
Collaborator

Fixes #121

This PR fixes the JA4H fingerprinting in the Python implementation by truncating the lang component (derived from the Accept-Language header) to exactly 4 characters. This prevents incorrect fingerprints when the header is malformed or contains unexpected formatting.

@igr001-galactica igr001-galactica merged commit 193b8e9 into FoxIO-LLC:main Feb 10, 2025
4 checks passed
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.

Log4shell doesn't truncate w/ Accept-Language header in JA4h.py
2 participants