detector

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct {
	AppName string     `json:"app_name"`
	Matches [][]string `json:"matches"`
	Version string     `json:"version"`
	// contains filtered or unexported fields
}

Match type encapsulates the app information from a match on a document

func (*Match) FindInHeaders

func (app *Match) FindInHeaders(headers *fasthttp.ResponseHeader) (matches [][]string, version string)

type StringArray

type StringArray []string

StringArray type is a wrapper for []string for use in unmarshalling the technologies.json

func (*StringArray) UnmarshalJSON

func (t *StringArray) UnmarshalJSON(data []byte) error

UnmarshalJSON is a custom unmarshaler for handling bogus technologies.json types from wappalyzer

type Technology

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

func (*Technology) Technology

func (t *Technology) Technology(url string, response []byte, headers *fasthttp.ResponseHeader) []Match

Jump to

Keyboard shortcuts

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