Most probably solves #3422

This commit is contained in:
Miroslav Stampar
2018-12-31 01:20:43 +01:00
parent e18b41fc82
commit 45d0010323
3 changed files with 7 additions and 3 deletions

View File

@@ -2271,6 +2271,10 @@ def _basicOptionValidation():
errMsg = "option '-d' is incompatible with option '-u' ('--url')"
raise SqlmapSyntaxException(errMsg)
if conf.direct and conf.dbms:
errMsg = "option '-d' is incompatible with option '--dbms'"
raise SqlmapSyntaxException(errMsg)
if conf.identifyWaf and conf.skipWaf:
errMsg = "switch '--identify-waf' is incompatible with switch '--skip-waf'"
raise SqlmapSyntaxException(errMsg)