Documentation
¶
Overview ¶
Package options banner
Package options 命令行接口
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 // 漏洞模板路径
ListVulTemplate bool // 是否列出漏洞模板
CheckVulTargets bool // 检查漏洞模板是否正确
AIAnalysis bool // 是否启用AI分析
AIHunyuanToken string // AI服务的认证令牌
AIDeepSeekToken string // deepseek的认证令牌
LocalScan bool // 一键检测本地
WebServer bool // 是否启用WebSocket服务器
WebServerAddr string // WebSocket服务器地址
Headers multiStringFlag // HTTP请求头
Language string // 语言
Callback func(interface{}) `json:"-"` // 回调函数
}
Options 定义了程序的所有配置选项
func (*Options) SetCallback ¶ added in v0.0.6
func (options *Options) SetCallback(callback func(interface{}))
SetCallback 设置回调函数
Click to show internal directories.
Click to hide internal directories.