Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // EncBase64 encodes bytes to base64 string EncBase64 = base64.StdEncoding.EncodeToString // DecBase64 decodes base64 string to bytes DecBase64 = base64.StdEncoding.DecodeString )
Functions ¶
func Negotiate ¶
func Negotiate() []byte
Negotiate generates NTLM Negotiate type-1 message
for details see https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/b34032e5-3aae-4bc6-84c3-c6d80eadf7f2
Types ¶
type NtlmTransport ¶
type NtlmTransport struct { Domain string User string Password string Workstation string http.RoundTripper Jar http.CookieJar }
NtlmTransport is implementation of http.RoundTripper interface
Click to show internal directories.
Click to hide internal directories.