runner

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
__  ____  ___           
\ \/ /  \/  / __ _ _ __  
 \  /| |\/| |/ _' | '_ \ 
 /  \| |  | | (_| | |_) |
/_/\_\_|  |_|\__,_| .__/ 
                  |_|    %s
`, Version)

Banner 程序的banner

View Source
var Version = "dev"

Version 版本信息,由 release workflow 通过 ldflags 注入。

Functions

func ParseOptions

func ParseOptions() (*types.Options, error)

ParseOptions 解析命令行选项

Types

type OutputHandler

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

OutputHandler 输出处理器

func (*OutputHandler) Close added in v0.1.3

func (h *OutputHandler) Close()

Close flushes and closes output resources that need explicit cleanup.

func (*OutputHandler) HandleResult

func (h *OutputHandler) HandleResult(result *types.ScanResult)

HandleResult 处理扫描结果

type Runner

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

Runner 结构体专注于命令行界面和用户交互

func New

func New(options *types.Options) (*Runner, error)

New 创建一个新的Runner实例

func (*Runner) RunEnumeration

func (r *Runner) RunEnumeration() error

RunEnumeration 执行扫描

func (*Runner) ShowBanner

func (r *Runner) ShowBanner()

ShowBanner 显示程序的banner

Jump to

Keyboard shortcuts

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