id
int64
0
458k
file_name
stringlengths
4
119
file_path
stringlengths
14
227
content
stringlengths
24
9.96M
size
int64
24
9.96M
language
stringclasses
1 value
extension
stringclasses
14 values
total_lines
int64
1
219k
avg_line_length
float64
2.52
4.63M
max_line_length
int64
5
9.91M
alphanum_fraction
float64
0
1
repo_name
stringlengths
7
101
repo_stars
int64
100
139k
repo_forks
int64
0
26.4k
repo_open_issues
int64
0
2.27k
repo_license
stringclasses
12 values
repo_extraction_date
stringclasses
433 values
39,600
test_parser_feodotracker.py
certtools_intelmq/intelmq/tests/bots/parsers/abusech/test_parser_feodotracker.py
# SPDX-FileCopyrightText: 2022 Filip Pokorn√Ω # # SPDX-License-Identifier: AGPL-3.0-or-later import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.abusech.parser_feodotracker import AbusechFeodoTrackerParserBot INPUT = """ [ { "ip_address": "51.178.16...
5,420
Python
.py
135
32.637037
354
0.649223
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,601
test_parser_csv.py
certtools_intelmq/intelmq/tests/bots/parsers/cert_eu/test_parser_csv.py
# SPDX-FileCopyrightText: 2018 Pierre Dumont # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.cert_eu.parser_csv import CertEUCSVParserBot with open(os.path.join(os.path.dirnam...
3,635
Python
.py
89
34.831461
128
0.641098
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,602
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/json/test_parser.py
# SPDX-FileCopyrightText: 2016 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import base64 import os import unittest import intelmq.lib.test as test from intelmq.bots.parsers.json.parser import JSONParserBot ONELINE_REPORT = {"feed.name": "Test", "raw": "ey...
3,379
Python
.py
73
35.60274
232
0.576678
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,603
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/blocklistde/test_parser.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.blocklistde.parser import BlockListDEParserBot with open(os.path.join(os.path.d...
2,128
Python
.py
55
30.072727
77
0.581677
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,604
test_parser_atd.py
certtools_intelmq/intelmq/tests/bots/parsers/mcafee/test_parser_atd.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.mcafee.parser_atd import ATDParserBot with open(os.path.join(os.path.dirname(__...
1,805
Python
.py
42
33.97619
107
0.6255
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,605
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/vxvault/test_parser.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test from intelmq.bots.parsers.vxvault.parser import VXVaultParserBot EXAMPLE_REPORT = {"feed.name": "VxVault", "feed.url": "http://vxva...
1,662
Python
.py
38
33.421053
79
0.601611
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,606
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/bambenek/test_parser.py
# SPDX-FileCopyrightText: 2016 jgedeon120 # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.bambenek.parser import BambenekParserBot with open(os.path.join(os.path.dirname(__fi...
4,829
Python
.py
90
43.011111
212
0.631914
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,607
test_parser_fireeye.py
certtools_intelmq/intelmq/tests/bots/parsers/fireeye/test_parser_fireeye.py
# SPDX-FileCopyrightText: 2021 CysihZ # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.fireeye.parser import FireeyeParserBot with open(os.path.join(os.path.dirname(__file__), ...
2,796
Python
.py
60
33.733333
115
0.561835
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,608
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/ci_army/test_parser.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test from intelmq.bots.parsers.ci_army.parser import CIArmyParserBot OUTPUT1 = {'__type': 'Event', 'classification.type': 'blacklist', ...
1,040
Python
.py
29
29.931034
95
0.643713
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,609
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/cleanmx/test_parser.py
# SPDX-FileCopyrightText: 2016 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.cleanmx.parser import \ CleanMXParserBot with open(os.path.join(os.path.dir...
15,466
Python
.py
176
69.204545
1,606
0.675633
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,610
test_zoneh.py
certtools_intelmq/intelmq/tests/bots/parsers/zoneh/test_zoneh.py
# SPDX-FileCopyrightText: 2017 Chris Horsley # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.zoneh.parser import ZoneHParserBot with open( os.path.join(os.path.dirname(__f...
4,447
Python
.py
112
35.0625
78
0.674855
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,611
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/key_value/test_parser.py
# SPDX-FileCopyrightText: 2020 Karl-Johan Karlsson # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import json import unittest import intelmq.lib.test as test from intelmq.bots.parsers.key_value.parser import KeyValueParserBot from intelmq.lib import utils RAW_REPORTS = [ 'srcip=192.0.2.1...
4,619
Python
.py
158
22.265823
69
0.574358
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,612
test_parser_csv_skip_header.py
certtools_intelmq/intelmq/tests/bots/parsers/generic/test_parser_csv_skip_header.py
# SPDX-FileCopyrightText: 2023 Filip Pokorn√Ω # # SPDX-License-Identifier: AGPL-3.0-or-later import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.generic.parser_csv import GenericCsvParserBot INPUT_1 = """\ 11.11.11.11,http://test.com 5.5.5.5,https://example.com...
3,514
Python
.py
95
30.336842
122
0.62467
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,613
test_parser_csv.py
certtools_intelmq/intelmq/tests/bots/parsers/generic/test_parser_csv.py
# SPDX-FileCopyrightText: 2016 robcza # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.generic.parser_csv import GenericCsvParserBot with open(os.path.join(os.path.dirname(__fi...
4,915
Python
.py
96
37.125
90
0.5359
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,614
test_parser_csv_data_type.py
certtools_intelmq/intelmq/tests/bots/parsers/generic/test_parser_csv_data_type.py
# SPDX-FileCopyrightText: 2017 navtej # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import os import json import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.generic.parser_csv import GenericCsvParserBot with open(os.path.join(os.path....
3,175
Python
.py
70
36.085714
101
0.601621
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,615
test_parser_csv4.py
certtools_intelmq/intelmq/tests/bots/parsers/generic/test_parser_csv4.py
# SPDX-FileCopyrightText: 2017 navtej # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import os import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.generic.parser_csv import GenericCsvParserBot with open(os.path.join(os.path.dirname(__fi...
3,586
Python
.py
76
33.605263
100
0.518444
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,616
test_parser_csv_extra_regex.py
certtools_intelmq/intelmq/tests/bots/parsers/generic/test_parser_csv_extra_regex.py
# SPDX-FileCopyrightText: 2017 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import os import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.generic.parser_csv import GenericCsvParserBot with open(os.path.join(os.path.di...
4,889
Python
.py
94
35.670213
100
0.50648
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,617
test_parser_csv_invalid_values.py
certtools_intelmq/intelmq/tests/bots/parsers/generic/test_parser_csv_invalid_values.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.generic.parser_csv import GenericCsvParserBot with open(os.path.join(os.path.di...
3,270
Python
.py
70
36.428571
128
0.596232
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,618
test_parser_multivalue_cols.py
certtools_intelmq/intelmq/tests/bots/parsers/generic/test_parser_multivalue_cols.py
# SPDX-FileCopyrightText: 2017 navtej # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import os import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.generic.parser_csv import GenericCsvParserBot with open(os.path.join(os.path.dirname(__fi...
2,721
Python
.py
59
33.559322
100
0.537736
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,619
test_filter_blacklist.py
certtools_intelmq/intelmq/tests/bots/parsers/generic/test_filter_blacklist.py
# SPDX-FileCopyrightText: 2017 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import os import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.generic.parser_csv import GenericCsvParserBot with open(os.path.join(os.path.di...
1,841
Python
.py
42
34.428571
100
0.594187
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,620
test_parser_csv2.py
certtools_intelmq/intelmq/tests/bots/parsers/generic/test_parser_csv2.py
# SPDX-FileCopyrightText: 2016 robcza # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test from intelmq.bots.parsers.generic.parser_csv import GenericCsvParserBot EXAMPLE_REPORT = {"feed.name": "Sample CSV Feed", "feed.url": "http:/...
3,306
Python
.py
61
39.196721
90
0.582251
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,621
test_filter_whitelist.py
certtools_intelmq/intelmq/tests/bots/parsers/generic/test_filter_whitelist.py
# SPDX-FileCopyrightText: 2017 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import os import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.generic.parser_csv import GenericCsvParserBot with open(os.path.join(os.path.di...
1,848
Python
.py
42
34.595238
100
0.595768
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,622
test_malwareurl.py
certtools_intelmq/intelmq/tests/bots/parsers/malwareurl/test_malwareurl.py
# SPDX-FileCopyrightText: 2018 dargen3 # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test from intelmq.bots.parsers.malwareurl.parser import MalwareurlParserBot from intelmq.lib import utils with open(os.path.join(os.path.dirname(__file__)...
2,359
Python
.py
54
36.351852
102
0.623529
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,623
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/anubisnetworks/test_parser.py
# SPDX-FileCopyrightText: 2017 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os.path import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.anubisnetworks.parser import AnubisNetworksParserBot with open(os.path.join...
16,692
Python
.py
318
37.72327
103
0.547156
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,624
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/github_feed/test_parser.py
# SPDX-FileCopyrightText: 2019 Tomas Bellus # # SPDX-License-Identifier: AGPL-3.0-or-later import json import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.github_feed.parser import GithubFeedParserBot with open(os.path.join(os.path.dirname(__file__), ...
4,873
Python
.py
88
48.522727
140
0.705586
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,625
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/eset/test_parser.py
# SPDX-FileCopyrightText: 2020 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import json import unittest import intelmq.lib.test as test from intelmq.bots.parsers.eset.parser import ESETParserBot from intelmq.lib import utils RAW_REPORT = """ [{"confidence": "Low", "count":...
3,228
Python
.py
62
44.467742
399
0.629559
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,626
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/danger_rulez/test_parser.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test from intelmq.bots.parsers.danger_rulez.parser import BruteForceBlockerParserBot RAW = ("IyBJUAkJCSMgTGFzdCBSZXBvcnRlZAkJCUNvdW50CUlECjIwMy4wLjExMy40O...
1,484
Python
.py
34
37.352941
85
0.699306
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,627
test_parser_crimeserver.py
certtools_intelmq/intelmq/tests/bots/parsers/blueliv/test_parser_crimeserver.py
# SPDX-FileCopyrightText: 2015 robcza # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.blueliv.parser_crimeserver import \ BluelivCrimeserverParserBot with open(os.path.joi...
2,841
Python
.py
72
33.777778
101
0.647698
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,628
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/shodan/test_parser.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import base64 import json import os import unittest import intelmq.lib.test as test from intelmq.bots.parsers.shodan.parser import ShodanParserBot with open(os.path.join(os.path.dirname(__file__), '...
23,615
Python
.py
437
36.237986
1,555
0.506219
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,629
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/phishtank/test_parser.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.phishtank.parser import PhishTankParserBot INPUT = """ [ { "phish_id": "7946016", ...
6,753
Python
.py
140
41.642857
690
0.709482
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,630
test_surbl.py
certtools_intelmq/intelmq/tests/bots/parsers/surbl/test_surbl.py
# SPDX-FileCopyrightText: 2018 dargen3 # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- from os import path import unittest import intelmq.lib.test as test from intelmq.bots.parsers.surbl.parser import SurblParserBot from intelmq.lib import utils with open(path.join(path.dirname(__file__), 'tes...
1,799
Python
.py
49
29.653061
92
0.611143
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,631
test_parser_dga.py
certtools_intelmq/intelmq/tests/bots/parsers/fraunhofer/test_parser_dga.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test from intelmq.bots.parsers.fraunhofer.parser_dga import FraunhoferDGAParserBot EXAMPLE_REPORT = {"feed.url": "https://dgarchive.caad.fkie.fraunhofer.d...
2,774
Python
.py
55
36.236364
80
0.576966
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,632
ddosattack_tests_common.py
certtools_intelmq/intelmq/tests/bots/parsers/fraunhofer/ddosattack_tests_common.py
# SPDX-FileCopyrightText: 2019 Sascha Alexander Jopen # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import json from intelmq.lib import test, utils REPORT_TEMPLATE = { 'feed.url': 'https://feed.caad.fkie.fraunhofer.de/ddosattackfeed', '__type': 'Report', 'feed.name': 'Fraunhofer...
1,490
Python
.py
46
25.73913
70
0.60824
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,633
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/calidog/test_parser.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os.path import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.calidog.parser_certstream import CertStreamParserBot with open(os.path.join...
1,883
Python
.py
51
29.058824
78
0.594402
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,634
test_parser_dansguardian.py
certtools_intelmq/intelmq/tests/bots/parsers/malwarepatrol/test_parser_dansguardian.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.malwarepatrol.parser_dansguardian import \ DansParserBot with open(os.path....
3,566
Python
.py
43
76.651163
944
0.834567
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,635
test_parser_callback.py
certtools_intelmq/intelmq/tests/bots/parsers/hibp/test_parser_callback.py
# SPDX-FileCopyrightText: 2019 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Data is from the HIBP Documentation """ import json import unittest import pkg_resources import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.hibp.parser_ca...
4,221
Python
.py
98
34.755102
127
0.624239
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,636
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/dataplane/test_parser.py
# SPDX-FileCopyrightText: 2016 jgedeon120 # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.dataplane.parser import DataplaneParserBot, CATEGORY feed_name_map = { 'dnsrd': ...
11,770
Python
.py
216
43.435185
182
0.638368
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,637
test_parser_ctip.py
certtools_intelmq/intelmq/tests/bots/parsers/microsoft/test_parser_ctip.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import json import os import unittest from intelmq.bots.parsers.microsoft.parser_ctip import MicrosoftCTIPParserBot from intelmq.lib import test from intelmq.lib.utils import base64_encode with ope...
4,490
Python
.py
118
33.279661
225
0.619638
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,638
test_parser_bingmurls.py
certtools_intelmq/intelmq/tests/bots/parsers/microsoft/test_parser_bingmurls.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import json import os import unittest from intelmq.bots.parsers.microsoft.parser_bingmurls import MicrosoftBingMurlsParserBot from intelmq.lib import test from intelmq.lib.utils import base64_encode ...
2,767
Python
.py
73
33.273973
87
0.681462
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,639
test_parser_ctip_azure.py
certtools_intelmq/intelmq/tests/bots/parsers/microsoft/test_parser_ctip_azure.py
# SPDX-FileCopyrightText: 2020 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import codecs import json import os import unittest from intelmq.bots.parsers.microsoft.parser_ctip import MicrosoftCTIPParserBot from intelmq.lib import test from intelmq.lib.utils import base64_enc...
12,648
Python
.py
247
45.129555
1,658
0.724608
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,640
test_mapping.py
certtools_intelmq/intelmq/tests/bots/parsers/shadowserver/test_mapping.py
# SPDX-FileCopyrightText: 2020 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later import unittest import os import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.shadowserver.parser import ShadowserverParserBot with open(os.path.join(os.path.dirname(__file__), ...
1,896
Python
.py
46
34.673913
136
0.666123
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,641
test_helpers.py
certtools_intelmq/intelmq/tests/bots/parsers/shadowserver/test_helpers.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Created on Thu Aug 9 15:18:24 2018 @author: sebastian """ import unittest from intelmq.bots.parsers.shadowserver._config import validate_to_none, convert_bool class TestShadowserverHelpers(un...
1,195
Python
.py
28
36.857143
84
0.685345
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,642
test_report_telnet.py
certtools_intelmq/intelmq/tests/bots/parsers/shadowserver/test_report_telnet.py
# SPDX-FileCopyrightText: 2019 Guillermo Rodriguez # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.shadowserver.parser import ShadowserverParserBot with open(os.path.join(os.p...
3,373
Python
.py
77
33.168831
75
0.574125
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,643
test_parameters.py
certtools_intelmq/intelmq/tests/bots/parsers/shadowserver/test_parameters.py
# SPDX-FileCopyrightText: 2019 Guillermo Rodriguez # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.shadowserver.parser import ShadowserverParserBot with open(os.path.join(os.p...
2,749
Python
.py
70
32.242857
75
0.627297
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,644
test_download_schema.py
certtools_intelmq/intelmq/tests/bots/parsers/shadowserver/test_download_schema.py
# SPDX-FileCopyrightText: 2023 The Shadowserver Foundation # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Created on Thu Jul 27 19:44:44 2023 """ import logging import unittest import unittest.mock as mock from intelmq.bots.parsers.shadowserver.parser import ShadowserverParserBot import i...
1,072
Python
.py
27
34.592593
90
0.722543
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,645
test_broken.py
certtools_intelmq/intelmq/tests/bots/parsers/shadowserver/test_broken.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.shadowserver.parser import ShadowserverParserBot REPORT1 = {"raw": utils.base64_encode('a...
5,142
Python
.py
105
38.952381
173
0.620868
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,646
test_report_switch.py
certtools_intelmq/intelmq/tests/bots/parsers/shadowserver/test_report_switch.py
# SPDX-FileCopyrightText: 2019 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.shadowserver.parser import ShadowserverParserBot with open(os.path.join(os.path...
2,073
Python
.py
47
36.659574
89
0.641509
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,647
test_report_smb.py
certtools_intelmq/intelmq/tests/bots/parsers/shadowserver/test_report_smb.py
# SPDX-FileCopyrightText: 2019 Guillermo Rodriguez # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.shadowserver.parser import ShadowserverParserBot with open(os.path.join(os.p...
4,602
Python
.py
107
32.71028
87
0.564451
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,648
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/n6/test_parser.py
# SPDX-FileCopyrightText: 2015 aaronkaplan # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.n6.parser_n6stomp import N6StompParserBot EXAMPLE_REPORT = {"raw": "eyJjYXRlZ29yeSI6ICJib3RzIi...
6,914
Python
.py
116
45.706897
492
0.59292
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,649
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/turris/test_parser.py
# SPDX-FileCopyrightText: 2023 Filip Pokorn√Ω # # SPDX-License-Identifier: AGPL-3.0-or-later import unittest import intelmq.lib.test as test from intelmq.bots.parsers.turris.parser import TurrisGreylistParserBot from intelmq.lib import utils INPUT = """\ # For the terms of use see https://view.sentinel.turris.cz/gre...
4,794
Python
.py
137
27.992701
98
0.63073
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,650
test_parser_cert.py
certtools_intelmq/intelmq/tests/bots/parsers/spamhaus/test_parser_cert.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.spamhaus.parser_cert import SpamhausCERTParserBot with open(os.path.join(os.pat...
13,901
Python
.py
257
30.856031
136
0.419203
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,651
test_parser_drop.py
certtools_intelmq/intelmq/tests/bots/parsers/spamhaus/test_parser_drop.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.spamhaus.parser_drop import SpamhausDropParserBot with open(os.path.join(os.pa...
4,081
Python
.py
85
35.847059
85
0.558794
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,652
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/twitter/test_parser.py
# SPDX-FileCopyrightText: 2018 Karel # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import sys import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.twitter.parser import TwitterParserBot with open(os.path.join(os.path.dirname(_...
3,258
Python
.py
77
33.363636
81
0.586751
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,653
test_parser_proki.py
certtools_intelmq/intelmq/tests/bots/parsers/cznic/test_parser_proki.py
# SPDX-FileCopyrightText: 2020 sinus-x # # SPDX-License-Identifier: AGPL-3.0-or-later import os import json import unittest from intelmq.lib import test, utils from intelmq.bots.parsers.cznic.parser_proki import CZNICProkiParserBot with open(os.path.join(os.path.dirname(__file__), "example_proki.json")) as handle: ...
2,076
Python
.py
58
31.413793
98
0.672981
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,654
test_parser_haas.py
certtools_intelmq/intelmq/tests/bots/parsers/cznic/test_parser_haas.py
# SPDX-FileCopyrightText: 2020 gethvi # # SPDX-License-Identifier: AGPL-3.0-or-later import unittest import sys from intelmq.lib import test from intelmq.lib import utils from intelmq.bots.parsers.cznic.parser_haas import CZNICHaasParserBot INPUT = """[ { "time": "2020-06-29T00:00:00.901916+00:00", ...
3,525
Python
.py
90
33.633333
274
0.688577
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,655
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/openphish/test_parser.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import base64 import os import unittest import intelmq.lib.test as test from intelmq.bots.parsers.openphish.parser import OpenPhishParserBot with open(os.path.join(os.path.dirname(__file__), 'feed.t...
1,287
Python
.py
33
33.545455
75
0.673896
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,656
test_parser_commercial.py
certtools_intelmq/intelmq/tests/bots/parsers/openphish/test_parser_commercial.py
# SPDX-FileCopyrightText: 2018 Filip Pokorn√Ω # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.openphish.parser_commercial import OpenPhishCommercialParserBot INPUT = """\ {"sector": "Tel...
10,298
Python
.py
94
104.851064
1,546
0.816425
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,657
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/dyn/test_parser.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test from intelmq.bots.parsers.dyn.parser import DynParserBot from intelmq.lib import utils with open(os.path.join(os.path.dirname(__file__), 'p...
4,964
Python
.py
83
45.518072
146
0.60189
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,658
test_parser_asn.py
certtools_intelmq/intelmq/tests/bots/parsers/dshield/test_parser_asn.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.dshield.parser_asn import DShieldASNParserBot with open(os.path.join(os.path.di...
2,421
Python
.py
58
32.87931
93
0.601872
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,659
test_parser_block.py
certtools_intelmq/intelmq/tests/bots/parsers/dshield/test_parser_block.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.dshield.parser_block import DshieldBlockParserBot with open(os.path.join(os.pat...
2,333
Python
.py
55
33.745455
105
0.609175
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,660
test_cap_program.py
certtools_intelmq/intelmq/tests/bots/parsers/cymru/test_cap_program.py
# SPDX-FileCopyrightText: 2017 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os.path import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.cymru.parser_cap_program import CymruCAPProgramParserBot with open(os.path....
6,100
Python
.py
142
33.943662
82
0.572389
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,661
test_full_bogons.py
certtools_intelmq/intelmq/tests/bots/parsers/cymru/test_full_bogons.py
# SPDX-FileCopyrightText: 2017 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test from intelmq.bots.parsers.cymru.parser_full_bogons import \ CymruFullBogonsParserBot REPORT = {'__type': 'Report', 'feed.url': 'https:/...
2,928
Python
.py
62
39.516129
124
0.663866
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,662
test_cap_program_new.py
certtools_intelmq/intelmq/tests/bots/parsers/cymru/test_cap_program_new.py
# SPDX-FileCopyrightText: 2019 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os.path import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.cymru.parser_cap_program import CymruCAPProgramParserBot with open(os.path....
10,738
Python
.py
270
29.803704
82
0.553653
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,663
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/misp/test_parser.py
# SPDX-FileCopyrightText: 2016 kralca # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest from intelmq.bots.parsers.misp.parser import MISPParserBot from intelmq.lib import test from intelmq.lib.utils import base64_encode with open(os.path.join(os.path.dirname(__file__),...
1,917
Python
.py
51
33.27451
84
0.674042
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,664
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/alienvault/test_parser.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test from intelmq.bots.parsers.alienvault.parser import AlienVaultParserBot RAW = "MTkyLjAuMC4xIzQjMiNNYWxpY2lvdXMgSG9zdCNERSMjMCwxIzMKMTAuMC4wLjQjMyMyI1N...
1,558
Python
.py
37
35.135135
120
0.669755
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,665
test_parser_otx.py
certtools_intelmq/intelmq/tests/bots/parsers/alienvault/test_parser_otx.py
# SPDX-FileCopyrightText: 2015 robcza # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.parsers.alienvault.parser_otx import AlienVaultOTXParserBot with open(os.path.join(os.path.dirnam...
9,686
Python
.py
180
47.511111
468
0.717437
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,666
test_feodotracker.py
certtools_intelmq/intelmq/tests/bots/parsers/html_table/test_feodotracker.py
# SPDX-FileCopyrightText: 2021 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later import codecs import os import unittest import intelmq.lib.test as test from intelmq.bots.parsers.html_table.parser import HTMLTableParserBot from intelmq.lib import utils with codecs.open(os.path.join(os.path.dirname(__fil...
2,240
Python
.py
55
32.672727
117
0.604234
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,667
test_parser.py
certtools_intelmq/intelmq/tests/bots/parsers/html_table/test_parser.py
# SPDX-FileCopyrightText: 2019 Brajneesh Kumar # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.html_table.parser import HTMLTableParserBot with open(os.path.join(os.path.dirna...
3,136
Python
.py
58
40.948276
101
0.627975
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,668
test_parser_column_split.py
certtools_intelmq/intelmq/tests/bots/parsers/html_table/test_parser_column_split.py
# SPDX-FileCopyrightText: 2019 Brajneesh Kumar # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import datetime import os import unittest import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.html_table.parser import HTMLTableParserBot with open(os.path.jo...
3,992
Python
.py
72
41.805556
103
0.611979
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,669
test_viriback.py
certtools_intelmq/intelmq/tests/bots/parsers/html_table/test_viriback.py
# SPDX-FileCopyrightText: 2019 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test from intelmq.bots.parsers.html_table.parser import HTMLTableParserBot from intelmq.lib import utils with open(os.path.join(os.path.dirname(_...
3,490
Python
.py
69
40.449275
184
0.621257
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,670
test_parser_with_attribute.py
certtools_intelmq/intelmq/tests/bots/parsers/html_table/test_parser_with_attribute.py
# SPDX-FileCopyrightText: 2019 Brajneesh Kumar # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import datetime import os import unittest import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.html_table.parser import HTMLTableParserBot with open(os.path.jo...
4,810
Python
.py
92
37.097826
95
0.561038
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,671
test_parser_multivalue_cols.py
certtools_intelmq/intelmq/tests/bots/parsers/html_table/test_parser_multivalue_cols.py
# SPDX-FileCopyrightText: 2019 Brajneesh Kumar # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.html_table.parser import HTMLTableParserBot with open(os.path.join(os.path.dirna...
2,801
Python
.py
58
37.413793
104
0.626374
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,672
test_parser_ignore_values.py
certtools_intelmq/intelmq/tests/bots/parsers/html_table/test_parser_ignore_values.py
# SPDX-FileCopyrightText: 2019 Brajneesh Kumar # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.utils as utils import intelmq.lib.test as test from intelmq.bots.parsers.html_table.parser import HTMLTableParserBot with open(os.path.join(os.path.dirna...
5,897
Python
.py
90
50.644444
1,027
0.652737
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,673
test_threatminer.py
certtools_intelmq/intelmq/tests/bots/parsers/threatminer/test_threatminer.py
# SPDX-FileCopyrightText: 2018 dargen3 # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test from intelmq.bots.parsers.threatminer.parser import ThreatminerParserBot from intelmq.lib import utils with open(os.path.join(os.path.dirname(__file_...
2,161
Python
.py
54
32.703704
86
0.622498
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,674
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/uwhoisd/test_expert.py
# SPDX-FileCopyrightText: 2021 Raphaël Vinot # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import json import intelmq.lib.test as test from intelmq.bots.experts.uwhoisd.expert import UniversalWhoisExpertBot EXAMPLE_INPUT = {"__type": "Event", "sou...
1,418
Python
.py
32
37.59375
141
0.664971
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,675
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/rdap/test_expert.py
# SPDX-FileCopyrightText: 2021 Sebastian Waldbauer # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Testing rdap expert. """ import unittest import os import requests_mock import intelmq.lib.test as test from intelmq.bots.experts.rdap.expert import RDAPExpertBot EXAMPLE_INPUT = {"__type":...
2,996
Python
.py
72
33.847222
110
0.625516
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,676
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/field_reducer/test_expert.py
# SPDX-FileCopyrightText: 2017 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test from intelmq.bots.experts.field_reducer.expert import FieldReducerExpertBot EXAMPLE_INPUT = {"__type": "Event", "classification.type...
1,536
Python
.py
37
33.108108
90
0.621894
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,677
test_expert_mar.py
certtools_intelmq/intelmq/tests/bots/experts/mcafee/test_expert_mar.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later import os if os.environ.get('INTELMQ_TEST_EXOTIC'): import intelmq.bots.experts.mcafee.expert_mar
199
Python
.py
6
31.166667
49
0.795812
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,678
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/domain_valid/test_expert.py
""" Domain validator SPDX-FileCopyrightText: 2021 Marius Karotkis <marius.karotkis@gmail.com> SPDX-License-Identifier: AGPL-3.0-or-later """ import unittest import intelmq.lib.test as test from intelmq.bots.experts.domain_valid.expert import DomainValidExpertBot import os.path EXAMPLE_INPUT_DROP = { "__type": "E...
3,170
Python
.py
90
29.977778
119
0.651125
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,679
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/rfc1918/test_expert.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Testing rfc 1918 expert bot. """ import unittest import intelmq.lib.test as test from intelmq.bots.experts.rfc1918.expert import RFC1918ExpertBot INPUT1 = {"__type": "Event", "source....
3,765
Python
.py
99
28.616162
87
0.565789
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,680
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/taxonomy/test_expert.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test from intelmq.bots.experts.taxonomy.expert import TaxonomyExpertBot, TAXONOMY from intelmq.lib.harmonization import ClassificationType, ClassificationT...
3,256
Python
.py
74
33.702703
94
0.607763
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,681
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/truncate_by_delimiter/test_expert.py
""" Testing truncate by delimiter bot SPDX-FileCopyrightText: 2021 Marius Karotkis <marius.karotkis@gmail.com> SPDX-License-Identifier: AGPL-3.0-or-later """ import unittest import intelmq.lib.test as test from intelmq.bots.experts.truncate_by_delimiter.expert import TruncateByDelimiterExpertBot EXAMPLE_INPUT = { ...
2,735
Python
.py
63
38.666667
275
0.71203
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,682
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/wait/test_expert.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import time import intelmq.lib.test as test from intelmq.bots.experts.wait.expert import WaitExpertBot EXAMPLE_INPUT1 = {"__type": "Event", "time.observation": "20...
1,215
Python
.py
37
26.702703
65
0.64837
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,683
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/gethostbyname/test_expert.py
# SPDX-FileCopyrightText: 2016 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Testing GethostbynameExpertBot. """ import unittest import intelmq.lib.test as test from intelmq.bots.experts.gethostbyname.expert import GethostbynameExpertBot EXAMPLE_INPUT = {"__type": "Even...
3,695
Python
.py
90
31.122222
118
0.586236
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,684
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/domain_suffix/test_expert.py
# SPDX-FileCopyrightText: 2018 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os.path import unittest import intelmq.lib.test as test from intelmq.bots.experts.domain_suffix.expert import DomainSuffixExpertBot EXAMPLE_INPUT1 = {"__type": "Event", "ti...
3,615
Python
.py
84
31.214286
106
0.544912
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,685
test_expert_status.py
certtools_intelmq/intelmq/tests/bots/experts/http/test_expert_status.py
# SPDX-FileCopyrightText: 2021 Birger Schacht # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Testing HTTP Status expert """ import unittest import requests_mock import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.experts.http.expert_status import HttpStatusE...
1,941
Python
.py
52
29.923077
71
0.623736
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,686
test_expert_content.py
certtools_intelmq/intelmq/tests/bots/experts/http/test_expert_content.py
# SPDX-FileCopyrightText: 2021 Birger Schacht # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Testing HTTP Status expert """ import unittest import requests_mock import intelmq.lib.test as test import intelmq.lib.utils as utils from intelmq.bots.experts.http.expert_content import HttpConten...
1,904
Python
.py
50
31.02
109
0.643167
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,687
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/modify/test_expert.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Testing modify expert bot. """ import unittest from pkg_resources import resource_filename import intelmq.lib.test as test from intelmq.lib.utils import load_configuration from intelmq.bots.exp...
5,821
Python
.py
132
34.19697
108
0.594323
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,688
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/aggregate/test_expert.py
""" Testing event aggregation SPDX-FileCopyrightText: 2021 Intelmq Team <intelmq-team@cert.at> SPDX-License-Identifier: AGPL-3.0-or-later """ from datetime import datetime, timedelta import json import unittest import os from unittest import TestCase from intelmq.lib.exceptions import MissingDependencyError try: ...
2,071
Python
.py
54
30.944444
96
0.647029
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,689
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/geohash/test_expert.py
# SPDX-FileCopyrightText: 2019 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.test as test from intelmq.bots.experts.geohash.expert import GeohashExpertBot EXAMPLE_INPUT = {"__type": "Event", "source.geolocation.latitude": 4...
1,687
Python
.py
38
35.078947
82
0.625
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,690
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/recordedfuture_iprisk/test_expert.py
# SPDX-FileCopyrightText: 2018 olekristoffer # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Testing RF Risk node lookup """ import unittest import pkg_resources import intelmq.lib.test as test from intelmq.bots.experts.recordedfuture_iprisk.expert import RecordedFutureIPRiskExpertBot RFR_D...
3,024
Python
.py
72
32.055556
106
0.591635
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,691
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/jinja/test_expert.py
# SPDX-FileCopyrightText: 2021 Birger Schacht # # SPDX-License-Identifier: AGPL-3.0-or-later """ Testing jinja expert """ import unittest import os import pkg_resources import intelmq.lib.test as test from intelmq.bots.experts.jinja.expert import JinjaExpertBot EXAMPLE_INPUT = {"__type": "Event", "...
2,758
Python
.py
62
34.33871
183
0.553073
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,692
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/tor_nodes/test_expert.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Testing tor node lookup """ import unittest import pkg_resources import intelmq.lib.test as test from intelmq.bots.experts.tor_nodes.expert import TorExpertBot TOR_DB = pkg_resources.resource_...
2,302
Python
.py
61
28.868852
97
0.586176
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,693
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/cymru_whois/test_expert.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import json import unittest import intelmq.lib.test as test from intelmq.bots.experts.cymru_whois.expert import CymruExpertBot EXAMPLE_INPUT = {"__type": "Event", "source.ip": "78.1...
4,515
Python
.py
107
31.336449
79
0.554039
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,694
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/sieve/test_expert.py
# SPDX-FileCopyrightText: 2017 Antoine Neuenschwander # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- from pathlib import Path import unittest import os from datetime import timedelta, datetime import intelmq.lib.test as test from intelmq.bots.experts.sieve.expert import SieveExpertBot EXAMPLE...
63,451
Python
.py
1,596
30.550752
88
0.597478
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,695
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/tuency/test_expert.py
""" © 2021 Sebastian Wagner <wagner@cert.at> SPDX-License-Identifier: AGPL-3.0-or-later This unittest can test the bot against a read tuency instance as well as using requests mock. The latter is the default while the first is only in use if a tunency instance URL and authentication token is given a environment vari...
5,808
Python
.py
132
35.924242
296
0.629132
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,696
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/do_portal/test_expert.py
# SPDX-FileCopyrightText: 2019 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ TODO: Test on wrong credentials TODO: Test on wrong URL """ import os import unittest import intelmq.lib.test as test from intelmq.bots.experts.do_portal.expert import DoPortalExpertBot EXAMPLE_...
4,086
Python
.py
97
31.680412
99
0.566289
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,697
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/national_cert_contact_certat/test_expert.py
# SPDX-FileCopyrightText: 2017 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- """ Testing certat_contact """ import unittest import intelmq.lib.test as test from intelmq.bots.experts.national_cert_contact_certat.expert import NationalCERTContactCertATExpertBot EXAMPLE_INPUT =...
2,665
Python
.py
65
30.384615
103
0.564697
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,698
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/deduplicator/test_expert.py
# SPDX-FileCopyrightText: 2015 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import unittest import intelmq.lib.message as message import intelmq.lib.test as test from intelmq.bots.experts.deduplicator.expert import DeduplicatorExpertBot INPUT1 = {"__type": "Event", ...
2,986
Python
.py
78
28.474359
88
0.571774
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)
39,699
test_expert.py
certtools_intelmq/intelmq/tests/bots/experts/generic_db_lookup/test_expert.py
# SPDX-FileCopyrightText: 2016 Sebastian Wagner # # SPDX-License-Identifier: AGPL-3.0-or-later # -*- coding: utf-8 -*- import os import unittest import intelmq.lib.test as test from intelmq.bots.experts.generic_db_lookup.expert import \ GenericDBLookupExpertBot if os.environ.get('INTELMQ_TEST_DATABASES'): i...
3,816
Python
.py
97
27.85567
93
0.54349
certtools/intelmq
963
295
206
AGPL-3.0
9/5/2024, 5:15:38 PM (Europe/Amsterdam)