go-resty / resty

Simple HTTP and REST client library for Go
MIT License
9.93k stars 698 forks source link

How to set tls fingerprint #807

Closed tocha688 closed 1 week ago

tocha688 commented 1 month ago

How to set the fingerprint of tls, like this library, set tls as the browser fingerprint. Many websites detect tls interception simulation requests https://github.com/bogdanfinn/tls-client

ahuigo commented 1 month ago

I've written some examples before in PR728

tocha688 commented 2 weeks ago

I mean setting TLS request fingerprint, ja3, ja4 verification, modifying some request features of tls, so as to fully simulate the browser request process

tttturtle-russ commented 1 week ago

There are implementations for this.

jeevatkm commented 1 week ago

@tttturtle-russ Thanks for adding a reference.

@tocha688 Please look at the example of Resty usage with spoofed-round-tripper https://github.com/juzeon/spoofed-round-tripper?tab=readme-ov-file#usage