sea-erkin
sea-erkin
Would it be enough to use the Go Proxy on the HTTP client's Transport struct? I was able to proxy traffic into Burp suite using this. ``` proxyUrl, err =...
@riramar https://github.com/OWASP/Amass/blob/master/amass/utils/network.go I'm not sure if that's everywhere that makes http requests however but it at least covers a majority of the sources and I just hardcoded my proxy url...
@emtunc Sure. If you look at https://github.com/OWASP/Amass/blob/master/amass/utils/network.go you can see a function GetWebPage(). When I tested I simply hardcoded my proxyUrl and it looked something similar to: ``` func GetWebPage(url...
@adamtimmins You could try setting the proxy in the init function. ``` func init() { proxyUrl, _ := url.Parse("http://localhost:8080") jar, _ := cookiejar.New(nil) defaultClient = &http.Client{ Timeout: 30 * time.Second,...
I was able to resolve my issues by running `go build -a main.go` although I'm not sure why. Any insight is appreciated.