source

package
v0.0.0-...-befd956 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 NewMVPS

func NewMVPS() *MVPS

NewMVPS is constructor of MVPS

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.

Jump to

Keyboard shortcuts

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