From 7fb729898cb35a4df0caacd6234da16851bd5e3d Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:05:24 +0530 Subject: [PATCH] removed deprecated host --- cmd/nuclei/main.go | 2 +- pkg/catalog/loader/loader.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/nuclei/main.go b/cmd/nuclei/main.go index 6606792c87..362462a3c4 100644 --- a/cmd/nuclei/main.go +++ b/cmd/nuclei/main.go @@ -196,7 +196,7 @@ on extensive configurability, massive extensibility and ease of use.`) flagSet.BoolVarP(&options.NoStrictSyntax, "no-strict-syntax", "nss", false, "disable strict syntax check on templates"), flagSet.BoolVarP(&options.TemplateDisplay, "template-display", "td", false, "displays the templates content"), flagSet.BoolVar(&options.TemplateList, "tl", false, "list all available templates"), - flagSet.StringSliceVarConfigOnly(&options.RemoteTemplateDomainList, "remote-template-domain", []string{"templates.nuclei.sh"}, "allowed domain list to load remote templates from"), + flagSet.StringSliceVarConfigOnly(&options.RemoteTemplateDomainList, "remote-template-domain", []string{"cloud.projectdiscovery.io"}, "allowed domain list to load remote templates from"), flagSet.BoolVar(&options.SignTemplates, "sign", false, "signs the templates with the private key defined in NUCLEI_SIGNATURE_PRIVATE_KEY env variable"), flagSet.BoolVar(&options.EnableCodeTemplates, "code", false, "enable loading code protocol-based templates"), ) diff --git a/pkg/catalog/loader/loader.go b/pkg/catalog/loader/loader.go index 8b1b222ef7..ec9669fc8f 100644 --- a/pkg/catalog/loader/loader.go +++ b/pkg/catalog/loader/loader.go @@ -35,7 +35,7 @@ const ( ) var ( - TrustedTemplateDomains = []string{"templates.nuclei.sh", "cloud.projectdiscovery.io"} + TrustedTemplateDomains = []string{"cloud.projectdiscovery.io"} ) // Config contains the configuration options for the loader