ddf

package
v0.0.0-...-e1c1db1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

© 2022 OSINT Fingerprint Project Contributors

Index

Constants

View Source
const (
	CITY         = "city"
	COUNTRY_CODE = "country"
)

standardized internal JSON field names

View Source
const (
	// NOTE:  be careful renaming these, they are used
	//  for local db download directory names, data
	//  dictionary names and the backing SQL table names
	WHOIS_NAME             = "whois"
	DANMEUK_NAME           = "danmeuk"
	UDGER_NAME             = "udger"
	DROPLIST_NAME          = "droplist"
	PWNED_NAME             = "pwned"
	MAXMIND_NAME           = "maxmind"
	KICKFIRE_PAID_NAME     = "kickfire"
	KICKFIRE_FREE_NAME     = "kickfirecountry"
	IPSUM_NAME             = "ipsum"
	IPQS_NAME              = "ipqs"
	IPINFO_NAME            = "ipinfo"
	IP2LOCATION_NAME       = "ip2location"
	DEHASHED_NAME          = "dehashed"
	AWS_NODES_NAME         = "aws_cloud"
	DBIP_NAME              = "dbip"
	WEBZ_NAME              = "webzio"
	GREYNOISE_NAME         = "greynoise"
	DOMAINTOOLS_NAME       = "domaintools"
	XCONNECT_NAME          = "xconnect"
	APIVOID_NAME           = "apivoid"
	SOMOS_NAME             = "somos"
	LEAKLOOKUP_NAME        = "leaklookup"
	BLACKHOLE_NAME         = "blackhole"
	EMAIL_TYPE_NAME        = "emailtype"
	EMAIL_VERIFY_NAME      = "emailcheck"
	IMPOSSIBLE_TRAVEL_NAME = "travel"
	FOUR43ID_NAME          = "443id"
	SOCIAL_MEDIA_NAME      = "social"
	HACKERS_NAME           = "malicious"
)
View Source
const (
	CATEGORY_EMAIL    = "email"
	CATEGORY_IPADDR   = "ip"
	CATEGORY_DOMAIN   = "domain"
	CATEGORY_PASSWORD = "password"
	CATEGORY_PHONE    = "phone"
	CATEGORY_TRAVEL   = "travel"
	CATEGORY_ALL      = "all"
)

Variables

View Source
var CONNECTORS_PHONE = []string{
	IPQS_NAME,
	XCONNECT_NAME,
	SOMOS_NAME}
View Source
var CONNECTORS_TRAVEL = []string{
	IMPOSSIBLE_TRAVEL_NAME}

Functions

func DedupArray

func DedupArray[T SliceType](s []T) []T

func GetCategories

func GetCategories() []string

func GetSignalCollectors

func GetSignalCollectors(category string) []string

Types

type DataDictionary

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

func NewDataDictionary

func NewDataDictionary() *DataDictionary

func (*DataDictionary) GetDataDictionary

func (x *DataDictionary) GetDataDictionary() map[string]DataDictionarySource

func (*DataDictionary) GetSignalCollectorsByCategory

func (x *DataDictionary) GetSignalCollectorsByCategory(category string) map[string][]*DataDictionarySignal

func (*DataDictionary) GetSignalsByCategoryAndCollector

func (x *DataDictionary) GetSignalsByCategoryAndCollector(category string, collector string) []*DataDictionarySignal

func (*DataDictionary) Init

func (x *DataDictionary) Init() *DataDictionary

NOTE: add new signal collector important signals here

type DataDictionarySignal

type DataDictionarySignal struct {
	Collector string `json:"-"`
	Name      string
	Gjson     string
}

type DataDictionarySource

type DataDictionarySource struct {
	Category string
	Entries  map[string][]*DataDictionarySignal
}

type SliceType

type SliceType interface {
	~string | ~int | ~float64
}

Jump to

Keyboard shortcuts

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