mirror of https://github.com/MISP/misp-modules
Merge branch 'main' of github.com:MISP/misp-modules into main
commit
859e490173
|
@ -471,7 +471,7 @@ class TestExpansions(unittest.TestCase):
|
|||
def test_threatcrowd(self):
|
||||
query_types = ('domain', 'ip-src', 'md5', 'whois-registrant-email')
|
||||
query_values = ('circl.lu', '185.194.93.14', '616eff3e9a7575ae73821b4668d2801c', 'hostmaster@eurodns.com')
|
||||
results = ('185.194.93.14', 'cve.circl.lu', 'devilreturns.com', 'navabi.lu')
|
||||
results = ('149.13.33.4', 'cve.circl.lu', 'devilreturns.com', 'navabi.lu')
|
||||
for query_type, query_value, result in zip(query_types, query_values, results):
|
||||
query = {"module": "threatcrowd", query_type: query_value}
|
||||
response = self.misp_modules_post(query)
|
||||
|
|
Loading…
Reference in New Issue