automaticscan

package
v3.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2024 License: MIT Imports: 34 Imported by: 0

Documentation

Overview

Package automaticscan implements automatic technology based template execution for a nuclei instance.

First wappalyzer based technology detection is performed and templates are executed based on the results found. The results of wappalyzer technology detection are lowercased and split on space characters in the name, which are then used as tags for the execution of the templates.

Example -

"Amazon Web Services,Jenkins,Atlassian Jira" -> "amazon,web,services,jenkins,atlassian,jira".

Wappalyzergo (https://github.com/projectdiscovery/wappalyzergo) is used for wappalyzer tech detection.

The logic is very simple and can be further improved to increase the coverage of this mode of nuclei execution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadTemplatesWithTags added in v3.1.9

func LoadTemplatesWithTags(opts Options, templateDirs []string, tags []string, logInfo bool) ([]*templates.Template, error)

LoadTemplatesWithTags loads and returns templates with given tags

Types

type Options

type Options struct {
	ExecuterOpts protocols.ExecutorOptions
	Store        *loader.Store
	Engine       *core.Engine
	Target       provider.InputProvider
}

Options contains configuration options for automatic scan service

type Service

type Service struct {
	ServiceOpts Options
	// contains filtered or unexported fields
}

Service is a service for automatic scan execution

func New

func New(opts Options) (*Service, error)

New takes options and returns a new automatic scan service

func (*Service) Close

func (s *Service) Close() bool

Close closes the service

func (*Service) Execute

func (s *Service) Execute() error

Execute automatic scan on each target with -bs host concurrency

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL