nuclei
nuclei copied to clipboard
about http: multiple registrations for /metrics error
ne, err := nuclei.NewNucleiEngine( nuclei.WithTemplateFilters(nuclei.TemplateFilters{Tags: []string{"oast"}}), nuclei.EnableStatsWithOpts(nuclei.StatsOptions{MetricServerPort: 6064}), // optionally enable metrics server for better observability )
How to close the MetricServerPort here? It seems impossible to directly call certain switches from the code