MCPcopy Create free account
hub / github.com/SummerSec/SpringExploit / NewRunner

Function NewRunner

cmd/commons/core/runner.go:18–28  ·  view source on GitHub ↗
(options *Options)

Source from the content-addressed store, hash-verified

16}
17
18func NewRunner(options *Options) (*Runner, error) {
19 r := Runner{options: options}
20
21 mops := structs.Map(&r.options)
22 data, _ := json.Marshal(mops)
23 log.Debug("Runner created")
24 log.Debug(mops)
25 log.Debug("Runner options: ", string(data))
26 return &r, nil
27
28}
29
30func (r *Runner) Run() {
31 log.Info("Starting SpringExploit")

Callers 1

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected