GScan
gscan is a high-performance network scanning library built with Rust.
It provides a simple and efficient way to scan port ranges and retrieve structured results.
The project is currently in early development, transitioning from synchronous scanning toward a high-speed asynchronous engine.
Installation
Add this to your Cargo.toml:
[]
= "0.1.2"
Or
cargo add gscan
Usage
The library exposes a simple scan function that returns a ScanResult struct containing:
- The scanned IP address
- A list of open ports using a vector(u16)
Example: Scanning a Local Range
use gscan;
📄 License
Distributed under the MIT License.