wallarm / gotestwaf

An open-source project in Golang to asess different API Security tools and WAF for detection logic and bypasses
https://lab.wallarm.com/test-your-waf-before-hackers/
MIT License
1.55k stars 212 forks source link

addHeader can't change Host header. #132

Closed d0znpp closed 2 years ago

d0znpp commented 2 years ago

https://github.com/wallarm/gotestwaf/blob/fc24909aa5d5f435d20ae2493ee6066f2ce040c0/internal/scanner/http_client.go#L62

We have an issue with changing Hostname

svkirillov commented 2 years ago

Hi! Could you please check if this fix solves the problem for your case?