mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 04:45:27 +00:00
fix typos
This commit is contained in:
parent
70c0c57507
commit
68ab370c32
@ -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 {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user