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

[Documentation Request]: Set GREASE Cipher by CFFI #118

Closed
fakeastap opened this issue Jun 11, 2024 · 1 comment
Closed

[Documentation Request]: Set GREASE Cipher by CFFI #118

fakeastap opened this issue Jun 11, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@fakeastap
Copy link

Describe the feature / enhancement and how it would improve things

Hello. Is there any possibility to set GREASE Cipher using your library via CFFI from Python?

I see that this is very easy to do in Go, but can I implement it in Python?

I will attach a screenshot for clarity. I was able to fake Client Hello completely, except for this cipher.

And in general, does the absence of this cipher affect my trust? After all, ja3 hash is identical anyway. Thanks in advance.
image
image

Describe how your proposal will work, with code and/or pseudo-code

None

@fakeastap fakeastap added the enhancement New feature or request label Jun 11, 2024
@bogdanfinn
Copy link
Owner

bogdanfinn commented Jul 12, 2024

@fakeastap just add 2570 to the ja3_string at the exact place where you want to GREASE Cipher to appear. So in your case directly at the beginning 771,2570-4865-4866-4867-....

2570 is the magic placeholder number for GREASE. I think i just mist to document it in the official docs.

@bogdanfinn bogdanfinn added the documentation Improvements or additions to documentation label Jul 12, 2024
@bogdanfinn bogdanfinn changed the title [Feature Request]: Set GREASE Cipher by CFFI [Documentation Request]: Set GREASE Cipher by CFFI Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants