Skip to content

Commit

Permalink
Merge pull request #5886 from lvyaoting/dev
Browse files Browse the repository at this point in the history
chore: fix some function name in comment
  • Loading branch information
dogancanbakir authored Dec 5, 2024
2 parents 2549592 + a6b5b1d commit 49dc2a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/protocols/utils/variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/testutils/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/http_probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 49dc2a4

Please sign in to comment.