Crates.io | nearby |
lib.rs | nearby |
version | 0.1.5 |
source | src |
created_at | 2018-09-13 19:08:49.78974 |
updated_at | 2020-01-05 16:14:43.864064 |
description | Scans all nearby wifi networks and the devices connected to each network |
homepage | |
repository | https://github.com/wisespace-io/nearby |
max_upload_size | |
id | 84577 |
size | 4,330,721 |
Scans nearby wifi networks and the devices connected to each network.
On Debian based Linux, install apt-get install libpcap-dev
, so build the project:
cargo build --release
Root access is required to nearby
be able to set the wireless interface on Monitor Mode
sudo target/release/nearby -i your_wireless_adapter
I.e: wlan0, or just run iwconfig to get it
Use --netjson
to generate networks.json
and use it as input to visualization
sudo target/release/nearby -i your_wireless_adapter --netjson
Use --graph
to start a webserver and visualize the generated file (networks.json
)
target/release/nearby --graph
Use --people
to generate people.json
. It will watch Probe Requests and filter the mobiles according to a specified mobile phone vendor list.
sudo target/release/nearby -i your_wireless_adapter --people
Note: The default scan time is 120s, if it stops working after a short period of time often with the error message libpcap error: The interface went down
, it may be because another running process is causing it. On Ubuntu, you may be the network-manager, try service network-manager stop
.
There are many USB Wifi adapters that support monitor mode, i.e: