antiphishing

package
v2.49.3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const PhishingCheckTrustRatingThreshold = 0.5
View Source
const RedisKeyPhishingDomains = "phishing_domains"

Variables

This section is empty.

Functions

func CheckMessageForPhishingDomains

func CheckMessageForPhishingDomains(input string) (string, error)

func RegisterPlugin

func RegisterPlugin()

Types

type BitFlowAntiFishResponse

type BitFlowAntiFishResponse struct {
	Match   bool `json:"match"`
	Matches []struct {
		Followed    bool    `json:"followed"`
		Domain      string  `json:"domain"`
		URL         string  `json:"url"`
		Source      string  `json:"source"`
		Type        string  `json:"type"`
		TrustRating float64 `json:"trust_rating"`
	} `json:"matches"`
}

type Plugin

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

func (*Plugin) PluginInfo

func (p *Plugin) PluginInfo() *common.PluginInfo

func (*Plugin) RunBackgroundWorker

func (p *Plugin) RunBackgroundWorker()

func (*Plugin) StopBackgroundWorker

func (p *Plugin) StopBackgroundWorker(wg *sync.WaitGroup)

type SinkingYachtsRecentDomainsResponse

type SinkingYachtsRecentDomainsResponse struct {
	Type    string   `json:"type"`
	Domains []string `json:"domains"`
}

Jump to

Keyboard shortcuts

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