Minor update

This commit is contained in:
Miroslav Stampar
2019-10-29 13:52:11 +01:00
parent 18d22faacd
commit eec9cca85b
2 changed files with 2 additions and 2 deletions

View File

@@ -1228,7 +1228,7 @@ def _setHTTPAuthentication():
elif not conf.authType and conf.authCred:
errMsg = "you specified the HTTP authentication credentials, "
errMsg += "but did not provide the type"
errMsg += "but did not provide the type (e.g. --auth-type=\"basic\")"
raise SqlmapSyntaxException(errMsg)
elif (conf.authType or "").lower() not in (AUTH_TYPE.BASIC, AUTH_TYPE.DIGEST, AUTH_TYPE.NTLM, AUTH_TYPE.PKI):