From c42befea9310b5038dfeb9b9a856485f90ff67d1 Mon Sep 17 00:00:00 2001 From: Mzack9999 Date: Thu, 23 Jul 2020 21:40:46 +0200 Subject: [PATCH] adding uri path to output --- cmd/httpx/httpx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } }