fetcher

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchAwesomePoc

func FetchAwesomePoc() (exploits []models.Exploit, err error)

FetchAwesomePoc :

func FetchExploitDB

func FetchExploitDB() ([]models.Exploit, error)

FetchExploitDB :

func FetchGitHubRepos

func FetchGitHubRepos(stars, forks int) (exploits []models.Exploit, err error)

FetchGitHubRepos :

func FetchInTheWild added in v0.4.2

func FetchInTheWild(debugSQL bool) ([]models.Exploit, error)

FetchInTheWild :

Types

type AwesomePoc added in v0.2.0

type AwesomePoc struct {
	CveID       string
	Description string
	URL         string
}

AwesomePoc :

type AwesomePocReader added in v0.2.0

type AwesomePocReader struct {
	Start bool
	// unique
	AwesomePoc        map[AwesomePoc]struct{}
	FillingAwesomePoc AwesomePoc
}

AwesomePocReader :

func (*AwesomePocReader) RenderFooter added in v0.2.0

func (r *AwesomePocReader) RenderFooter(_ io.Writer, _ *blackfriday.Node)

RenderFooter :

func (*AwesomePocReader) RenderHeader added in v0.2.0

func (r *AwesomePocReader) RenderHeader(_ io.Writer, _ *blackfriday.Node)

RenderHeader :

func (*AwesomePocReader) RenderNode added in v0.2.0

func (r *AwesomePocReader) RenderNode(_ io.Writer, node *blackfriday.Node, _ bool) blackfriday.WalkStatus

RenderNode :

Jump to

Keyboard shortcuts

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