Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions IOCextractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,15 +330,15 @@ 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):
document = 'Email'
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")
Expand Down