Versions in this module Expand all Collapse all v0 v0.2.8 Jul 1, 2026 Changes in this version + const ToolDataService + const ToolDataVuln + const ToolDataWeakpass + const ToolDataWeb type Record + AgentID string + ID string + Priority string + ScanID string + SessionID string + Source string + Summary string + Tags []string + Target string + Turn int type RecordType + const TypeError + type ToolDataEvent struct + Data any + Kind string + Target string + Timestamp time.Time + Tool string v0.2.7 Jun 25, 2026 Changes in this version type Color + func (c Color) Wrap(s, code string) string v0.2.6 Jun 23, 2026 Changes in this version + const ANSIBlue + const ANSIBold + const ANSICyan + const ANSIDim + const ANSIGreen + const ANSIMagenta + const ANSIRed + const ANSIReset + const ANSIYellow + const AssetItemError + const AssetItemFingerprint + const AssetItemLoot + const AssetItemNote + const AssetItemPath + const AssetItemResponse + const AssetItemService + const LootFingerprint + const LootVuln + const LootWeakpass + func AssetDataInt(data map[string]any, key string) int + func AssetDataString(data map[string]any, key string) string + func AssetDataStrings(data map[string]any, key string) []string + func AssetItemDetail(item AssetItem) string + func BuildTimelineMarkdown(entries []TimelineEntry) string + func CompactStrings(values ...string) []string + func ExtractQuotedMarkdown(raw string) string + func ExtractQuotedSummary(raw string) string + func FirstNonEmpty(values ...string) string + func FormatAssetReport(result *Result, color bool) string + func FormatLine(prefix, body string, color Color) string + func HasTag(tags []string, tag string) bool + func OutputPrefix(source string, colorFn func(string) string) string + func ParseRecordData[T any](r Record) (T, error) + func RenderFile(path, format, outputPath string) error + func RenderTimeline(w io.Writer, entries []TimelineEntry) error + func RenderTimelineMarkdown(w io.Writer, entries []TimelineEntry) error + func SanitizeLine(line string, color Color) string + func StripANSI(s string) string + func TruncateStr(s string, maxLen int) string + func WebPath(rawURL string) string + type AgentEvent struct + Arguments string + ContextTokens int + Error string + IsError bool + Message *AgentEventMsg + NewMessages int + ParentSessionID string + RequestMessages int + RequestModel string + RequestTools int + Result string + SessionID string + Stop string + ToolCallID string + ToolName string + ToolResults []AgentEventMsg + Turn int + Type string + Usage *AgentEventUsage + type AgentEventMsg struct + Content string + Role string + ToolCallID string + ToolCalls []agentToolCall + type AgentEventUsage struct + CacheReadTokens int + CacheWriteTokens int + CompletionTokens int + PromptTokens int + TotalTokens int + type Asset struct + ID string + Items []AssetItem + Key string + Status string + Target string + Title string + type AssetItem struct + Data map[string]any + Detail string + Kind string + Raw string + Source string + Status string + Summary string + Tags []string + Target string + Title string + type Color struct + Enabled bool + func NewColor(enabled bool) Color + func (c Color) Blue(s string) string + func (c Color) Bold(s string) string + func (c Color) Code(code string) string + func (c Color) Cyan(s string) string + func (c Color) Dim(s string) string + func (c Color) ForPriority(p string) func(string) string + func (c Color) ForStatus(status string) func(string) string + func (c Color) Green(s string) string + func (c Color) GreenBold(s string) string + func (c Color) Magenta(s string) string + func (c Color) Red(s string) string + func (c Color) RedBold(s string) string + func (c Color) Status(s string) string + func (c Color) Yellow(s string) string + func (c Color) YellowBold(s string) string + type Error struct + Message string + Source string + type Loot struct + Data map[string]any + Description string + Kind string + Priority string + Tags []string + Target string + func (l Loot) Key() string + type Record struct + Data json.RawMessage + Loot bool + Timestamp time.Time + Type RecordType + func NewLootRecord(t RecordType, data interface{}) Record + func NewRecord(t RecordType, data interface{}) Record + func ParseRecord(line []byte) (Record, error) + func ParseRecordFile(path string) ([]Record, error) + func (r Record) Marshal() []byte + type RecordType string + const TypeAgent + const TypeGogo + const TypeNeutron + const TypeScanEnd + const TypeScanStart + const TypeSpray + const TypeZombie + type Result struct + Assets []Asset + Errors []Error + Loots []Loot + Services []*parsers.GOGOResult + Summary Summary + WebProbes []*parsers.SprayResult + func RecordsToResult(records []Record) *Result + func RenderRecordFileAsAsset(path string, color bool, aggregate func(*Result) []Asset) (string, *Result, error) + type ScanEnd struct + Duration float64 + Errors int + Loots int + Services int + Targets int + Webs int + type ScanStart struct + Flags []string + Mode string + Targets []string + type Summary struct + Duration string + Errors int + FinishedAt time.Time + Loots int + Probes int + Requests int64 + Services int + StartedAt time.Time + Targets int + Tasks int64 + Webs int + type TimelineEntry struct + Data timelineItem + Timestamp time.Time + Type string + func ParseTimelineFile(path string) ([]TimelineEntry, error) + type TimelineWriter struct + func NewTimelineWriter(path string) (*TimelineWriter, error) + func (w *TimelineWriter) Close() error + func (w *TimelineWriter) WriteRecord(rec Record) v0.2.5 Jun 21, 2026 v0.2.3 Jun 18, 2026 v0.2.2 Jun 17, 2026 v0.0.0-nightly.20260704 Jul 3, 2026 v0.0.0-nightly.20260630 Jun 28, 2026 v0.0.0-nightly.20260629 Jun 28, 2026 v0.0.0-nightly.20260628 Jun 28, 2026 v0.0.0-nightly.20260627 Jun 26, 2026 v0.0.0-nightly.20260624 Jun 24, 2026 v0.0.0-nightly.20260623 Jun 23, 2026 v0.0.0-nightly.20260622 Jun 22, 2026