1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
```
_
| |
_ __ ___| |_ ___ ___ __ _ _ __ _ __ ___ _ __
| '_ \ / _ \ __/ __|/ __/ _` | '_ \| '_ \ / _ \ '__|
| | | | __/ |_\__ \ (_| (_| | | | | | | | __/ |
|_| |_|\___|\__|___/\___\__,_|_| |_|_| |_|\___|_|
```
***
<img src='./demo.gif' width='550px'/>
[](https://repology.org/project/netscanner/versions)
[](https://repology.org/project/netscanner/versions)
[](https://repology.org/project/netscanner/versions)
[](https://repology.org/project/netscanner/versions)
`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](https://npcap.com/dist/npcap-1.80.exe), 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](./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](https://github.com/ratatui-org/ratatui)
- libpnet: [https://github.com/libpnet/libpnet](https://github.com/libpnet/libpnet)
> Created by: Lukas Chleba <chlebik@gmail.com>