Skip to content

How to use AutomaticScan when Using Nuclei From Go Code #1866

Closed Answered by Ice3man543
shadow1ng asked this question in Q&A
Discussion options

You must be logged in to vote

@shadow1ng if you take a look at runner code, if the user asks for automaticscan, the executeSmartWorkflowInput method is executed which is implemented here -

func (r *Runner) executeSmartWorkflowInput(executerOpts protocols.ExecuterOptions, store *loader.Store, engine *core.Engine) (*atomic.Bool, error) {
r.progress.Init(r.hmapInputProvider.Count(), 0, 0)
service, err := automaticscan.New(automaticscan.Options{
ExecuterOpts: executerOpts,
Store: store,
Engine: engine,
Target: r.hmapInputProvider,
})
if err != nil {
return nil, errors.Wrap(err, "could not create au…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by forgedhallpass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants