25 releases (breaking)
|new 0.23.0||Dec 3, 2023|
|0.22.0||Nov 21, 2023|
|0.21.0||Oct 15, 2023|
|0.15.4||Jul 16, 2023|
#502 in Network programming
2,853 downloads per month
Used in 4 crates (3 directly)
Cross-platform network scan library
with the aim of being lightweight and fast.
- Port Scan (IPv4, IPv6)
- TCP SYN scan
- TCP CONNECT scan
- Host Scan (IPv4, IPv6)
- ICMP PING scan
- TCP PING scan
- UDP PING scan
netscan to your dependencies
[dependencies] netscan = "0.23"
The following feature flags can be used to enable/disable specific features.
Enable service detection.
Enable TCP/IP Stack Fingerprinting.
Enable all of the above.
For more details see Examples
Note for Windows users
To build on Windows, follow the instructions below.
- You must use a version of Rust which uses the MSVC toolchain
- You must have npcap or WinPcap installed (If using npcap, make sure to install with the "Install Npcap in WinPcap API-compatible Mode")
- You must place
Packet.libfrom the Npcap SDK or WinPcap Developers pack in a directory named
lib, in the root of this repository. Alternatively, you can use any of the locations listed in the
$Env:LIBenvironment variables. For the 64 bit toolchain it is in
<SDK>/Lib/x64/Packet.lib, for the 32 bit toolchain, it is in
This library requires the ability to create raw sockets. Execute with administrator privileges.