hspsh / whohacks

Who is at Hackerspace Pomorze?
https://whois.at.hsp.sh
GNU General Public License v3.0
13 stars 5 forks source link

Mac parsing/lookup #54

Open cr1tbit opened 10 months ago

cr1tbit commented 10 months ago

you can parse the first 3 octets to detect the manufacturer of a device. I have a PoC that uses JSON database file to map the MACs to manufacturers.

Also, then you can assign ESP label automatically lel

not7cd commented 8 months ago

Is there a database of manufacturers?

cr1tbit commented 8 months ago

For example https://maclookup.app/ allows getting the static database. From what I remember (checked 2 years ago) their license is permissive enough, though I don't want their .csv in our repo.

Preferably the app should not be tied to any specific MAC database - @LiquidLemon suggested importing the content into an SQL database, if I remember correctly. We could put the importer tool for this specific database in the repo.

PoC for reference: https://github.com/hspsh/whois-mqtt

cr1tbit commented 8 months ago

Another cool improvement would be aggregating some vendors group into rough categories (notebooks, smartphones, smart fridges, etc). I don't know how feasible this is though.

I have a dream - whois should list each and every stupid IoT device as a smart fridge