package nuclei
import (
"context"
"github.com/projectdiscovery/nuclei/v3/pkg/catalog/config"
uncoverNuclei "github.com/projectdiscovery/nuclei/v3/pkg/protocols/common/uncover"
"github.com/projectdiscovery/nuclei/v3/pkg/templates"
"github.com/projectdiscovery/uncover"
)
func GetTargetsFromUncover(ctx context.Context, outputFormat string, opts *uncover.Options) (chan string, error) {
return uncoverNuclei.GetTargetsFromUncover(ctx, outputFormat, opts)
}
func GetTargetsFromTemplateMetadata(ctx context.Context, templates []*templates.Template, outputFormat string, opts *uncover.Options) chan string {
return uncoverNuclei.GetUncoverTargetsFromMetadata(ctx, templates, outputFormat, opts)
}
var DefaultConfig *config.Config
func init() {
DefaultConfig = config.DefaultConfig
}