-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
47 lines (33 loc) · 2.71 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#NOTE: these ranges are passed to re.compile
gov_misc = ['USAISC', 'DoD', r'\bNASA', 'National Aeronautics', 'Air Force Systems', 'Navy Network Information Center', 'DARPA', r'\bUSDA', '^State of ', '(?i)department', '(?i)agency', 'Shared Services Canada', 'CSRA LLC', 'General Services Commission']
uni_edu = ['(?i)university', '(?i)research', '(?i)academ(y|ic)', '(?i)institute', '(?i)education', '(?i)universidad', '(?i)science', '(?i)scientific', r'(?i)college\b', '(?i)universitaet']
nerns = ['WiscNet', 'BELNET', 'CESNET', 'UNINETT', 'SURFnet', '^ARNES$', 'Consortium GARR|Cineca Consorzio',
'Renater', 'ACONET', 'Tieteen tietotekniikan', '^SUNET ', 'Jisc Services Limited', 'Fundacao para a Ciencia',
'Entidad Publica Empresarial Red.es', '^BCnet', 'AARNet', 'National Center for High-performance Computing',
'Deutschen Forschungsnetzes', '^ESnet', 'HEAnet', 'Merit Network', 'Rede Nacional de Ensino e Pesquisa',
'[(]RISQ', 'RESTENA', 'Zdruzenie pouzivatelov Slovenskej akademickej', '^SWITCH$',
'Societe Internationale de Telecommunications Aeronautiques', '^MCNC$', 'OARnet']
#CDNs, nothing interesting there
cdns = ['Cloudflare', 'Incapsula', 'Akamai', 'Fastly', 'Content Delivery Network Ltd']
#some hosting providers (kinda), websites + some classic dbs here but not devices. note "EGIHosting" doesn't like being scanned
hosting = ['(?i)host', 'Enzu Inc', 'GoDaddy.com', 'PEG TECH INC', 'Strato AG', '(?i)unified layer', '(?i)1&1 Ionos']
#largest ones,
cloud_providers = ['Digital ?Ocean', 'Google (LLC|Ireland|Switz)', 'Amazon([.]com| Data Services)', '(?i)rackspace',
'Microsoft', 'OVH SAS', 'SoftLayer Technologies', 'Linode, LLC', '(?i)hetzner', 'Shenzhen Tencent',
'Oracle Corporation', r'Leaseweb\b', r'Alibaba\b']
corporate = ['Daimler AG', 'Apple Inc', 'Eli Lilly and Company', 'Hewlett-Packard Company', 'Alcatel-Lucent', 'NCR Corporation',
'The Procter and Gamble Company', 'FUJITSU LIMITED', 'ORANGE BUSINESS SERVICES', 'Wal-Mart Stores',
'Cisco Systems', 'SamsungSDS']
misc = ['^HT$']
####
#### ignore_patterns is only for ignore-networks.py
####
#by default we ignore all of the ranges above as originally this was for devices only
ignore_patterns = gov_misc + uni_edu + nerns + cdns + hosting + cloud_providers + corporate + misc
#groups are optional, for statistics only
ignore_pattern_groups = [['gov + defense', gov_misc], ['universities', uni_edu], ['NERN', nerns], ['CDN', cdns], ['hosting', hosting], ['cloud', cloud_providers], ['corporate', corporate]]
####
#### include_patterns is only for include-networks.py
####
include_patterns = cloud_providers
include_pattern_groups = [['cloud', cloud_providers]]