Fast web crawler and spider for recon, with headless browsing and JavaScript parsing
open sourceMITfree
katana is ProjectDiscovery's MIT-licensed web crawling and spidering tool in Go, used for reconnaissance and endpoint discovery. It crawls in a fast standard mode or a headless browser mode, parses JavaScript for endpoints, fills forms automatically, keeps to a scope you set with preset fields or regexes, and classifies page and form types with a downloaded model. It reads targets from stdin, a URL or a list and writes plain text, files or JSON, so it fits in pipelines, such as hosts from ProjectDiscovery's httpx piped into it. It installs with go install or as a Docker image, and can be used as a Go library.
Ways to install
Package managers
Problems it solves
- find every endpoint and URL on a web app for a security test
- crawl a JavaScript-heavy site from the command line
- spider a list of hosts and output the URLs as JSON
Features
- standard and headless crawling modes
- JavaScript parsing for endpoints
- automatic form filling
- scope control with fields or regexes
- JSON output and stdin input for pipelines
- usable as a Go library
Alternatives
The same job
These do what katana does.
- Photon Fast web crawler for OSINT and reconnaissance that extracts URLs, endpoints, files, keys and subdomains from a site
