model

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	ID string `json:"id"`
}

type Config

type Config struct {
	Scope           []interface{} `json:"scope,omitempty"`
	Ports           []*int        `json:"ports,omitempty"`
	Blacklist       []*string     `json:"blacklist,omitempty"`
	Domains         []*string     `json:"domains,omitempty"`
	Resolvers       []*string     `json:"resolvers,omitempty"`
	Ips             []*string     `json:"ips,omitempty"`
	Cirds           []interface{} `json:"cirds,omitempty"`
	Transformations []interface{} `json:"transformations,omitempty"`
	Database        []interface{} `json:"database,omitempty"`
	BruteForce      *bool         `json:"bruteForce,omitempty"`
	Alterations     *bool         `json:"alterations,omitempty"`
}

type CreateAssetInput

type CreateAssetInput struct {
	SessionToken string      `json:"sessionToken"`
	AssetName    *string     `json:"assetName,omitempty"`
	Data         interface{} `json:"data,omitempty"`
}

type CreateSessionInput

type CreateSessionInput struct {
	Config interface{} `json:"config"`
}

type CreateSessionJSONInput

type CreateSessionJSONInput struct {
	Config string `json:"config"`
}

type Session

type Session struct {
	SessionToken string `json:"sessionToken"`
}

type SessionStats

type SessionStats struct {
	WorkItemsCompleted *int `json:"WorkItemsCompleted,omitempty"`
	WorkItemsTotal     *int `json:"WorkItemsTotal,omitempty"`
}

Jump to

Keyboard shortcuts

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