Open 4n70w4 opened 3 years ago
Hi! I get code from https://github.com/elazarl/goproxy/blob/0581fc3aee2d07555835bed1a876aca196a4a511/examples/cascadeproxy/main.go
and connect to wss://webhook.site/.... or ws://webhook.site/....
wss://webhook.site/....
ws://webhook.site/....
all ok - connected via end proxy.
But if add Mitm handler to middleProxy
middleProxy
middleProxy.OnRequest(goproxy.ReqHostMatches(regexp.MustCompile("^.*$"))).HandleConnect(goproxy.AlwaysMitm)
not ok - connected via server IP.
I believe this is a security issue and should not be enabled by default.
May be related: https://github.com/elazarl/goproxy/issues/125
Hi! I get code from https://github.com/elazarl/goproxy/blob/0581fc3aee2d07555835bed1a876aca196a4a511/examples/cascadeproxy/main.go
and connect to
wss://webhook.site/....
orws://webhook.site/....
all ok - connected via end proxy.
But if add Mitm handler to
middleProxy
not ok - connected via server IP.
I believe this is a security issue and should not be enabled by default.