Add targets number in output banner (#2798)

* Add targets number in output banner (#2797)

* Add targets number in output banner (#2797)
dev
vrenzolaverace 2022-11-12 13:35:49 +01:00 committed by GitHub
parent 2066135f17
commit 2403c50c36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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 {