Brijesh's Git Server — network-scan @ main

my own tool to scan for devices in local network, beyond just arp -a

5f24c81e
feat: check if device is reachable by sending ICMP messages

but this requires sudo priviliges to create a raw socket to send the ICMP messages
using golang.org/x/net/icmp package to send messages
Brijesh Wawdhane brijesh@wawdhane.com
Sat, 21 Sep 2024 21:43:43 +0530
e6d5a05b
feat: scan for device IP and MAC, and helper function to optionally run code

run the 'arp -a' command using os/exec to scan for devices (IP and MAC)
also wrote a function which asks user if they would like to do something instead of just doing it, will eventually add flags to do this but this is a temporary workararound
Brijesh Wawdhane brijesh@wawdhane.com
Sat, 21 Sep 2024 15:21:20 +0530
caed91fc
chore: add readme and makefile

and also fixed package rename spelling mistakes from last commit
Brijesh Wawdhane brijesh@wawdhane.com
Fri, 20 Sep 2024 23:10:28 +0530
822d6b35
feat: Import OUI data from IEEE to sqlite

IEEE has OUI text file publicly available.
This commit adds logic to scan data from the text file downloaded from IEEE and insert it in a sqlite database.
Brijesh Wawdhane brijesh@wawdhane.com
Fri, 20 Sep 2024 00:08:27 +0530