trickest

package
v0.0.0-...-bb4f4e9 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 15 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"`
	Tags        []Tag  `json:"tags,omitempty"`
	Description string `json:"description,omitempty"`
	Poc         PoC    `json:"poc,omitempty"`
}

type Option

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

func WithDir

func WithDir(dir string) Option

func WithRepoURL

func WithRepoURL(repoURL string) Option

func WithRetry

func WithRetry(retry int) Option

type PoC

type PoC struct {
	References []string `json:"references,omitempty"`
	GitHubs    []string `json:"githubs,omitempty"`
}

type Tag

type Tag struct {
	Label   string `json:"label,omitempty"`
	Message string `json:"message,omitempty"`
}

Jump to

Keyboard shortcuts

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