minor update

This commit is contained in:
Miroslav Stampar 2011-06-20 12:40:14 +00:00
parent 4d1fa5596b
commit f09340fc89

View File

@ -1758,6 +1758,10 @@ def __basicOptionValidation():
errMsg = "switch --forms is compatible only with -u (--url) target switch"
raise sqlmapSyntaxException, errMsg
if conf.forms and conf.crawl:
errMsg = "switch --forms is currently not compatible with --crawl switch"
raise sqlmapSyntaxException, errMsg
if conf.timeSec < 1:
errMsg = "value for --time-sec option must be an integer greater than 0"
raise sqlmapSyntaxException, errMsg