← 返回命令列表

Linux command

katana 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Crawl a URL

katana -u [https://example.com]

Crawl with headless browser

katana -u [https://example.com] -headless

Crawl multiple URLs from file

katana -list [urls.txt]

Set crawl depth

katana -u [https://example.com] -depth [3]

Output to file

katana -u [https://example.com] -o [output.txt]

Enable JavaScript parsing

katana -u [https://example.com] -js-crawl

说明

katana is a next-generation web crawling and spidering framework by ProjectDiscovery. It supports both standard and headless browser crawling modes, making it effective for JavaScript-heavy applications. Designed for security research and reconnaissance.

参数

-u _url_
Target URL to crawl.
-list _file_
File containing URLs to crawl.
-headless
Use headless browser for crawling.
-depth _int_
Maximum crawl depth.
-js-crawl
Enable JavaScript file crawling.
-o _file_
Output file for results.
-json
Output in JSON format.
-silent
Silent mode, minimal output.

FAQ

What is the katana command used for?

katana is a next-generation web crawling and spidering framework by ProjectDiscovery. It supports both standard and headless browser crawling modes, making it effective for JavaScript-heavy applications. Designed for security research and reconnaissance.

How do I run a basic katana example?

Run `katana -u [https://example.com]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -u _url_ do in katana?

Target URL to crawl.