minor update

This commit is contained in:
Miroslav Stampar
2012-02-22 10:45:10 +00:00
parent b3bd4144f5
commit 61a25418a9
3 changed files with 5 additions and 6 deletions

View File

@@ -58,7 +58,6 @@ from lib.core.datatype import AttribDict
from lib.core.datatype import InjectionDict
from lib.core.defaults import defaults
from lib.core.enums import CUSTOM_LOGGING
from lib.core.enums import DBMS
from lib.core.enums import HTTPHEADER
from lib.core.enums import HTTPMETHOD
from lib.core.enums import MOBILES
@@ -1018,7 +1017,7 @@ def __setHTTPAuthentication():
elif aTypeLower == "ntlm":
try:
from ntlm import HTTPNtlmAuthHandler
except ImportError, _:
except ImportError:
errMsg = "sqlmap requires Python NTLM third-party library "
errMsg += "in order to authenticate via NTLM, "
errMsg += "http://code.google.com/p/python-ntlm/"