Skip to content

Commit

Permalink
fix path lowcase bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zan8in committed Jul 21, 2024
1 parent 301203f commit 4978260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func NewOptions() (*Options, error) {
flagSet.SetDescription(`afrog`)

flagSet.CreateGroup("target", "Target",
flagSet.StringSliceVarP(&options.Target, "target", "t", nil, "target URLs/hosts to scan (comma separated)", goflags.NormalizedStringSliceOptions),
flagSet.StringSliceVarP(&options.Target, "target", "t", nil, "target URLs/hosts to scan (comma separated)", goflags.StringSliceOptions),
flagSet.StringVarP(&options.TargetsFile, "target-file", "T", "", "list of target URLs/hosts to scan (one per line)"),
flagSet.StringVarP(&options.Cyberspace, "cyberspace", "cs", "", "cyberspace search, eg: -cs zoomeye"),
flagSet.StringVarP(&options.Query, "query", "q", "", "cyberspace search keywords, eg: -q app:'tomcat'"),
Expand All @@ -202,7 +202,7 @@ func NewOptions() (*Options, error) {
flagSet.StringSliceVarP(&options.AppendPoc, "append-poc", "ap", nil, "append PoC file or directory to scan (comma separated)", goflags.NormalizedOriginalStringSliceOptions),
flagSet.StringVarP(&options.PocDetail, "poc-detail", "pd", "", "show a afrog-pocs detail"),
flagSet.BoolVarP(&options.PocList, "poc-list", "pl", false, "show afrog-pocs list"),
flagSet.StringSliceVarP(&options.ExcludePocs, "exclude-pocs", "ep", nil, "pocs to exclude from the scan (comma-separated)", goflags.NormalizedStringSliceOptions),
flagSet.StringSliceVarP(&options.ExcludePocs, "exclude-pocs", "ep", nil, "pocs to exclude from the scan (comma-separated)", goflags.NormalizedOriginalStringSliceOptions),
flagSet.StringVarP(&options.ExcludePocsFile, "exclude-pocs-file", "epf", "", "list of pocs to exclude from scan (file)"),
)

Expand Down

0 comments on commit 4978260

Please sign in to comment.