model

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	DB *sql.DB
}

type Exploit

type Exploit struct {
	Id                int64
	Name              string
	Command           string
	Path              string
	Timeout           int64
	Tag               string
	Enabled           bool
	Flags             int64
	FlagsLast5Minutes int64
}

type Flag

type Flag struct {
	Id        int64
	Flag      string
	ExploitId int64
	TargetId  int64
	Result    string
	Valid     string
}

type FlagDTO

type FlagDTO struct {
	Id          int64
	Flag        string
	ExploitName string
	TargetName  string
	Result      string
	Valid       string
	Timestamp   string
}

type Target

type Target struct {
	Id                int64
	Name              string
	Ip                string
	Tag               string
	Enabled           bool
	Flags             int64
	FlagsLast5Minutes int64
}

Jump to

Keyboard shortcuts

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