my old project
- Rust 100%
|
Some checks failed
release.yml / chore(cargo): update packages to latest version (push) Failing after 0s
|
||
|---|---|---|
| .github/workflows | ||
| docsman | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
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