new: working on windows arp parser ( ref #45 )

This commit is contained in:
evilsocket 2018-02-07 16:48:27 +01:00
parent 318932453c
commit 69e042ba32
4 changed files with 22 additions and 5 deletions

View file

@ -4,6 +4,6 @@ import "regexp"
var ArpTableParser = regexp.MustCompile("^[^\\d\\.]+([\\d\\.]+).+\\s+([a-f0-9:]{11,17})\\s+on\\s+([^\\s]+)\\s+.+$")
var ArpTableTokens = 4
var ArpTableTokenIndex = []uint{1, 2, 3}
var ArpTableTokenIndex = []int{1, 2, 3}
var ArpCmd = "arp"
var ArpCmdOpts = []string{"-a", "-n"}