Documentation
¶
Index ¶
- func FormatAppVersion(app, version string) string
- func GetFingerprints() string
- type AppInfo
- type CatsInfo
- type CompiledFingerprint
- type CompiledFingerprints
- type Fingerprint
- type Fingerprints
- type UniqueFingerprints
- type VersionRegex
- type Wappalyze
- func (s *Wappalyze) Fingerprint(headers map[string][]string, body []byte) map[string]struct{}
- func (s *Wappalyze) FingerprintWithCats(headers map[string][]string, body []byte) map[string]CatsInfo
- 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) GetCompiledFingerprints() *CompiledFingerprints
- func (s *Wappalyze) GetFingerprints() *Fingerprints
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatAppVersion ¶ added in v0.1.5
func GetFingerprints ¶ added in v0.0.40
func GetFingerprints() string
GetFingerprints returns the fingerprint string from wappalyzer
Types ¶
type AppInfo ¶ added in v0.0.78
type AppInfo struct {
Description string
Website string
CPE string
Icon string
Categories []string
}
AppInfo contains basic information about an App.
func AppInfoFromFingerprint ¶ added in v0.1.5
func AppInfoFromFingerprint(fingerprint *CompiledFingerprint) AppInfo
type CatsInfo ¶ added in v0.0.110
type CatsInfo struct {
Cats []int
}
CatsInfo contains basic information about an App.
type CompiledFingerprint ¶
type CompiledFingerprint struct {
// contains filtered or unexported fields
}
CompiledFingerprint contains the compiled fingerprints from the tech json
func (*CompiledFingerprint) GetDOMRules ¶ added in v0.1.5
func (f *CompiledFingerprint) GetDOMRules() map[string]map[string]*VersionRegex
func (*CompiledFingerprint) GetJSRules ¶ added in v0.1.5
func (f *CompiledFingerprint) GetJSRules() map[string]*VersionRegex
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 {
Cats []int `json:"cats"`
CSS []string `json:"css"`
Cookies map[string]string `json:"cookies"`
Dom map[string]map[string]interface{} `json:"dom"`
JS map[string]string `json:"js"`
Headers map[string]string `json:"headers"`
HTML []string `json:"html"`
Script []string `json:"scripts"`
ScriptSrc []string `json:"scriptSrc"`
Meta map[string][]string `json:"meta"`
Implies []string `json:"implies"`
Description string `json:"description"`
Website string `json:"website"`
CPE string `json:"cpe"`
Icon string `json:"icon"`
}
Fingerprint is a single piece of information about a tech validated and normalized
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 UniqueFingerprints ¶ added in v0.1.5
type UniqueFingerprints struct {
// contains filtered or unexported fields
}
func NewUniqueFingerprints ¶ added in v0.1.5
func NewUniqueFingerprints() UniqueFingerprints
func (UniqueFingerprints) GetValues ¶ added in v0.1.5
func (u UniqueFingerprints) GetValues() map[string]struct{}
func (UniqueFingerprints) SetIfNotExists ¶ added in v0.1.5
func (u UniqueFingerprints) SetIfNotExists(value string)
type VersionRegex ¶ added in v0.1.5
type VersionRegex struct {
// contains filtered or unexported fields
}
func (*VersionRegex) MatchString ¶ added in v0.1.5
func (v *VersionRegex) MatchString(value string) (bool, string)
MatchString returns true if a version regex matched. The found version is also returned if any.
type Wappalyze ¶
type Wappalyze struct {
// 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) FingerprintWithCats ¶ added in v0.0.110
func (s *Wappalyze) FingerprintWithCats(headers map[string][]string, body []byte) map[string]CatsInfo
FingerprintWithCats identifies technologies on a target, based on the received response headers and body. It also returns categories information about the technology, is there's any Body should not be mutated while this function is being called, or it may lead to unexpected things.
func (*Wappalyze) FingerprintWithInfo ¶ added in v0.0.78
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 as well as icon.
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) GetCompiledFingerprints ¶ added in v0.1.5
func (s *Wappalyze) GetCompiledFingerprints() *CompiledFingerprints
GetCompiledFingerprints returns the compiled fingerprints
func (*Wappalyze) GetFingerprints ¶ added in v0.1.5
func (s *Wappalyze) GetFingerprints() *Fingerprints
GetFingerprints returns the original fingerprints