MCPcopy Create free account
hub / github.com/chainreactors/spray / doPoc

Method doPoc

core/pool/pool.go:105–115  ·  view source on GitHub ↗
(bl *baseline.Baseline)

Source from the content-addressed store, hash-verified

103}
104
105func (pool *BasePool) doPoc(bl *baseline.Baseline) {
106 if !pool.Poc || len(bl.Frameworks) == 0 || bl.Url == nil {
107 return
108 }
109
110 baseURL := pkg.BaseURL(bl.Url)
111 results := pkg.NeutronScan(baseURL, bl.Frameworks)
112 if len(results) > 0 {
113 bl.Extracteds.Merge(pkg.PocResultToExtracteds(results))
114 }
115}
116
117func (pool *BasePool) putToFuzzy(bl *baseline.Baseline) {
118 pool.Outwg.Add(1)

Callers 1

putToOutputMethod · 0.95

Calls 3

BaseURLFunction · 0.92
NeutronScanFunction · 0.92
PocResultToExtractedsFunction · 0.92

Tested by

no test coverage detected