exploitdb

package
v0.0.0-...-cd20b3e Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(opts ...Option) error

Types

type Exploit

type Exploit struct {
	ID             string `json:"id,omitempty"`
	File           string `json:"file,omitempty"`
	Description    string `json:"description,omitempty"`
	DatePublished  string `json:"date_published,omitempty"`
	Author         string `json:"author,omitempty"`
	Type           string `json:"type,omitempty"`
	Platform       string `json:"platform,omitempty"`
	Port           string `json:"port,omitempty"`
	DateAdded      string `json:"date_added,omitempty"`
	DateUpdated    string `json:"date_updated,omitempty"`
	Verified       string `json:"verified,omitempty"`
	Codes          string `json:"codes,omitempty"`
	Tags           string `json:"tags,omitempty"`
	Aliases        string `json:"aliases,omitempty"`
	ScreenshotURL  string `json:"screenshot_url,omitempty"`
	ApplicationURL string `json:"application_url,omitempty"`
	SourceURL      string `json:"source_url,omitempty"`
}

type ExploitDBURL

type ExploitDBURL struct {
	Shellcodes string
	Exploits   string
	Papers     string
	GHDB       string
}

type GHDB

type GHDB struct {
	ID                 string `xml:"id" json:"id,omitempty"`
	Link               string `xml:"link" json:"link,omitempty"`
	Category           string `xml:"category" json:"category,omitempty"`
	ShortDescription   string `xml:"shortDescription" json:"short_description,omitempty"`
	TextualDescription string `xml:"textualDescription" json:"textual_description,omitempty"`
	Query              string `xml:"query" json:"query,omitempty"`
	Querystring        string `xml:"querystring" json:"querystring,omitempty"`
	Edb                string `xml:"edb" json:"edb,omitempty"`
	Date               string `xml:"date" json:"date,omitempty"`
	Author             string `xml:"author" json:"author,omitempty"`
}

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithDir

func WithDir(dir string) Option

func WithExploitDBURL

func WithExploitDBURL(url *ExploitDBURL) Option

func WithRetry

func WithRetry(retry int) Option

type Paper

type Paper struct {
	ID             string `json:"id,omitempty"`
	File           string `json:"file,omitempty"`
	Description    string `json:"description,omitempty"`
	DatePublished  string `json:"date_published,omitempty"`
	Author         string `json:"author,omitempty"`
	Type           string `json:"type,omitempty"`
	Platform       string `json:"platform,omitempty"`
	Language       string `json:"language,omitempty"`
	DateAdded      string `json:"date_added,omitempty"`
	DateUpdated    string `json:"date_updated,omitempty"`
	Verified       string `json:"verified,omitempty"`
	Codes          string `json:"codes,omitempty"`
	Tags           string `json:"tags,omitempty"`
	Aliases        string `json:"aliases,omitempty"`
	ScreenshotURL  string `json:"screenshot_url,omitempty"`
	ApplicationURL string `json:"application_url,omitempty"`
	SourceURL      string `json:"source_url,omitempty"`
}

type Shellcode

type Shellcode struct {
	ID             string `json:"id,omitempty"`
	File           string `json:"file,omitempty"`
	Description    string `json:"description,omitempty"`
	DatePublished  string `json:"date_published,omitempty"`
	Author         string `json:"author,omitempty"`
	Type           string `json:"type,omitempty"`
	Platform       string `json:"platform,omitempty"`
	Size           string `json:"size,omitempty"`
	DateAdded      string `json:"date_added,omitempty"`
	DateUpdated    string `json:"date_updated,omitempty"`
	Verified       string `json:"verified,omitempty"`
	Codes          string `json:"codes,omitempty"`
	Tags           string `json:"tags,omitempty"`
	Aliases        string `json:"aliases,omitempty"`
	ScreenshotURL  string `json:"screenshot_url,omitempty"`
	ApplicationURL string `json:"application_url,omitempty"`
	SourceURL      string `json:"source_url,omitempty"`
}

Jump to

Keyboard shortcuts

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