Implementation for an Issue #674

This commit is contained in:
Miroslav Stampar
2014-07-02 22:27:51 +02:00
parent 1eecabaea8
commit e6d0d5a1c7
5 changed files with 54 additions and 11 deletions

View File

@@ -84,11 +84,12 @@ def configFileParser(configFile):
condition &= not config.has_option("Target", "bulkFile")
condition &= not config.has_option("Target", "googleDork")
condition &= not config.has_option("Target", "requestFile")
condition &= not config.has_option("Target", "sitemapUrl")
condition &= not config.has_option("Target", "wizard")
if condition:
errMsg = "missing a mandatory option in the configuration file "
errMsg += "(direct, url, logFile, bulkFile, googleDork, requestFile or wizard)"
errMsg += "(direct, url, logFile, bulkFile, googleDork, requestFile, sitemapUrl or wizard)"
raise SqlmapMissingMandatoryOptionException(errMsg)
for family, optionData in optDict.items():