MCPcopy
hub / github.com/bettercap/bettercap / Exec

Method Exec

session/module_handler.go:73–77  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

71}
72
73func (h *ModuleHandler) Exec(args []string) error {
74 h.Lock()
75 defer h.Unlock()
76 return h.exec(args)
77}
78
79type JSONModuleHandler struct {
80 Name string `json:"name"`

Callers 15

TestTickerHandlersFunction · 0.95
TestDBCLoadHandlerFunction · 0.95
BenchmarkInjectHandlerFunction · 0.95
BenchmarkChannelSetFunction · 0.95
BenchmarkTemplateSetFunction · 0.95
TestZeroGodShowFunction · 0.95
TestZeroGodShowFullFunction · 0.95
TestWiFiModuleFiltersFunction · 0.95
TestWiFiModuleDeauthFunction · 0.95
TestWiFiModuleProbeFunction · 0.95
TestWiFiModuleFakeAuthFunction · 0.95

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by 15

TestTickerHandlersFunction · 0.76
TestDBCLoadHandlerFunction · 0.76
BenchmarkInjectHandlerFunction · 0.76
BenchmarkChannelSetFunction · 0.76
BenchmarkTemplateSetFunction · 0.76
TestZeroGodShowFunction · 0.76
TestZeroGodShowFullFunction · 0.76
TestWiFiModuleFiltersFunction · 0.76
TestWiFiModuleDeauthFunction · 0.76
TestWiFiModuleProbeFunction · 0.76
TestWiFiModuleFakeAuthFunction · 0.76