Adding switch --skip-waf

This commit is contained in:
Miroslav Stampar
2015-09-21 14:57:44 +02:00
parent e81e474646
commit 81caf14b6d
5 changed files with 17 additions and 4 deletions

View File

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