Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IoTDeviceRules []*IotDevRule ApplicationDeviceRules []*IotDevRule )
View Source
var FaviconFps []*IcoHashFingerprint
Functions ¶
This section is empty.
Types ¶
type IcoHashFingerprint ¶
type IoTDevMatchResult ¶
type IoTDevMatchResult struct {
VendorProduct string
Version string
Rule *IotDevRule
}
func MatchAll ¶
func MatchAll(banner []byte) []*IoTDevMatchResult
func (*IoTDevMatchResult) GetCPE ¶
func (i *IoTDevMatchResult) GetCPE() string
type IotDevRule ¶
type IotDevRule struct {
// app
AppClass string
AppVersion string // regexp
AppVersionRegexp *regexp.Regexp
AppName string // vendor + product
// device
DeviceClass string
DeviceModel string
DeviceModelRegexp *regexp.Regexp
DeviceVendor string
//
Flag string // regxp
FlagRegexp *regexp.Regexp
IsDevice bool
Depends []string
Implies map[string]string
}
func (*IotDevRule) Match ¶
func (i *IotDevRule) Match(result []byte) (*IoTDevMatchResult, error)
Click to show internal directories.
Click to hide internal directories.