Update enum_ca.py

Signed-off-by: Josh <68809797+0xjbb@users.noreply.github.com>
main
Josh 2024-02-27 10:41:13 +00:00 committed by mpgn
parent 97af55337c
commit 7a46f9eb64
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class NXCModule:
if exename == "certsrv.exe":
context.log.highlight("Active Directory Certificate Services Found.")
url = f"http://{connection.host}/certsrv/certfnsh.asp"
context.log.debug(url)
context.log.highlight(url)
try:
response = requests.get(url, timeout=5)
if response.status_code == 401 and "WWW-Authenticate" in response.headers and "ntlm" in response.headers["WWW-Authenticate"].lower():