Skip to content

Commit

Permalink
fixes for MispWarningList #827 & MalwareBazaar #830
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Arcuri committed Jul 30, 2020
1 parent 23be632 commit b3c1a09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion analyzers/MISPWarningLists/mispwarninglists.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self):
self.data = self.get_data()
self.path = self.get_param("config.path", "misp-warninglists")
conn = self.get_param("config.conn", None)
self.warninglists = self.readwarninglists() if not USE_DB else None
self.warninglists = self.readwarninglists() if not conn or not USE_DB else None
self.engine = db.create_engine(conn) if conn and USE_DB else None
if not exists(self.path) and not self.engine:
self.error("wrong configuration settings.")
Expand Down
5 changes: 3 additions & 2 deletions analyzers/MalwareBazaar/MalwareBazaar.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"version": "1.0",
"baseConfig": "MalwareBazaar",
"description": "Search hashes on MalwareBazaar.",
"dataTypeList": ["domain", "fqdn", "url", "hash", "ip"],
"dataTypeList": ["hash"],
"command": "MalwareBazaar/MalwareBazaar_analyzer.py",
"configurationItems": [ {
"configurationItems": [
{
"name": "api_key",
"description": "MalwareBazaar api key",
"multi": false,
Expand Down

0 comments on commit b3c1a09

Please sign in to comment.