important update regarding restoring of potentially changed switch values in multi-target mode and/or missing switch values in resume mode

This commit is contained in:
Miroslav Stampar
2011-01-02 10:37:32 +00:00
parent 96341f8f78
commit dce9a762f1
4 changed files with 57 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ from lib.core.common import dataToStdout
from lib.core.common import getUnicode
from lib.core.common import setPaths
from lib.core.common import weAreFrozen
from lib.core.data import cmdLineOptions
from lib.core.data import conf
from lib.core.data import kb
from lib.core.data import logger
@@ -64,7 +65,9 @@ def main():
setPaths()
banner()
cmdLineOptions = cmdLineParser()
# Store original command line options for possible later restoration
cmdLineOptions.update(cmdLineParser().__dict__)
dataToStdout("[*] starting at: %s\n\n" % time.strftime("%X"), forceOutput=True)