Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view NTLM challenge in Network View?

In chrome dev tools, how do i see all elements of a request, specifically the working of the Ntlm challenge?

Ex. If i do a GET to a URL and the server issues a NTLM challenge, there are multiple requests and responses - the initial challenge, the response to it and the re-run of the original request with the Authorization header.

What i see in chrome is only the final element, the final request with the auth header added (if auth worked of course).

I'm able to capture the whole cycle via Fiddler or looking at the server. Just want to know if there's a way to see it via dev tools in Chrome (or any other browser), a view or setting i'm missing?

like image 380
Vivek Avatar asked Nov 17 '25 13:11

Vivek


1 Answers

Could not find a way to do this in Chrome as well.

Instead of using Fiddler I tried Curl.

curl http://intranet_url -v --ntlm --negotiate -u USER123:PASSWORD123 -o output.txt --trace-ascii output2.txt

For the username you can use: [email protected] (user principal name)

sources:

Using curl with NTLM auth to make a post is failing

https://learn.microsoft.com/en-us/windows/win32/secauthn/user-name-formats

like image 75
mathijsuitmegen Avatar answered Nov 20 '25 14:11

mathijsuitmegen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!