model

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 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
}

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
}

Jump to

Keyboard shortcuts

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