diff --git a/cmd/httpx/httpx.go b/cmd/httpx/httpx.go index d9f74f5..bb56545 100644 --- a/cmd/httpx/httpx.go +++ b/cmd/httpx/httpx.go @@ -263,9 +263,9 @@ retry: if resp.StatusCode >= 0 { if port > 0 { - fullURL = fmt.Sprintf("%s://%s:%d", protocol, domain, port) + fullURL = fmt.Sprintf("%s://%s:%d%s", protocol, domain, port, scanopts.RequestURI) } else { - fullURL = fmt.Sprintf("%s://%s", protocol, domain) + fullURL = fmt.Sprintf("%s://%s%s", protocol, domain, scanopts.RequestURI) } }