Documentation
¶
Index ¶
- func AggregateStructuredResult(result *output.Result) []output.Asset
- func FilterAutoSkill(selected []string, command string) []string
- func FormatAgentTaskPrompt(scannerArgs []string, intent string) string
- func ObservationToRecord(obs pipeline.Observation) *output.Record
- func RegisterCapabilityBuilder(fn CapabilityBuilder)
- func RegisterProfileExtender(fn ProfileExtender)
- func ScannerSkillName(command string) string
- func Usage() string
- type CapabilityBuilder
- type Command
- type DeepBrowserFunc
- type Option
- type ProfileExtender
- type ServiceResult
- type SkillReader
- type SprayResult
- type VulnResult
- type ZombieResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterAutoSkill ¶
func FormatAgentTaskPrompt ¶
func ObservationToRecord ¶
func ObservationToRecord(obs pipeline.Observation) *output.Record
func RegisterCapabilityBuilder ¶
func RegisterCapabilityBuilder(fn CapabilityBuilder)
RegisterCapabilityBuilder adds an optional capability builder that will be invoked during buildCapabilities. Intended for build-tagged init() calls.
func RegisterProfileExtender ¶
func RegisterProfileExtender(fn ProfileExtender)
RegisterProfileExtender adds a profile extender called during profileForMode.
func ScannerSkillName ¶
Types ¶
type CapabilityBuilder ¶
type CapabilityBuilder func(c *Command, flags flags, opts scanOptions, profile profile) []pipeline.Capability
CapabilityBuilder builds additional pipeline capabilities for a given profile. Build-tagged packages (e.g. katana) register builders via init() so the scan pipeline gains optional capabilities without the core scan package importing them.
type Command ¶
func (*Command) ExecuteStructured ¶
type DeepBrowserFunc ¶
type Option ¶
type Option func(*Command)
func WithDeepBrowserFunc ¶
func WithDeepBrowserFunc(fn DeepBrowserFunc) Option
func WithLogger ¶
func WithParent ¶
func WithSkillReader ¶
func WithSkillReader(r SkillReader) Option
type ProfileExtender ¶
type ProfileExtender func(mode string, p *profile)
ProfileExtender modifies a profile's capability set for a given mode. Build-tagged packages register extenders to add optional capability names.
type ServiceResult ¶
type ServiceResult = parsers.GOGOResult
type SkillReader ¶
SkillReader reads a scan sub-skill by name (e.g. "verify", "sniper", "deep"). Returns the skill content or "" if not found.
type SprayResult ¶
type SprayResult = parsers.SprayResult
type VulnResult ¶
type VulnResult = sdktypes.VulnResult
type ZombieResult ¶
type ZombieResult = parsers.ZombieResult