boxes

package
v0.0.0-...-ffb9b1a Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColumnName       = "name"
	ColumnDifficulty = "difficulty"
	ColumnOS         = "os"
	ColumnStatus     = "status"
	ColumnBoxID      = "id"
	ColumnPwned      = "pwned"
)

Variables

View Source
var (
	SelectedBox = ""
)

Functions

func BoxInfo

func BoxInfo(box_id string, HTBClient *HTB.Client) (boxInfo machines.InfoResponse, machineHandle *machines.Handle)

func BoxInfoMenu

func BoxInfoMenu(boxInfo machines.InfoResponse, machineHandle *machines.Handle, avatarUrl string)

func NewModel

func NewModel(Boxes machines.MachinesDataItems) model

func PwnedStatus

func PwnedStatus(box machines.MachinesData) (pwnedResult string)

func Run

func Run(HTBClient *HTB.Client) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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