0.4.3 Aug 7, 2023
0.4.2 Jul 16, 2023
0.4.0 Jun 27, 2023
0.3.0 Jun 25, 2023
0.1.0 May 23, 2023

#27 in #port-scan

MIT license

1MB
3.5K SLoC

numap Crates.io

High-performance Network Mapper for discovery and management

Features

  • Port Scan
    • Service detection
    • OS detection
  • Host Scan
  • Ping
  • Traceroute
  • Subdomain scan

Supported platforms

  • Linux
  • macOS
  • Windows

Install

cargo install numap

Privileges

numap uses a raw socket which require elevated privileges. Execute with administrator privileges.

Note for Windows users

  • You must have WinPcap or npcap installed.
  • For Traceroute, you may need to set up firewall rules that allow ICMP Time-to-live Exceeded and ICMP Destination (Port) Unreachable packets to be received.

netsh example

netsh advfirewall firewall add rule name="All ICMP v4" dir=in action=allow protocol=icmpv4:any,any
netsh advfirewall firewall add rule name="All ICMP v6" dir=in action=allow protocol=icmpv6:any,any

Dependencies

~20–56MB
~897K SLoC