Versions in this module Expand all Collapse all v0 v0.0.2 Jul 12, 2024 v0.0.1 Jul 11, 2024 Changes in this version + const SEVERITY_CRITICAL + const SEVERITY_HIGH + const SEVERITY_INFO + const SEVERITY_LOW + const SEVERITY_MEDIUM + const STAGE_EXFILTRATE + const STAGE_EXPLORE + const STAGE_OPEN + type Certificate struct + CommonName string + Domains []string + Fingerprint string + IssuerName string + KeyAlgo string + KeySize int + NotAfter time.Time + NotBefore time.Time + Valid bool + type DatasetSummary struct + Collections int64 + Files int64 + Infected bool + RansomNotes []string + Rows int64 + Size int64 + type Event struct + EventFingerprint string + EventPipeline []string + EventSource string + EventType string + GeoIp GeoLocation + Host string + Http HttpEvent + Ip string + Leak LeakEvent + Mac string + Network Network + Port string + Protocol string + Reverse string + SSH SSHEvent + SSL SslEvent + Service ServiceEvent + Summary string + Tags []string + Time time.Time + Transports []string + Vendor string + func (event *Event) AddSource(source string) + func (event *Event) AddTag(tag string) + func (event *Event) HasSource(source string) bool + func (event *Event) HasTag(tag string) bool + func (event *Event) HasTransport(transport string) bool + func (event *Event) MatchServicePlugin(plugin ServicePluginInterface) bool + func (event *Event) RemoveTransport(transportCheck string) + func (event *Event) UpdateFingerprint() error + func (event *Event) Url() string + type GeoLocation struct + CityName string + ContinentName string + CountryISOCode string + CountryName string + GeoPoint GeoPoint + RegionISOCode string + RegionName string + type GeoPoint struct + Latitude float64 + Longitude float64 + type HttpEvent struct + FaviconHash string + Headers map[string]string + Length int64 + Root string + Status int + Title string + Url string + type LeakEvent struct + Dataset DatasetSummary + Severity string + Stage string + Type string + type Network struct + ASN int + NetworkCIDR string + OrganisationName string + type SSHEvent struct + Banner string + Fingerprint string + Motd string + Version int + type ServiceCredentials struct + Key string + NoAuth bool + Password string + Raw []byte + Username string + type ServiceEvent struct + Credentials ServiceCredentials + Software Software + type ServicePluginBase struct + func (plugin ServicePluginBase) DialContext(ctx context.Context, network string, addr string) (conn net.Conn, err error) + func (plugin ServicePluginBase) GetEventNetworkConnection(event *Event) (conn net.Conn, err error) + func (plugin ServicePluginBase) GetHttpClient(ctx context.Context, ip string, port string) *http.Client + func (plugin ServicePluginBase) GetNetworkConnection(network string, addr string) (conn net.Conn, err error) + func (plugin ServicePluginBase) Init() error + type ServicePluginInterface interface + GetName func() string + GetProtocols func() []string + GetStage func() string + GetVersion func() (int, int, int) + Init func() error + Run func(ctx context.Context, event *Event, options map[string]string) (hasLeak bool) + type Software struct + Fingerprint string + Modules []SoftwareModule + Name string + OperatingSystem string + Version string + type SoftwareModule struct + Fingerprint string + Name string + Version string + type SslEvent struct + Certificate Certificate + CypherSuite string + Detected bool + Enabled bool + JARM string + Version string + type WebPluginInterface interface + GetName func() string + GetRequests func() []WebPluginRequest + GetStage func() string + GetVersion func() (int, int, int) + Verify func(request WebPluginRequest, response WebPluginResponse, event *Event, ...) (hasLeak bool) + type WebPluginRequest struct + Body []byte + Headers map[string]string + Method string + Path string + Tags []string + func (request *WebPluginRequest) AddTag(tag string) + func (request *WebPluginRequest) AddTags(tags []string) + func (request *WebPluginRequest) Equal(testRequest WebPluginRequest) bool + func (request *WebPluginRequest) EqualAny(testRequests []WebPluginRequest) bool + func (request *WebPluginRequest) GetHash() string + func (request *WebPluginRequest) HasAnyTags(tags []string) bool + func (request *WebPluginRequest) HasTag(tag string) bool + type WebPluginResponse struct + Body []byte + Document *goquery.Document + Response *http.Response + func (resp *WebPluginResponse) GetHash() string