Giter Club home page Giter Club logo

mytls's Introduction

myTls

Mimic TLS/JA3 fingerprint inside Node with help from Go

Installation

$ npm install mytls

Usage

const initMyTls = require('mytls');

// Typescript: import initMyTls from 'mytls';

(async () => {
  const myTls = await initMyTls();

  const response = await myTls('https://ja3er.com/json', {
    body: '',
    headers: {
      'user-agent': 'customheaders',
    },
    ja3: '771,255-49195-49199-49196-49200-49171-49172-156-157-47-53,0-10-11-13,23-24,0',
    proxy: 'http://user@pass:ip:port'
  });
})();

// => {
// =>   status: 200,
// =>   body: '{"ja3_hash":"6fa3244afc6bb6f9fad207b6b52af26b", "ja3": "771,255-49195-49199-49196-49200-49171-49172-156-157-47-53,0-10-11-13,23-24,0", "User-Agent": "customheaders"}',
// =>   headers: {
// =>     'Access-Control-Allow-Origin': '*',
// =>     Connection: 'keep-alive',
// =>     'Content-Length': '285',
// =>     'Content-Type': 'application/json',
// =>     Date: 'Sat, 25 Jul 2020 20:43:43 GMT',
// =>     Server: 'nginx',
// =>     'Set-Cookie': [ 'visited=6fa3244agc6xx6f9fad007b6b52af26b' ]
// => }

Maintainer

ZedDev

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

JA3Transport & uTls used for the go service

mytls's People

Contributors

dzusooo avatar fqrious avatar incizzle avatar x04 avatar zedd3v avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.