Skip to main content

Crate r_lanlib

Crate r_lanlib 

Source
Expand description

Library package for performing network scanning of any LAN

This is the rust version of go-lanscan package

§Examples

§ARP Scanning

https://github.com/robgonnella/r-lanscan/blob/main/lib/examples/arp-scanner.rs

sudo -E cargo run --example arp-scanner -p r-lanlib

§SYN Scanning

https://github.com/robgonnella/r-lanscan/blob/main/lib/examples/syn-scanner.rs

sudo -E cargo run --example syn-scanner -p r-lanlib

§Full Scanning (ARP + SYN)

https://github.com/robgonnella/r-lanscan/blob/main/lib/examples/full-scanner.rs

sudo -E cargo run --example full-scanner -p r-lanlib

Modules§

error
Custom Error and Result types for this library
network
Provides helpers for selecting a network interface on the current host through which to preform network scanning, and for detecting the default gateway from the OS routing table.
oui
OUI lookup for resolving MAC address prefixes to organization names.
packet
Provides helpers for creating and sending packets
scanners
Provides data structure an implementations for performing network scanning
targets
Provides helpers for managing lists of IPs and Ports
wire
Implements a default Wire using pnet

Type Aliases§

MacAddr
Represents a MAC address for a device