简体   繁体   中英

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? Can I achieve this by modifying node's TLS configuration, or do I need something more complex? 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.

Some libraries allow for single HTTP requests, eg this one written in the go language, but I need an open websocket connection.

The JA3 fingerprint is based on ciphers and order and various TLS extensions and order. 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). This means there is no way to emulate a specific JA3 fingerprint from node.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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