fix typos

This commit is contained in:
TheSecEng 2021-08-04 10:28:56 -07:00
parent 70c0c57507
commit 68ab370c32
No known key found for this signature in database
GPG Key ID: 4D98046FE19FF417
2 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ func New(options *types.Options) (*Runner, error) {
runner.inputCount = 0 runner.inputCount = 0
dupeCount := 0 dupeCount := 0
// Handle single target // Handle multiple target
if len(options.Targets) != 0 { if len(options.Targets) != 0 {
for _, target := range options.Targets { for _, target := range options.Targets {
url := strings.TrimSpace(target) url := strings.TrimSpace(target)
@ -176,7 +176,7 @@ func New(options *types.Options) (*Runner, error) {
} }
} }
// Handle taget file // Handle target file
if options.TargetsFilePath != "" { if options.TargetsFilePath != "" {
input, inputErr := os.Open(options.TargetsFilePath) input, inputErr := os.Open(options.TargetsFilePath)
if inputErr != nil { if inputErr != nil {

View File

@ -34,7 +34,7 @@ type Options struct {
InteractshURL string InteractshURL string
// Target URLs/Domains to scan using a template // Target URLs/Domains to scan using a template
Targets goflags.StringSlice Targets goflags.StringSlice
// Targets specifies the targets to scan using templates. // TargetsFilePath specifies the targets from a file to scan using templates.
TargetsFilePath string TargetsFilePath string
// Output is the file to write found results to. // Output is the file to write found results to.
Output string Output string