mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Implementation for an Issue #674
This commit is contained in:
parent
1eecabaea8
commit
e6d0d5a1c7
5 changed files with 54 additions and 11 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue