-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Malpedia] Adding variable default_marking, and schedule_unit (#2465)
- Loading branch information
Showing
6 changed files
with
144 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# -*- coding: utf-8 -*- | ||
"""OpenCTI Malpedia connector main module.""" | ||
import time | ||
import sys | ||
import traceback | ||
|
||
from malpedia_connector import MalpediaConnector | ||
|
||
if __name__ == "__main__": | ||
try: | ||
connector = MalpediaConnector() | ||
connector.start() | ||
except Exception as err: | ||
print(err) | ||
time.sleep(10) | ||
exit(0) | ||
connector.run() | ||
except Exception: | ||
traceback.print_exc() | ||
sys.exit(1) |
Oops, something went wrong.