TlsApi
A wrapper for tls-client library.
Description
An API that forwards your http requests using a custom TLS fingerprint.
Installation
git clone https://github.com/brianxor/tls-api.git
cd tls-api
go run .
[!NOTE]
Configure the API server host and port through .env file.
Documentation
Endpoint: /tls/handle
Method: POST
Headers:
x-tls-url
x-tls-method
x-tls-proxy
x-tls-profile
x-tls-client-timeout
x-tls-follow-redirects
x-tls-with-random-extension-order
x-tls-header-order
x-tls-pseudo-header-order
x-tls-url
Required: true
x-tls-method
Required: true
x-tls-proxy
Required: false
You can enter the proxy in the following formats:
ip:port:user:pass
ip:port
Proxy will be formatted automatically.
x-tls-profile
Required: true
Type: string
See profiles for a list of available TLS profiles.
x-tls-client-timeout
Request Timeout
- Required:
true
- Default:
30
x-tls-follow-redirects
Request Follow Redirects
- Required:
true
- Default:
true
x-tls-with-random-extension-order
Random TLS Extension Order
- Required:
true
- Default:
true
TLS Header Keys Order
They must be provided as a string, all separate by a comma (,).
TLS Pseudo Header Keys Order
They must be provided as a string, all separate by a comma (,).
Credits
Credits to bogdanfinn for making the awesome tls-client.