replace cycletls with bogdanfinn/tls-client for better tls fingerprint spoofing reliability

This commit is contained in:
Kevin Pham
2023-11-28 12:33:53 -06:00
parent 9d31f7eb59
commit 31200cf9e2
10 changed files with 147 additions and 451 deletions

View File

@@ -35,7 +35,7 @@ func NewProxySiteHandler(opts *ProxyOptions) fiber.Handler {
SetFiberCtx(c).
SetDebugLogging(opts.Verbose).
SetRequestModifications(
rx.SpoofJA3fingerprint(ja3, botUA),
rx.SpoofJA3fingerprint(ja3, "Googlebot"),
//rx.MasqueradeAsFacebookBot(),
//rx.MasqueradeAsGoogleBot(),
//rx.DeleteOutgoingCookies(),
@@ -50,7 +50,6 @@ func NewProxySiteHandler(opts *ProxyOptions) fiber.Handler {
//rx.RequestArchiveIs(),
).
AddResponseModifications(
//tx.ForwardResponseHeaders(),
tx.BypassCORS(),
tx.BypassContentSecurityPolicy(),