← 返回命令列表

Linux command

hakrawler 命令

网络

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Crawl single URL

echo "[https://example.com]" | hakrawler

Crawl with depth

echo "[https://example.com]" | hakrawler -d [3]

Include subdomains in scope

echo "[https://example.com]" | hakrawler -s subs

Use plain output

echo "[https://example.com]" | hakrawler -plain

Crawl with custom timeout and disable redirects

echo "[https://example.com]" | hakrawler -t [15] -dr

说明

hakrawler is a fast web crawler for gathering URLs and JavaScript file references. It's designed for reconnaissance in web application security testing. The tool reads URLs from stdin and outputs discovered links, making it easy to chain with other tools in security testing pipelines.

参数

-d _depth_
Crawl depth (default 1).
-s _scope_
Scope of the crawl: strict (same domain only), subs (include subdomains), or fuzzy (everything). Default is strict.
-plain
Plain output mode, only prints URLs.
-t _seconds_
Request timeout in seconds (default 10).
-w _workers_
Number of concurrent workers (default 8).
-insecure
Skip TLS certificate verification.
-dr
Disable following redirects.
-h
Show help message.

FAQ

What is the hakrawler command used for?

hakrawler is a fast web crawler for gathering URLs and JavaScript file references. It's designed for reconnaissance in web application security testing. The tool reads URLs from stdin and outputs discovered links, making it easy to chain with other tools in security testing pipelines.

How do I run a basic hakrawler example?

Run `echo "[https://example.com]" | hakrawler` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -d _depth_ do in hakrawler?

Crawl depth (default 1).