mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
73a1b28515
commit
0fc5bb371a
1 changed files with 22925 additions and 22924 deletions
|
@ -4,7 +4,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
var oui = map[string]string{
|
var oui = map[string]string {
|
||||||
"681605": "Systems And Electronic Development Fzco",
|
"681605": "Systems And Electronic Development Fzco",
|
||||||
"74dbd1": "Ebay",
|
"74dbd1": "Ebay",
|
||||||
"000099": "MTX",
|
"000099": "MTX",
|
||||||
|
@ -22930,6 +22930,7 @@ var oui = map[string]string{
|
||||||
"784b87": "Murata Manufacturing Co.",
|
"784b87": "Murata Manufacturing Co.",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func OuiLookup(mac string) string {
|
func OuiLookup(mac string) string {
|
||||||
octects := strings.Split(mac, ":")
|
octects := strings.Split(mac, ":")
|
||||||
if len(octects) > 3 {
|
if len(octects) > 3 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue