runner

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAccount

func ParseAccount(opt *Options)

func ParseInput

func ParseInput(opt *Options) bool

func ParsePass

func ParsePass(opt *Options)

func ParsePocs added in v0.0.2

func ParsePocs(opt *Options)

func ParseScantype

func ParseScantype(opt *Options) bool

Types

type Options

type Options struct {
	Host             string
	HostFile         string
	Ports            string
	Token            string
	NoPing           bool
	Scantype         string
	Timeout          int64
	Threads          int
	LiveTop          int
	Password         string
	Downloader       common.Downloader
	RedisListen      bool
	RedisRogueServer string
	Userdict         map[string][]string
	Passwords        []string
	PortList         map[string]string
	Accounts         []string
	Pocs             []string
}

func New

func New(opt *Options) (*Options, error)

func (*Options) Enumerate

func (opt *Options) Enumerate(ctx context.Context, cancel context.CancelFunc, resultQueue *queue.Queue, result *Output)

func (*Options) Run

func (opt *Options) Run(ctx context.Context, resultQueue *queue.Queue) (result Output)

func (*Options) RunRedisRogueServer

func (opt *Options) RunRedisRogueServer()

type Output

type Output struct {
	AliveHosts []string
	AlivePorts []string
}

Jump to

Keyboard shortcuts

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