RustScan

RustScan

RustScan 是一款现代快速端口扫描器,使用 Rust 编写,结合了速度和易用性。

基础使用

快速扫描

rustscan -a 192.168.1.1

指定端口范围

rustscan -a 192.168.1.1 -p 1-1000

扫描后自动 Nmap

rustscan -a 192.168.1.1 -- -sV -sC

批量扫描

rustscan -a 192.168.1.0/24

常用参数

参数 描述
-a 目标地址
-p 端口范围
-b 批处理大小
–timeout 超时时间
–ulimit 文件描述符限制

功能特性

  • 高速扫描 - Rust 编写的高性能
  • 自适应 - 自动调整扫描策略
  • Nmap 集成 - 扫描后自动调用 Nmap
  • 跨平台 - Windows、Linux、macOS

使用示例

# 基本扫描
rustscan -a 127.0.0.1

# 指定端口
rustscan -a target.com -p 80,443,8080

# 扫描后执行 Nmap
rustscan -a target.com -- -A -sV

# 调整超时
rustscan -a target.com --timeout 1000

参考资源