From 17316e349e8c2269da89c6af12d5cf0ad1c04be2 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 30 Sep 2015 14:37:18 +0200 Subject: [PATCH] missing types added --- pymisp/api.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pymisp/api.py b/pymisp/api.py index 2e1dacc..19f2eb0 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -107,8 +107,11 @@ class PyMISP(object): self.types = ['md5', 'sha1', 'sha256', 'filename', 'filename|md5', 'filename|sha1', 'filename|sha256', 'ip-src', 'ip-dst', 'hostname', 'domain', 'url', 'user-agent', 'http-method', 'regkey', 'regkey|value', 'AS', 'snort', - 'pattern-in-file', 'pattern-in-traffic', 'pattern-in-memory', 'named pipe', 'mutex', - 'vulnerability', 'attachment', 'malware-sample', 'link', 'comment', 'text', 'other'] + 'pattern-in-file', 'pattern-in-traffic', 'pattern-in-memory', 'named pipe', + 'mutex', 'vulnerability', 'attachment', 'malware-sample', 'link', 'comment', + 'text', 'email-src', 'email-dst', 'email-subject', 'email-attachment', + 'yara', 'target-user', 'target-email', 'target-machine', 'target-org', + 'target-location', 'target-external', 'other'] try: # Make sure the MISP instance is working and the URL is valid