Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 73a62f9

Browse files
authored
Update option.py (#5736)
auth-type=pki requires auth-file option to pass in a certificate. auth-pki is not a valid option
1 parent c1af880 commit 73a62f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ def _setHTTPAuthentication():
13601360
errMsg += "be in format 'DOMAIN\\username:password'"
13611361
elif authType == AUTH_TYPE.PKI:
13621362
errMsg = "HTTP PKI authentication require "
1363-
errMsg += "usage of option `--auth-pki`"
1363+
errMsg += "usage of option `--auth-file`"
13641364
raise SqlmapSyntaxException(errMsg)
13651365

13661366
aCredRegExp = re.search(regExp, conf.authCred)

0 commit comments

Comments
 (0)