Skip to content

The most useful port scanner from hosts, so on Rust!

License

Notifications You must be signed in to change notification settings

cryptexctl/rustcan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rustcan

A fast port scanner written in Rust, inspired by Nmap and Masscan.

Features

  • Fast asynchronous port scanning
  • DNS resolution support
  • CIDR notation support
  • Service detection for common protocols (HTTP, HTTPS, SSH, FTP, SMTP, DNS)
  • Progress bar with ETA
  • JSON output format
  • Configurable concurrency and timeout

Installation

cargo install --path .

Usage

Basic scan:

rustcan --target example.com --ports 1-1000

Scan with service detection:

rustcan --target example.com --ports 80-443 --service-detection

Scan subnet:

rustcan --target 192.168.1.1 --ports 1-65535 --service-detection --subnet

Options

  • --target: Target IP address, CIDR notation, or domain name
  • --ports: Port range (e.g. 1-1000)
  • --concurrency: Number of concurrent scans (default: 1000)
  • --service-detection: Enable service detection
  • --output-format: Output format (text or json, default: text)
  • --timeout: Timeout in milliseconds (default: 1000)

License

MIT