← 返回命令列表

Linux command

havn 命令

文本

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

常用示例

Scan default ports

havn [host]

Scan a specific port range

havn -p [1-1024] [host]

Scan specific ports

havn -p [80,443,8080] [host]

Scan with increased retry count

havn -r [3] [host]

Scan with custom timeout

havn -t [2000] [host]

Scan all ports

havn -p [1-65535] [host]

说明

havn is a lightweight, self-contained port scanning application written in Rust. It uses asynchronous Tokio multithreading to deliver fast and reliable results with a binary size under 1MB. It supports both IPv4 and IPv6 scanning and runs on Linux (including ARM), macOS, and Windows. havn comes with sensible defaults for quick scanning while allowing customization of port ranges, timeouts, and retry counts for more thorough scans.

参数

-p _PORTS_
Port or port range to scan (e.g. 80, 1-1024, 80,443,8080)
-r _RETRIES_
Number of retries for each port
-t _TIMEOUT_
Timeout in milliseconds per port
-h, --help
Print help
-V, --version
Print version

FAQ

What is the havn command used for?

havn is a lightweight, self-contained port scanning application written in Rust. It uses asynchronous Tokio multithreading to deliver fast and reliable results with a binary size under 1MB. It supports both IPv4 and IPv6 scanning and runs on Linux (including ARM), macOS, and Windows. havn comes with sensible defaults for quick scanning while allowing customization of port ranges, timeouts, and retry counts for more thorough scans.

How do I run a basic havn example?

Run `havn [host]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p _PORTS_ do in havn?

Port or port range to scan (e.g. 80, 1-1024, 80,443,8080)