├── tls.js ├── LICENSE └── README.md / tls.js: -------------------------------------------------------------------------------- 1 | const tls = require("tls"); 2 | tls.DEFAULT_MAX_VERSION = "TLSv1.3"; 3 | const https = require("https"); 4 | const ciphers = tls.DEFAULT_CIPHERS.split(":"); 5 | const chromeCiphers = [ 6 | ciphers[0], 7 | ciphers[2], 8 | ciphers[1], 9 | "TLS_AES_128_CCM_8_SHA256", 10 | "TLS_AES_128_CCM_SHA256", 11 | ...ciphers.slice(3), 12 | ].join(":"); 13 | 14 | const options = { 15 | hostname: "ja3er.com", 16 | path: "/json", 17 | ciphers: chromeCiphers, 18 | headers: { 19 | accept: 20 | "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 21 | "accept-language": "ti,en-US;q=0.9,en;q=0.8", 22 | "cache-control": "max-age=0", 23 | "sec-ch-ua": '" Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97"', 24 | "sec-ch-ua-mobile": "?0", 25 | "sec-ch-ua-platform": '"macOS"', 26 | "sec-fetch-dest": "document", 27 | "sec-fetch-mode": "navigate", 28 | "sec-fetch-site": "none", 29 | "sec-fetch-user": "?1", 30 | "upgrade-insecure-requests": "1", 31 | "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36", 32 | }, 33 | }; 34 | 35 | https.get(options, (response) => { 36 | var body = ""; 37 | response.on("data", function (chunk) { 38 | body += chunk; 39 | }); 40 | 41 | response.on("end", function () { 42 | console.log(body); 43 | }); 44 | }); 45 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Max Montes 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Node-TLS-Solution 2 | Basic Node TLS solution that was tested using Node 14.17.0 3 | 4 | 5 | JA3 hash that was duplicated: 6 | 7 | 8 | ![Screen Shot 2022-01-19 at 11 02 14 PM](https://user-images.githubusercontent.com/65430229/150276706-bd975ab6-2ed8-46b4-aa5f-e6dda4f31b76.png) 9 | --------------------------------------------------------------------------------