resources

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: AGPL-3.0 Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ModeMerge    = "merge"
	ModeOverride = "override"
)

Variables

This section is empty.

Functions

func NormalizeMode

func NormalizeMode(mode string) (string, error)

Types

type Options

type Options struct {
	CyberhubURL string
	APIKey      string
	Mode        string
	Proxy       string
}

Options controls aiscan-owned scanner resource loading.

type Set

type Set struct {
	Mode             string
	RemoteEnabled    bool
	RemoteFingers    int
	RemoteNeutron    int
	RemoteFingersErr error
	RemoteNeutronErr error
	FingersConfig    *fingers.Config
	NeutronConfig    *neutron.Config
	Fingers          *fingers.Engine
	Neutron          *neutron.Engine
	// contains filtered or unexported fields
}

Set owns the scanner resource bytes and compiled SDK engines used by aiscan.

func Init

func Init(ctx context.Context, opts Options) (*Set, error)

Init loads scanner resources once for aiscan and prepares SDK configs.

func (*Set) GogoConfig

func (s *Set) GogoConfig(name string) []byte

GogoConfig returns gogo config bytes by logical template name.

func (*Set) SprayConfig

func (s *Set) SprayConfig(name string) []byte

SprayConfig returns spray config bytes by logical template name.

func (*Set) ZombieConfig

func (s *Set) ZombieConfig(name string) []byte

ZombieConfig returns zombie config bytes by logical template name.

Jump to

Keyboard shortcuts

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