MCPcopy
hub / github.com/bettercap/bettercap / Skip

Method Skip

modules/arp_spoof/arp_spoof_test.go:137–142  ·  view source on GitHub ↗
(ip net.IP)

Source from the content-addressed store, hash-verified

135}
136
137func (m *MockSession) Skip(ip net.IP) bool {
138 if m.skipIPs == nil {
139 return false
140 }
141 return m.skipIPs[ip.String()]
142}
143
144// MockNetRecon implements a minimal net.recon module for testing
145type MockNetRecon struct {

Callers 15

TestGetEventsEmptyFunction · 0.45
TestClearHandlerFunction · 0.45
TestShowHandlerFunction · 0.45
BenchmarkClearHandlerFunction · 0.45
StartMethod · 0.45
unSpoofMethod · 0.45
getTargetsMethod · 0.45
TestVersionEdgeCasesFunction · 0.45
TestZeroGodStartStopFunction · 0.45
TestZeroGodSaveFunction · 0.45
TestZeroGodAdvertiseFunction · 0.45

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected