Skip to content

Katana

11 commands

A fast web crawler from ProjectDiscovery with standard and headless modes and JavaScript parsing, built to feed URLs into the rest of a testing pipeline.

  • crawling
  • web
  • recon
  • ProjectDiscovery

Install Katana

brew install katana

Crawling5

katana -u <url>

Crawls a site and prints the URLs it finds.

Link
katana -u <url> -d <depth>

Sets how deep the crawl goes.

Link
katana -list <file>

Crawls several starting URLs.

Link
katana -u <url> -jc

Also parses JavaScript files for endpoints.

Link
katana -u <url> -kf <filter>

Seeds the crawl from known files like robots.txt and sitemap.xml.

Link

Headless2

katana -u <url> -headless

Uses a headless browser to capture URLs built by JavaScript.

Link
katana -u <url> -headless -no-sandbox

Headless mode without the Chromium sandbox, needed in some containers.

Link

Filtering & output4

katana -u <url> -f <field>

Shows only URLs that carry query parameters — good fuzzing candidates.

Link
katana -u <url> -em <ext>

Matches only certain extensions; -ef excludes them.

Link
katana -u <url> -o <file>

Writes results to a file.

Link
katana -u <url> -silent | httpx -silent -mc 200

Crawls, then keeps only live URLs returning 200.

Link