curl -i -k https://targetip/autodiscover/autodiscover.xml -0 -H "Host:" HTTP/1.1 401 Unauthorized Cache-Control: private Content-Type: text/html Server: Microsoft-IIS/7.5 X-SOAP-Enabled: True X-WSSecurity-Enabled: True X-WSSecurity-For: None X-AspNet-Version: 2.0.50727 WWW-Authenticate: Negotiate WWW-Authenticate: NTLM WWW-Authenticate: Basic realm="192.168.50.30" X-Powered-By: ASP.NET Connection: close Content-Length: 58
If your request includes something in the Host header, the server will place that in the Realm header instead of the internal IP.
No comments:
Post a Comment