From 0e163468ebe2dc8b2c4c0b2888e26f4eb85580da Mon Sep 17 00:00:00 2001 From: Andrew Hill Date: Wed, 13 Jan 2016 17:21:21 -0800 Subject: [PATCH] update ioc_api.make_indicatoritem_node call to match the case of the function --- IOCextractor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IOCextractor.py b/IOCextractor.py index 783c5f4..4e2bd31 100755 --- a/IOCextractor.py +++ b/IOCextractor.py @@ -330,7 +330,7 @@ def make_network_uri(uri, condition='contains', negate=False, preserve_case = Fa search = 'Network/URI' content_type = 'string' content = uri - IndicatorItem_node = ioc_api.make_IndicatorItem_node(condition, document, search, content_type, content, negate=negate, preserve_case=preserve_case, context_type = None) + IndicatorItem_node = ioc_api.make_indicatoritem_node(condition, document, search, content_type, content, negate=negate, preserve_case=preserve_case, context_type = None) return IndicatorItem_node def make_email_from(from_address, condition='contains', negate=False, preserve_case = False): @@ -338,7 +338,7 @@ def make_email_from(from_address, condition='contains', negate=False, preserve_c search = 'Email/From' content_type = 'string' content = from_address - IndicatorItem_node = ioc_api.make_IndicatorItem_node(condition, document, search, content_type, content, negate=negate, preserve_case=preserve_case, context_type = None) + IndicatorItem_node = ioc_api.make_indicatoritem_node(condition, document, search, content_type, content, negate=negate, preserve_case=preserve_case, context_type = None) return IndicatorItem_node output_directory = askdirectory(title = "Save IOC To")