integrations

package
v0.0.0-...-aa95b58 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CDNCheck

func CDNCheck(urlStr string, workspaceID, taskID uint) ([]db.Issue, error)

func NucleiScan

func NucleiScan(targets []string, workspaceID uint) error

Types

type Extractors

type Extractors struct {
	Filename    []string          `json:"filename"`
	Filecontent []string          `json:"filecontent"`
	Hashes      map[string]string `json:"hashes"`
}

type Identifiers

type Identifiers struct {
	Summary  string   `json:"summary"`
	CVE      []string `json:"CVE"`
	GithubID string   `json:"githubID"`
}

type InteractionDomain

type InteractionDomain struct {
	ID  string
	URL string
}

type InteractionsManager

type InteractionsManager struct {
	GetAsnInfo            bool
	PollingInterval       time.Duration
	OnInteractionCallback func(interaction *server.Interaction)
	// contains filtered or unexported fields
}

func (*InteractionsManager) GetIdentifierFromURL

func (i *InteractionsManager) GetIdentifierFromURL(url string) string

func (*InteractionsManager) GetURL

func (*InteractionsManager) Start

func (i *InteractionsManager) Start()

func (*InteractionsManager) Stop

func (i *InteractionsManager) Stop()

type RetireJsEntry

type RetireJsEntry struct {
	Extractors      Extractors      `json:"extractors"`
	Vulnerabilities []Vulnerability `json:"vulnerabilities"`
}

type RetireJsRepo

type RetireJsRepo map[string]RetireJsEntry

type RetireScanner

type RetireScanner struct {
	// contains filtered or unexported fields
}

func NewRetireScanner

func NewRetireScanner() RetireScanner

func (*RetireScanner) HistoryScan

func (r *RetireScanner) HistoryScan(history *db.History)

type Vulnerability

type Vulnerability struct {
	AtOrAbove   string      `json:"atOrAbove"`
	Below       string      `json:"below"`
	Severity    string      `json:"severity"`
	Cwe         []string    `json:"cwe"`
	Identifiers Identifiers `json:"identifiers"`
	Info        []string    `json:"info"`
}

Jump to

Keyboard shortcuts

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