From 2403c50c36e532b8c70dde1cba521b39b9b8a8be Mon Sep 17 00:00:00 2001 From: vrenzolaverace Date: Sat, 12 Nov 2022 13:35:49 +0100 Subject: [PATCH] Add targets number in output banner (#2798) * Add targets number in output banner (#2797) * Add targets number in output banner (#2797) --- v2/internal/runner/runner.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/v2/internal/runner/runner.go b/v2/internal/runner/runner.go index 13f585d4..6fca147d 100644 --- a/v2/internal/runner/runner.go +++ b/v2/internal/runner/runner.go @@ -606,7 +606,10 @@ func (r *Runner) displayExecutionInfo(store *loader.Store) { if len(store.Workflows()) > 0 { gologger.Info().Msgf("Workflows loaded for scan: %d", len(store.Workflows())) } + + gologger.Info().Msgf("Targets loaded for scan: %d", r.hmapInputProvider.Count()) } + func (r *Runner) readNewTemplatesWithVersionFile(version string) ([]string, error) { resp, err := http.DefaultClient.Get(fmt.Sprintf("https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/%s/.new-additions", version)) if err != nil {