Documentation
¶
Overview ¶
Package techdetect provides technology detection for websites using wappalyzergo. It identifies CMS platforms, CDNs, frameworks, and other technologies used by domains.
Index ¶
Constants ¶
View Source
const MaxHTMLSampleSize = 50 * 1024
MaxHTMLSampleSize is the maximum size of HTML to store for debugging (50KB)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
Detector provides technology detection capabilities
type Result ¶
type Result struct {
// Technologies maps technology name to its categories (e.g., {"WordPress": ["CMS"], "Cloudflare": ["CDN"]})
Technologies map[string][]string `json:"technologies"`
// RawHeaders contains the HTTP headers from the detection request
RawHeaders map[string][]string `json:"raw_headers"`
// HTMLSample contains a truncated sample of the HTML body (max 50KB)
HTMLSample string `json:"html_sample"`
}
Result contains the detected technologies and raw data for a domain
func (*Result) HeadersJSON ¶
HeadersJSON returns the raw headers as a JSON string for database storage
func (*Result) TechnologiesJSON ¶
TechnologiesJSON returns the technologies as a JSON string for database storage
Click to show internal directories.
Click to hide internal directories.