简体   繁体   English

在节点 websocket 中模拟浏览器 TLS 指纹

[英]Mimic browser TLS fingerprint in node websocket

How can I get a TLS/JA3 fingerprint, which mimics a major browser, in a websocket connection from node?如何在来自节点的 websocket 连接中获取模拟主流浏览器的 TLS/JA3 指纹? Can I achieve this by modifying node's TLS configuration, or do I need something more complex?我可以通过修改节点的 TLS 配置来实现这一点,还是需要更复杂的东西? I've already tried passing shuffled ciphers as one of the options, along with the headers, using node.JS's ws library, however this wasn't enough achieve the desired effect.我已经尝试使用 node.JS 的 ws 库将改组密码作为选项之一与标头一起传递,但这还不足以达到预期的效果。

Some libraries allow for single HTTP requests, eg this one written in the go language, but I need an open websocket connection.一些库允许单个 HTTP 请求,例如这个用 go 语言编写的,但我需要一个开放的 websocket 连接。

The JA3 fingerprint is based on ciphers and order and various TLS extensions and order. JA3 指纹基于密码和顺序以及各种 TLS 扩展和顺序。 While ciphers and order can be changed, features like the TLS extension order are not accessible from node - I don't think there is even a OpenSSL API for this (OpenSSL is the TLS library underlying node).虽然可以更改密码和顺序,但无法从节点访问诸如 TLS 扩展顺序之类的功能 - 我认为甚至没有 OpenSSL API (OpenSSL 是 TLS 库底层节点)。 This means there is no way to emulate a specific JA3 fingerprint from node.这意味着无法从节点模拟特定的 JA3 指纹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM