model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InputTypeOnline   = "online"
	InputTypeOffline  = "offline"
	SourceWappalyzer  = "wappalyzer"
	SourceHeadersOnly = "wappalyzer-header"
	SourceBodyOnly    = "wappalyzer-body"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Detection

type Detection struct {
	Domain     string    `json:"domain" csv:"domain"`         // example.com
	URL        string    `json:"url" csv:"url"`               // https://example.com
	Technology string    `json:"technology" csv:"technology"` // React, Cloudflare, Apache
	Source     string    `json:"source" csv:"source"`         // wappalyzer
	Path       string    `json:"path" csv:"path"`             // fingerprint
	Evidence   string    `json:"evidence" csv:"evidence"`     // wappalyzergo
	Confidence string    `json:"confidence" csv:"confidence"` // high
	Timestamp  time.Time `json:"timestamp" csv:"timestamp"`   // RFC3339
}

Detection represents a single identified technology on a target.

type Meta

type Meta struct {
	Tool        string    `json:"tool"`
	Version     string    `json:"version"`
	GeneratedAt time.Time `json:"generated_at"`
	Mode        string    `json:"mode"`       // all | domain
	InputType   string    `json:"input_type"` // online | offline
}

type OfflineInput

type OfflineInput struct {
	Domain  string
	URL     string
	Headers map[string][]string
	Body    []byte
	Path    string // Source file path for fast resume
	Skipped bool   // True if this item was already processed (resume mode)
}

OfflineInput represents the normalized input from offline sources.

func (OfflineInput) Validate

func (i OfflineInput) Validate() error

Validate performs schema validation on an OfflineInput struct.

type Target

type Target struct {
	URL    string
	Domain string
}

Jump to

Keyboard shortcuts

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