-
Notifications
You must be signed in to change notification settings - Fork 149
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
The library doesn't actually change ja3. #133
Comments
same issue |
the "solution" is to put the argument |
This is not working also
сб, 11 янв. 2025 г., 5:29 AM Luna ***@***.***>:
… the "solution" is to put the argument random_tls_extension_order=True in
tls_client.Session, which randomizes that
only other solution would be to literally edit the dll that it uses which
is inside of the dependencies folder in the Lib/site-packages/tls_client/
python directory
—
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BN63PY32RSZA2BBRLHAKQBD2KB6Z5AVCNFSM6AAAAABUGH6ZWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBVGAYTKOJSGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
but if i set client_identifier to None i have this error
import tls_client ja3_list = ["771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,17513-35-11-23-65281-45-0-5-16-27-65037-51-10-18-43-13,4588-29-23-24,0",] for ja3_str in ja3_list:
|
For this issue: For this issue: Here is a link the Go library, it provides a working example with a custom client: https://github.com/bogdanfinn/tls-client/blob/master/cffi_dist/example_python/example_custom_client.py Below is some code I put together to demonstrate what seem to be issues in the Go library itself. Code``` # region config RELATIVE_PATH_TO_LIBRARY = ".venv/Lib/site-packages/tls_client/dependencies/tls-client-64.dll"CUSTOM_TLS_CLIENT = { URLS = [ endregionregion example logicdef main(): endregionregion load/setup libraryimport ctypes # noqa: E402 library = ctypes.cdll.LoadLibrary(RELATIVE_PATH_TO_LIBRARY) partial_request_payload = { endregionif name == "main":
|
Hello everyone, sorry for the bad English.
I use this library to substitute ja3, I use a special site to test it. Using wireshark I saved several different ja3 fingerprints sent through different windows applications. By sending requests using the ja3_string= parameter I send different ja3, but the site detects them as the same. Below is a code sample, when executed we will see that whatever ja3_string we send, they will still be the same.
Translated with DeepL.com (free version)
`
import tls_client
ja3_list = ["771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,0-23-65281-10-11-35-16-5-13-18-51-45-43-27-17513-21,29-23-24,0",
"771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,11-65281-18-27-5-13-51-65037-23-45-10-17513-35-0-43-16,4588-29-23-24,0",
"771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,5-43-18-13-51-17513-65281-35-0-65037-10-27-16-11-45-23,25497-29-23-24,0",
"771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,27-65281-43-17513-5-35-65037-51-18-45-11-13-0-10-16-23-41,25497-29-23-24,0",
"771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,45-5-18-51-43-65037-16-13-0-17513-23-11-27-35-10-65281-41,25497-29-23-24,0"]
for ja3_str in ja3_list:
session = tls_client.Session(
client_identifier="chrome_120",
ja3_string=ja3_str,
)
a = session.get('https://check.ja3.zone/')
ja3 = a.json()['fingerprint']
print(ja3)
`
The text was updated successfully, but these errors were encountered: