Skip to content

Commit

Permalink
increasing default depth to handle 1 level redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Feb 26, 2023
1 parent c1d367b commit 7faaf14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/katana/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pipelines offering both headless and non-headless crawling.`)
)

flagSet.CreateGroup("config", "Configuration",
flagSet.IntVarP(&options.MaxDepth, "depth", "d", 2, "maximum depth to crawl"),
flagSet.IntVarP(&options.MaxDepth, "depth", "d", 3, "maximum depth to crawl"),
flagSet.BoolVarP(&options.ScrapeJSResponses, "js-crawl", "jc", false, "enable endpoint parsing / crawling in javascript file"),
flagSet.IntVarP(&options.CrawlDuration, "crawl-duration", "ct", 0, "maximum duration to crawl the target for"),
flagSet.StringVarP(&options.KnownFiles, "known-files", "kf", "", "enable crawling of known files (all,robotstxt,sitemapxml)"),
Expand Down

0 comments on commit 7faaf14

Please sign in to comment.