Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DefaultSet = []badman.Source{ NewMalwareDomains(), NewMVPS(), NewURLhausRecent(), NewURLhausOnline(), }
DefaultSet is default set of blacklist source that is maintained by badman.
Functions ¶
This section is empty.
Types ¶
type MVPS ¶
type MVPS struct {
URL string
}
MVPS downloads blacklist from http://winhelp2002.mvps.org/hosts.txt
func (*MVPS) Download ¶
func (x *MVPS) Download() chan *badman.EntityQueue
Download of MVPS downloads domains.txt and parses to extract domain names.
type MalwareDomains ¶
type MalwareDomains struct {
URL string
}
MalwareDomains downloads blacklist from http://www.malwaredomains.com/
func NewMalwareDomains ¶
func NewMalwareDomains() *MalwareDomains
NewMalwareDomains is constructor of MalwareDomains
func (*MalwareDomains) Download ¶
func (x *MalwareDomains) Download() chan *badman.EntityQueue
Download of MalwareDomains downloads domains.txt and parses to extract domain names.
type URLhausOnline ¶
type URLhausOnline struct {
URL string
}
URLhausOnline downloads blacklist from https://urlhaus.abuse.ch/downloads/csv_recent/ The blacklist has only online URLs.
func NewURLhausOnline ¶
func NewURLhausOnline() *URLhausOnline
NewURLhausOnline is constructor of URLhausOnline
func (*URLhausOnline) Download ¶
func (x *URLhausOnline) Download() chan *badman.EntityQueue
Download of URLhausOnline downloads domains.txt and parses to extract domain names.
type URLhausRecent ¶
type URLhausRecent struct {
URL string
}
URLhausRecent downloads blacklist from https://urlhaus.abuse.ch/downloads/csv_recent/ The blacklist has only URLs in recent 30 days.
func NewURLhausRecent ¶
func NewURLhausRecent() *URLhausRecent
NewURLhausRecent is constructor of URLhausRecent
func (*URLhausRecent) Download ¶
func (x *URLhausRecent) Download() chan *badman.EntityQueue
Download of URLhausRecent downloads domains.txt and parses to extract domain names.