(options *Options)
| 16 | } |
| 17 | |
| 18 | func 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 | |
| 30 | func (r *Runner) Run() { |
| 31 | log.Info("Starting SpringExploit") |