diff --git a/v2/internal/runner/runner.go b/v2/internal/runner/runner.go index 48e2336e3..08f0903cc 100644 --- a/v2/internal/runner/runner.go +++ b/v2/internal/runner/runner.go @@ -137,7 +137,7 @@ func New(options *types.Options) (*Runner, error) { runner.inputCount = 0 dupeCount := 0 - // Handle single target + // Handle multiple target if len(options.Targets) != 0 { for _, target := range options.Targets { url := strings.TrimSpace(target) @@ -176,7 +176,7 @@ func New(options *types.Options) (*Runner, error) { } } - // Handle taget file + // Handle target file if options.TargetsFilePath != "" { input, inputErr := os.Open(options.TargetsFilePath) if inputErr != nil { diff --git a/v2/pkg/types/types.go b/v2/pkg/types/types.go index 73cb4c915..ea4eee672 100644 --- a/v2/pkg/types/types.go +++ b/v2/pkg/types/types.go @@ -34,7 +34,7 @@ type Options struct { InteractshURL string // Target URLs/Domains to scan using a template Targets goflags.StringSlice - // Targets specifies the targets to scan using templates. + // TargetsFilePath specifies the targets from a file to scan using templates. TargetsFilePath string // Output is the file to write found results to. Output string