Documentation
¶
Index ¶
- func GetFingerprints() string
- func Honeypot(body string) bool
- type AppInfo
- type CompiledFingerprint
- type CompiledFingerprints
- type Fingerprint
- type FingerprintHub
- type Fingerprints
- type Wappalyze
- func (s *Wappalyze) Fingerprint(headers map[string][]string, body []byte) map[string]struct{}
- func (s *Wappalyze) FingerprintWithInfo(headers map[string][]string, body []byte) map[string]AppInfo
- func (s *Wappalyze) FingerprintWithTitle(headers map[string][]string, body []byte) (map[string]struct{}, string)
- func (s *Wappalyze) Identify(headers map[string][]string, body []byte) string
- func (s *Wappalyze) LoadFingerprintHubFingers() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFingerprints ¶
func GetFingerprints() string
GetFingerprints returns the fingerprint string from wappalyzer
Types ¶
type CompiledFingerprint ¶
type CompiledFingerprint struct {
// contains filtered or unexported fields
}
CompiledFingerprint contains the compiled fingerprints from the tech json
type CompiledFingerprints ¶
type CompiledFingerprints struct { // Apps is organized as <name, fingerprint> Apps map[string]*CompiledFingerprint }
CompiledFingerprints contains a map of fingerprints for tech detection
type Fingerprint ¶
type Fingerprint struct { Cookies map[string]string `json:"cookies"` JS []string `json:"js"` Headers map[string]string `json:"headers"` HTML []string `json:"html"` CSS []string `json:"css"` Script []string `json:"scripts"` Meta map[string][]string `json:"meta"` Implies []string `json:"implies"` Description string `json:"description"` Website string `json:"website"` }
Fingerprint is a single piece of information about a tech validated and normalized
type FingerprintHub ¶
type FingerprintHub struct { Name string `json:"name"` Path string `json:"path"` RequestMethod string `json:"request_method"` RequestHeaders map[string]string `json:"request_headers"` RequestData string `json:"request_data"` StatusCode int `json:"status_code"` Headers map[string]string `json:"headers"` Keyword []string `json:"keyword"` FaviconHash []string `json:"favicon_hash"` Priority int `json:"priority"` }
type Fingerprints ¶
type Fingerprints struct { // Apps is organized as <name, fingerprint> Apps map[string]*Fingerprint `json:"apps"` }
Fingerprints contains a map of fingerprints for tech detection
type Wappalyze ¶
type Wappalyze struct { FingerprintHubMap map[string][]FingerprintHub // contains filtered or unexported fields }
Wappalyze is a client for working with tech detection
func (*Wappalyze) Fingerprint ¶
Fingerprint identifies technologies on a target, based on the received response headers and body.
Body should not be mutated while this function is being called, or it may lead to unexpected things.
func (*Wappalyze) FingerprintWithInfo ¶
func (s *Wappalyze) FingerprintWithInfo(headers map[string][]string, body []byte) map[string]AppInfo
FingerprintWithInfo identifies technologies on a target, based on the received response headers and body. It also returns basic information about the technology, such as description and website URL.
Body should not be mutated while this function is being called, or it may lead to unexpected things.
func (*Wappalyze) FingerprintWithTitle ¶
func (s *Wappalyze) FingerprintWithTitle(headers map[string][]string, body []byte) (map[string]struct{}, string)
FingerprintWithTitle identifies technologies on a target, based on the received response headers and body. It also returns the title of the page.
Body should not be mutated while this function is being called, or it may lead to unexpected things.
func (*Wappalyze) LoadFingerprintHubFingers ¶
LoadFingerprintHubFingers 指纹初始化