From 71d8745b9137fa7e2cfacc8ac140613123f25581 Mon Sep 17 00:00:00 2001 From: Christian Studer Date: Wed, 10 Aug 2022 16:17:08 +0200 Subject: [PATCH] fix: [shodan] The input attribute is actually already added to the event at the beginning --- misp_modules/modules/expansion/shodan.py | 1 - 1 file changed, 1 deletion(-) diff --git a/misp_modules/modules/expansion/shodan.py b/misp_modules/modules/expansion/shodan.py index 356abc5..2ea9749 100755 --- a/misp_modules/modules/expansion/shodan.py +++ b/misp_modules/modules/expansion/shodan.py @@ -73,7 +73,6 @@ class ShodanParser(): ip_address_object = MISPObject('ip-api-address') for attribute in ip_address_attributes: ip_address_object.add_attribute(**attribute) - self.misp_event.add_attribute(**self._get_source_attribute()) ip_address_object.add_reference(self.attribute.uuid, 'describes') self.misp_event.add_object(ip_address_object)