mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 14:11:29 +00:00
Fix for an Issue #640
This commit is contained in:
@@ -1116,7 +1116,7 @@ def _setAuthCred():
|
||||
"""
|
||||
|
||||
if kb.passwordMgr:
|
||||
kb.passwordMgr.add_password(None, "%s://%s" % (conf.scheme, conf.hostname), conf.authUsername, conf.authPassword)
|
||||
kb.passwordMgr.add_password(None, "%s://%s:%d" % (conf.scheme, conf.hostname, conf.port), conf.authUsername, conf.authPassword)
|
||||
|
||||
def _setHTTPAuthentication():
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user