From 1da6a138b28591f08c0513b7939d7f1eb9ef9f65 Mon Sep 17 00:00:00 2001 From: Dogan Can Bakir <65292895+dogancanbakir@users.noreply.github.com> Date: Wed, 7 Jun 2023 16:16:01 +0300 Subject: [PATCH] enable no-httpx when passive scan is launched (#3789) --- v2/internal/runner/options.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2/internal/runner/options.go b/v2/internal/runner/options.go index 53b29e4d8d..a782511a1d 100644 --- a/v2/internal/runner/options.go +++ b/v2/internal/runner/options.go @@ -90,6 +90,10 @@ func ParseOptions(options *types.Options) { options.UncoverEngine = append(options.UncoverEngine, "shodan") } } + + if options.OfflineHTTP { + options.DisableHTTPProbe = true + } } // validateOptions validates the configuration options passed