Fix lint issue

dnsrepo-source
Defuse Venue 2021-08-11 21:34:20 +09:00
parent 5bc901c47d
commit f35adaf143
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ type Options struct {
ResolverList string // ResolverList is a text file containing list of resolvers to use for enumeration
ConfigFile string // ConfigFile contains the location of the config file
Proxy string // HTTP proxy
UnSafe bool // Send HTTP request without User-Agent header randomization
UnSafe bool // Send HTTP request without User-Agent header randomization
YAMLConfig ConfigFile // YAMLConfig contains the unmarshalled yaml config file
}
@ -78,7 +78,7 @@ func ParseOptions() *Options {
flag.BoolVar(&options.RemoveWildcard, "nW", false, "Remove Wildcard & Dead Subdomains from output")
flag.StringVar(&options.ConfigFile, "config", path.Join(config, "config.yaml"), "Configuration file for API Keys, etc")
flag.StringVar(&options.Proxy, "http-proxy", "", "HTTP proxy to use")
flag.BoolVar(&options.UnSafe, "unsafe", false,"Send HTTP request without User-Agent header randomization")
flag.BoolVar(&options.UnSafe, "unsafe", false, "Send HTTP request without User-Agent header randomization")
flag.BoolVar(&options.Version, "version", false, "Show version of subfinder")
flag.Parse()