Open andrewhillsc opened 8 years ago
…function
I was receiving the following error:
Exception in Tkinter callback Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1536, in __call__ return self.func(*args) File "IOCextractor.py", line 382, in export_openioc indicator_node = make_email_from(value) File "IOCextractor.py", line 341, in make_email_from IndicatorItem_node = ioc_api.make_IndicatorItem_node(condition, document, search, content_type, content, negate=negate, preserve_case=preserve_case, context_type = None) AttributeError: 'module' object has no attribute 'make_IndicatorItem_node'
After some digging it looks like ioc_writer updated the function name, note that it's all lower case now:
def make_indicatoritem_node(condition, document, search, content_type, content, preserve_case=False, negate=False, context_type='mir', nid=None):
Quick fix - it can now successfully output the IOC file.
…function
I was receiving the following error:
After some digging it looks like ioc_writer updated the function name, note that it's all lower case now:
Quick fix - it can now successfully output the IOC file.