mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-23 12:46:42 +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
|
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 {
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user