byt3bl33d3r 2017-02-09 11:28:15 -07:00
parent 29e726e622
commit fccd6498ee
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,7 @@ from cme.helpers import highlight
from cme.targetparser import parse_targets
from cme.moduleloader import ModuleLoader
from cme.first_run import first_run_setup
from getpass import getuser
import sqlite3
import argparse
import os

View File

@ -76,6 +76,10 @@ class ModuleLoader:
module_options = {}
for option in self.args.module_options:
if '=' not in option:
self.logger.error('All module options should be in KEY=VALUE format, use the --show-options flag to view available module options')
sys.exit(1)
key, value = option.split('=', 1)
module_options[str(key).upper()] = value