MCPcopy Index your code
hub / github.com/Chleba/netscanner

github.com/Chleba/netscanner @v0.6.43

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.6.43 ↗ · + Follow
294 symbols 505 edges 30 files 8 documented · 3% updated 2d agov0.6.43 · 2026-07-06★ 1,7877 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
             _                                       
            | |                                      
  _ __   ___| |_ ___  ___ __ _ _ __  _ __   ___ _ __ 
 | '_ \ / _ \ __/ __|/ __/ _` | '_ \| '_ \ / _ \ '__|
 | | | |  __/ |_\__ \ (_| (_| | | | | | | |  __/ |   
 |_| |_|\___|\__|___/\___\__,_|_| |_|_| |_|\___|_|

Arch package nixpkgs unstable package Manjaro Stable package Kali Linux Rolling package

netscanner - Network scanner & diagnostic tool.

FEATURES: - [x] List HW Interfaces - [x] Switching active Interface for scanning & packet-dumping - [x] WiFi networks scanning - [x] WiFi signals strength (with charts) - [x] (IPv4) Pinging CIDR with hostname, oui & mac address - [x] (IPv4) Packetdump (TCP, UDP, ICMP, ARP) - [x] (IPv6) Packetdump (ICMP6) - [x] start/pause packetdump - [x] scanning open ports (TCP) - [x] packet logs filter - [x] export scanned ips, ports, packets into csv - [x] traffic counting + DNS records

TODO: - [ ] ipv6 scanning & dumping

Notes:

  • Must be run with root privileges.
  • After cargo install You may try to change binary file chown & chmod
  • Export default path is in the user's $HOME directory (linux & macos)
sudo chown root:user /home/user/.cargo/bin/netscanner
sudo chmod u+s /home/user/.cargo/bin/netscanner

Install on Arch Linux

pacman -S netscanner

Install on Alpine(edge) Linux

apk add netscanner --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/

Install with cargo

cargo install netscanner

Windows Installation

To use netscanner on Windows, you need to install Npcap, otherwise you may encounter packet.dll error. Npcap is a packet capture library required for network scanning and packet analysis.

Appreciation

netscanner has been made thanks to some awesome libraries that can be found in Cargo.toml file. But mostly I would like to link these two libraries that help me the most: - Ratatui: https://github.com/ratatui-org/ratatui - libpnet: https://github.com/libpnet/libpnet

Created by: Lukas Chleba chlebik@gmail.com

Extension points exported contracts — how you extend this code

Component (Interface)
`Component` is a trait that represents a visual and interactive element of the user interface. Implementors of this trai [11 …
src/components.rs
OuiExt (Interface)
Extension trait to load OUI database from a CSV string (for embedded/fresh DB) [1 implementers]
src/components/discovery.rs

Core symbols most depended-on inside this repo

push
called by 117
src/utils.rs
get_vec
called by 14
src/utils.rs
get_vertical_layout
called by 9
src/layout.rs
parse_style
called by 5
src/config.rs
next
called by 5
src/tui.rs
write_packets
called by 5
src/components/export.rs
clone_array_by_packet_type
called by 5
src/components/packetdump.rs
parse_color
called by 4
src/config.rs

Shape

Method 201
Function 47
Class 37
Enum 7
Interface 2

Languages

Rust100%

Modules by API surface

src/components/packetdump.rs33 symbols
src/components/discovery.rs32 symbols
src/config.rs27 symbols
src/components/ports.rs21 symbols
src/tui.rs19 symbols
src/components/sniff.rs19 symbols
src/utils.rs14 symbols
src/components/wifi_scan.rs14 symbols
src/components/wifi_interface.rs14 symbols
src/components/interfaces.rs13 symbols
src/enums.rs12 symbols
src/components/wifi_chart.rs11 symbols

For agents

$ claude mcp add netscanner \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page