Skip to content

leeyazhou/bctls-jdk18on-ja3

Repository files navigation

bctls-jdk18on-ja3

bctls-jdk18on-ja3

Getting Started

Installing

<dependency>
  <groupId>com.github.leeyazhou</groupId>
  <artifactId>bctls-jdk18on-ja3-shade</artifactId>
  <version>1.78.1.0</version>
</dependency>

Example

注意包名是 com.github.leeyazhou.*.

import java.io.IOException;
import ja3.okhttp3.OkHttpClient;
import ja3.okhttp3.Request;
import ja3.okhttp3.Response;

public class TestOkhttp {

	public static void main(String[] args) throws IOException {
		String url = "https://www.baidu.com";
		OkHttpClient client = new OkHttpClient.Builder().build();
		Request.Builder request = new Request.Builder().url(url);
		try (Response response = client.newCall(request.build()).execute()) {
			System.out.println(response.body().string());
		}
	}
}

impersonator is a fork of BouncyCastle-bctls and okhttp that is designed to impersonate TLS fingerprints.

impersonator can impersonate browsers' TLS/JA3 and HTTP/2 fingerprints. If you are blocked by some website for no obvious reason, you can give impersonator a try.

Features

  • Supports TLS/JA3/JA4 fingerprints impersonation.
  • Supports HTTP/2 fingerprints impersonation.

Star History

Star History Chart

About

bctls-jdk18on-ja3

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published