worker

package
v0.0.0-...-b77a452 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Types

type Config

type Config struct {
	Address string `default:"0.0.0.0:5050"`

	LogPath string `default:"./log/"`

	Xen struct {
		Address      string
		Username     string
		Password     string
		Insecure     bool `default:"true"`
		Tag          string
		AutoRollback bool `default:"true"`
	}

	Mitm struct {
		Path  string
		Ports struct {
			Min int
			Max int
		}
	}

	DNS struct {
		Path  string
		Ports struct {
			Min int
			Max int
		}
	}
}

type Scan

type Scan struct {
	ID         uuid.UUID
	Timeout    time.Duration
	Status     string
	OutputPath string
	Filepath   string
	// contains filtered or unexported fields
}

func (*Scan) Process

func (s *Scan) Process(agent *queue.Agent)

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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