mirror of
https://github.com/bettercap/bettercap
synced 2025-07-07 13:32:07 -07:00
balls
This commit is contained in:
parent
383a293bf5
commit
7049cc1014
3 changed files with 13 additions and 6 deletions
|
@ -1,15 +1,10 @@
|
|||
package net
|
||||
|
||||
import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/evilsocket/bettercap-ng/core"
|
||||
"strings"
|
||||
)
|
||||
|
||||
var ArpTableParser = regexp.MustCompile("^[^\\d\\.]+([\\d\\.]+).+\\s+([a-f0-9:]{17}).+\\s+(.+)$")
|
||||
var ArpTableTokens = 4
|
||||
|
||||
func ArpUpdate(iface string) (ArpTable, error) {
|
||||
arp_lock.Lock()
|
||||
defer arp_lock.Unlock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue