
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Node-TLS-Client is an advanced HTTP library based on requests and tls-client.
pip install tls-client
The syntax is inspired by requests, so its very similar and there are only very few things that are different.
Example 1 - Preset:
const TlsClient = require('tls-client');
// You can also use the following as `client_identifier`:
// Chrome --> chrome_103, chrome_104, chrome_105, chrome_106, chrome_107, chrome_108
// Firefox --> firefox_102, firefox_104
// Opera --> opera_89, opera_90
// Safari --> safari_15_3, safari_15_6_1, safari_16_0
// iOS --> safari_ios_15_5, safari_ios_15_6, safari_ios_16_0
// iPadOS --> safari_ios_15_6
const res = TlsClient.get(
'https://www.example.com/',
{
headers: {
"key1": "value1",
},
proxy="http://user:password@host:port"
}
);
// or
const session = new TlsClient.Session({
clientIdentifier: "chrome_105",
});
const res = session.get(
'https://www.example.com/',
{
headers: {
"key1": "value1",
},
proxy="http://user:password@host:port"
}
);
Example 2 - Custom:
const TlsClient = require('tls-client');
const session = new TlsClient.Session({
ja3String: "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,29-23-24,0",
h2Settings: {
"HEADER_TABLE_SIZE": 65536,
"MAX_CONCURRENT_STREAMS": 1000,
"INITIAL_WINDOW_SIZE": 6291456,
"MAX_HEADER_LIST_SIZE": 262144
},
h2SettingsOrder: [
"HEADER_TABLE_SIZE",
"MAX_CONCURRENT_STREAMS",
"INITIAL_WINDOW_SIZE",
"MAX_HEADER_LIST_SIZE"
],
supportedSignatureAlgorithms: [
"ECDSAWithP256AndSHA256",
"PSSWithSHA256",
"PKCS1WithSHA256",
"ECDSAWithP384AndSHA384",
"PSSWithSHA384",
"PKCS1WithSHA384",
"PSSWithSHA512",
"PKCS1WithSHA512",
],
supportedVersions: ["GREASE", "1.3", "1.2"],
keyShareCurves: ["GREASE", "X25519"],
certCompressionAlgo: "brotli",
pseudoHeaderOrder: [
":method",
":authority",
":scheme",
":path"
],
connectionFlow: 15663105,
headerOrder: [
"accept",
"user-agent",
"accept-encoding",
"accept-language"
]
});
const res = session.post(
"https://www.example.com/",
{
headers: {
"key1": "value1",
},
json: {
"key1": "key2"
}
}
)
FAQs
Node-TLS-Client is an advanced HTTP library based on requests and tls-client.
The npm package tls-client receives a total of 47 weekly downloads. As such, tls-client popularity was classified as not popular.
We found that tls-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.