rawandahmad698 / noble-tls

TLS-Spoofing HTTP library, based on requests. Automatically updates JA3 fingerprints.
MIT License
161 stars 14 forks source link

Use Ubuntu TLS client on Debian #3

Closed glowww closed 7 months ago

glowww commented 7 months ago

To avoid the following error when using the library on a Debian machine, it can use the Ubuntu build.

>> Dependencies folder is empty. Downloading the latest TLS release...
>> Failed to load the TLS Client asset: Unable to find asset tls-client-linux-amd64-v1.7.2.so for version 1.7.2.
Traceback (most recent call last):
  File "/src/main.py", line 7, in <module>
    import noble_tls
  File "/usr/local/lib/python3.10/site-packages/noble_tls/__init__.py", line 13, in <module>
    from .sessions import Session
  File "/usr/local/lib/python3.10/site-packages/noble_tls/sessions.py", line 9, in <module>
    from .c.cffi import request, free_memory
  File "/usr/local/lib/python3.10/site-packages/noble_tls/c/cffi.py", line 84, in <module>
    request = library.request
AttributeError: 'NoneType' object has no attribute 'request'
rawandahmad698 commented 7 months ago

Thank you!