When this happens, the program would throw an error during parsing: Error parsing internal domain name using OWA. This usually means OWA is being hosted on-prem or the target has a hybrid AD deployment.
This pull aims to reduce these false negatives by parsing until reaching the NTLM section of the header.
Most of the time, the
WWW-Authentication
header comes back looking like this:The original code handled this fine. However, sometimes the header can come back in the following form:
When this happens, the program would throw an error during parsing:
Error parsing internal domain name using OWA. This usually means OWA is being hosted on-prem or the target has a hybrid AD deployment
.This pull aims to reduce these false negatives by parsing until reaching the
NTLM
section of the header.