From 68ab370c3273584868c5fb57a24b23e88ab8f028 Mon Sep 17 00:00:00 2001 From: TheSecEng Date: Wed, 4 Aug 2021 10:28:56 -0700 Subject: [PATCH] fix typos --- v2/internal/runner/runner.go | 4 ++-- v2/pkg/types/types.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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