Embedding the NTLM auth support (without the deprecated 3rd party lib)

This commit is contained in:
Miroslav Štampar 2026-07-09 10:38:19 +02:00
parent 8837dd2435
commit 767feba3a7
6 changed files with 275 additions and 39 deletions

View file

@ -83,17 +83,6 @@ def checkDependencies():
logger.warning(warnMsg)
missing_libraries.add('python-impacket')
try:
__import__("ntlm")
debugMsg = "'python-ntlm' third-party library is found"
logger.debug(debugMsg)
except ImportError:
warnMsg = "sqlmap requires 'python-ntlm' third-party library "
warnMsg += "if you plan to attack a web application behind NTLM "
warnMsg += "authentication. Download from 'https://github.com/mullender/python-ntlm'"
logger.warning(warnMsg)
missing_libraries.add('python-ntlm')
try:
__import__("websocket._abnf")
debugMsg = "'websocket-client' library is found"