mirror of
https://github.com/sresarehumantoo/wsmancer.git
synced 2026-11-24 05:49:16 +01:00
c78f0f3494
The sealed transports (ntlmseal, krbseal) manage raw TCP connections and bypass go-psrp's HTTP layer, so a server returning 404 or another unexpected status produced cryptic messages like "no challenge" or decryption failures instead of telling the user what actually happened. ntlmseal now distinguishes a non-401 response (wrong URL, WinRM not running) from a 401 without a Negotiate header (wrong auth scheme). krbseal catches non-200/non-500 non-sealed responses before attempting decryption, surfacing the status code and a body snippet. Closes #1