diff --git a/pkg/protocols/utils/variables.go b/pkg/protocols/utils/variables.go index 90c786923b..5e5287420d 100644 --- a/pkg/protocols/utils/variables.go +++ b/pkg/protocols/utils/variables.go @@ -56,7 +56,7 @@ const ( Sd ) -// GenerateVariables will create default variables with context args +// GenerateVariablesWithContextArgs will create default variables with context args func GenerateVariablesWithContextArgs(input *contextargs.Context, trailingSlash bool) map[string]interface{} { parsed, err := urlutil.Parse(input.MetaInput.Input) if err != nil { diff --git a/pkg/testutils/integration.go b/pkg/testutils/integration.go index 49eda29626..d423be462b 100644 --- a/pkg/testutils/integration.go +++ b/pkg/testutils/integration.go @@ -94,7 +94,7 @@ func RunNucleiBareArgsAndGetResults(debug bool, env []string, extra ...string) ( return parts, nil } -// RunNucleiArgsAndGetResults returns result,and runtime errors +// RunNucleiWithArgsAndGetResults returns result,and runtime errors func RunNucleiWithArgsAndGetResults(debug bool, args ...string) ([]string, error) { cmd := exec.Command("./nuclei", args...) cmd.Env = append(cmd.Env, ExtraEnvVars...) diff --git a/pkg/utils/http_probe.go b/pkg/utils/http_probe.go index 9a0877f187..9e3046fef9 100644 --- a/pkg/utils/http_probe.go +++ b/pkg/utils/http_probe.go @@ -13,7 +13,7 @@ var ( HttpSchemes = []string{"https", "http"} ) -// probeURL probes the scheme for a URL. first HTTPS is tried +// ProbeURL probes the scheme for a URL. first HTTPS is tried // and if any errors occur http is tried. If none succeeds, probing // is abandoned for such URLs. func ProbeURL(input string, httpxclient *httpx.HTTPX) string {