my old project
Find a file
Lain Iwakura df4e789c3e
Some checks failed
release.yml / chore(cargo): update packages to latest version (push) Failing after 0s
chore(cargo): update packages to latest version
2026-01-17 10:43:24 +03:00
.github/workflows Merge pull request #1 from cryptexctl/alert-autofix-2 2025-05-13 02:07:13 +03:00
docsman --allow-empty-message 2026-01-15 12:44:17 +03:00
src feat(cidr): add CIDR support 2026-01-17 10:37:58 +03:00
.gitignore someupd 2025-03-28 22:49:13 +03:00
Cargo.lock chore(cargo): update packages to latest version 2026-01-17 10:43:24 +03:00
Cargo.toml chore(cargo): update packages to latest version 2026-01-17 10:43:24 +03:00
LICENSE Update LICENSE 2025-06-08 09:13:54 +03:00
README.md Update README.md 2025-06-08 09:14:09 +03:00

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

0BSD