Documentation
¶
Index ¶
- Variables
- type Engine
- func (e *Engine) AddTemplate(fileName string, buf []byte) (err error)
- func (e *Engine) CheckTemplatesUpdate() (needUpdate bool)
- func (e *Engine) Init() error
- func (e *Engine) ListTemplates() []*templates.Template
- func (e *Engine) Scan(t Target) (results []*output.ResultEvent)
- func (e *Engine) UpdateTemplates() error
- type Target
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TEMPLATES_OUTER_FOLDER = "templates" TEMPLATE_INNER_FOLDER = "inner" TEMPLATE_CUSTOM_FOLDER = "custom" NUCLEI_BINARY = "nuclei" TEMPLATES_URL = "https://github.com/dusbot/templates" )
Functions ¶
This section is empty.
Types ¶
type Engine ¶ added in v0.1.6
type Engine struct {
TemplatePath string
TemplateInnerPath string
TemplateCustomPath string
Templates []*templates.Template
}
func (*Engine) AddTemplate ¶ added in v0.1.6
func (*Engine) CheckTemplatesUpdate ¶ added in v0.1.9
func (*Engine) ListTemplates ¶ added in v0.1.6
func (*Engine) Scan ¶ added in v0.1.6
func (e *Engine) Scan(t Target) (results []*output.ResultEvent)
func (*Engine) UpdateTemplates ¶ added in v0.1.9
Click to show internal directories.
Click to hide internal directories.