options

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0, BSD-3-Clause, MIT, + 2 more Imports: 6 Imported by: 0

Documentation

Overview

Package options banner

Package options 命令行接口

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowBanner

func ShowBanner()

ShowBanner is used to show the banner to the user

Types

type Options

type Options struct {
	Target          multiStringFlag // 目标URL列表
	TargetFile      string          // 包含目标的文件路径
	Output          string          // 输出文件路径
	ProxyURL        string          // 代理服务器URL
	TimeOut         int             // 请求超时时间(秒)
	JSON            bool            // 是否输出JSON格式
	RateLimit       int             // 每秒请求限制数
	FPTemplates     string          // 指纹模板路径
	AdvTemplates    string          // 漏洞模板路径
	ListFpsTemplate bool            // 是否列出指纹模板
	ListVulTemplate bool            // 是否列出漏洞模板
	CheckVulTargets bool            // 检查漏洞模板是否正确
	AIAnalysis      bool            // 是否启用AI分析
	AIToken         string          // AI服务的认证令牌
}

Options 定义了程序的所有配置选项

func ParseOptions

func ParseOptions() *Options

ParseOptions 解析命令行参数并返回配置选项

Jump to

Keyboard shortcuts

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