techdetect

package
v0.33.14 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 6 Imported by: 0

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector struct {
	// contains filtered or unexported fields
}

func New

func New() (*Detector, error)

func (*Detector) Detect

func (d *Detector) Detect(headers http.Header, body []byte) *Result

func (*Detector) DetectFromResponse

func (d *Detector) DetectFromResponse(resp *http.Response, body []byte) *Result

type Result

type Result struct {
	Technologies map[string][]string `json:"technologies"`
	RawHeaders   map[string][]string `json:"raw_headers"`
	HTMLSample   string              `json:"html_sample"` // truncated to MaxHTMLSampleSize
}

func (*Result) HeadersJSON

func (r *Result) HeadersJSON() ([]byte, error)

func (*Result) TechnologiesJSON

func (r *Result) TechnologiesJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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