MCPcopy
hub / github.com/shadow1ng/fscan / Execute

Method Execute

core/scanner.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, session *common.ScanSession, info common.HostInfo, ch chan struct{}, wg *sync.WaitGroup)

Source from the content-addressed store, hash-verified

20// ScanStrategy 定义扫描策略接口
21type ScanStrategy interface {
22 Execute(ctx context.Context, session *common.ScanSession, info common.HostInfo, ch chan struct{}, wg *sync.WaitGroup)
23 GetPlugins(config *common.Config) ([]string, bool)
24 IsPluginApplicableByName(pluginName string, targetHost string, targetPort int, isCustomMode bool, config *common.Config) bool
25}

Callers 1

RunScanFunction · 0.65

Implementers 1

mockStrategycore/scanner_test.go

Calls

no outgoing calls

Tested by

no test coverage detected