runner

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 15 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
	Hash             string
	NoPing           bool
	NoScan           string
	Scantype         string
	Poc              string
	Timeout          int64
	Command          string
	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
	CustomPocs       []string
	DefaultPocsName  []string
	DisableExp       bool
}

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