-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
29 lines (20 loc) · 1.16 KB
/
README
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
MacScanner
Author: Carlos Lint
06/04/2016
MacScanner is a software built to scan a C-class network to collect all
known MAC addresses. This is done by spawning a ping command (of which can
be replaced by any sort of command you might feel like using) just to
generate the ARP request.
After ping-sweeping the network, macscanner proceeds to query the kernel via
the "ip -s neighbour list" and processing the output to determine if the mac
addresses we are searching for are in the REACHABLE state.
This software will allow you to determine whether known mac adresses are
online or not and place send it to standard output (which will most likely
be redirected to a file and served by a webserver).
The code was made specifically to help people at ABC Makerspace to have a
way to publicly broadcast information on whether is there anyone at the
Makerspace's premises or not.
The code itself doesn't use any sort of libraries and only depend on the
"ip" command, which is included in busybox as far as I can remember.
The scan is sequential and might hit an arp limitation threshold, by default
we send packets to 25 new hosts per second.