From 73a62f9f4e9413dc4741cad5ff70896830cdff94 Mon Sep 17 00:00:00 2001 From: Ben Kofman <76549306+swgee@users.noreply.github.com> Date: Mon, 24 Jun 2024 12:20:09 -0400 Subject: [PATCH] Update option.py (#5736) auth-type=pki requires auth-file option to pass in a certificate. auth-pki is not a valid option --- lib/core/option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 6125260f7..ec672622d 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1360,7 +1360,7 @@ def _setHTTPAuthentication(): errMsg += "be in format 'DOMAIN\\username:password'" elif authType == AUTH_TYPE.PKI: errMsg = "HTTP PKI authentication require " - errMsg += "usage of option `--auth-pki`" + errMsg += "usage of option `--auth-file`" raise SqlmapSyntaxException(errMsg) aCredRegExp = re.search(regExp, conf.authCred)