add TLS fingerprint (ja3) spoofer request modifier
This commit is contained in:
@@ -31,17 +31,16 @@ func NewProxySiteHandler(opts *ProxyOptions) fiber.Handler {
|
||||
SetFiberCtx(c).
|
||||
SetDebugLogging(opts.Verbose).
|
||||
SetRequestModifications(
|
||||
rx.MasqueradeAsGoogleBot(),
|
||||
rx.MasqueradeAsFacebookBot(),
|
||||
rx.DeleteOutgoingCookies(),
|
||||
// rx.RequestArchiveIs(),
|
||||
rx.MasqueradeAsGoogleBot(),
|
||||
// rx.RequestArchiveIs(),
|
||||
).
|
||||
AddResponseModifications(
|
||||
tx.BypassCORS(),
|
||||
tx.BypassContentSecurityPolicy(),
|
||||
tx.DeleteIncomingCookies(),
|
||||
tx.RewriteHTMLResourceURLs(),
|
||||
tx.PatchDynamicResourceURLs(),
|
||||
//tx.BypassContentSecurityPolicy(),
|
||||
//tx.DeleteIncomingCookies(),
|
||||
//tx.RewriteHTMLResourceURLs(),
|
||||
//tx.PatchDynamicResourceURLs(),
|
||||
).
|
||||
Execute()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user