command
module
Version:
v1.2.2
Opens a new window with list of versions in this module.
Published: Oct 16, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
ยถ
๐ 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 .
[!TIP]
Configure the API server host and port through .env file.
๐ Documentation
Endpoint: /tls/forward
Method: POST
| Header |
Description |
x-tls-url |
๐ Request URL |
x-tls-method |
๐ฎ Request method |
x-tls-proxy |
๐ Proxy settings |
x-tls-profile |
๐ค TLS client profile |
x-tls-client-timeout |
โฑ๏ธ HTTP client timeout |
x-tls-follow-redirects |
๐ Follow redirects |
x-tls-force-http1 |
๐ Force HTTP1 |
x-tls-insecure-skip-verify |
๐ซ Skip SSL verification |
x-tls-with-random-extension-order |
๐ฒ Randomize extensions order |
x-tls-header-order |
๐ Header order |
x-tls-pseudo-header-order |
๐ Pseudo header order |
[!NOTE]
If the request requires a body, you can simply enter it as the request body, not in header.
x-tls-url
- ๐ Configures the request URL
- Required:
true
x-tls-method
- ๐ ๏ธ Configures the request method
- Required:
true
x-tls-proxy
- ๐ Configures the proxy for the request
- Required:
false
- Formats:
ip:port:user:pass
ip:port
x-tls-profile
- ๐ฅ Configures the TLS client profile
- Required:
true
- Type:
string
- Available profiles: See here
x-tls-client-timeout
- โณ Configures the HTTP client timeout
- Required:
true
- Default:
30
x-tls-follow-redirects
- ๐ Configures if the request should follow redirects
- Required:
true
- Default:
true
x-tls-force-http1
- ๐ Configures if the request should force HTTP1 use
- Required:
true
- Default:
false
x-tls-insecure-skip-verify
- ๐ซ Configures if the client should skip SSL certificate verification
- Required:
true
- Default:
false
x-tls-with-random-extension-order
- ๐ Configures if the client should randomize extensions order
- Required:
true
- Default:
true
- ๐ Configures the header order of the request
- Required:
true
- Format: String with headers separated by commas (
,)
- ๐ Configures the pseudo header order of the request
- Required:
true
- Format: String with headers separated by commas (
,)
๐ Credits
Special thanks to bogdanfinn for creating the awesome tls-client library.
Documentation
ยถ
There is no documentation for this package.
Source Files
ยถ
Directories
ยถ
internal
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.