go-ntlm-auth

module
v0.0.0-...-adfde8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: MIT

README

Status: Archived

go-ntlm-auth

This is an implementation of NTLM for Go that was implemented using Windows SSPI (Security Support Provider Interface). It differs from other implemenations of NTLM as it uses the default credentials of the account that the application is running with, meaning the username and password does not have to be provided in plain text.

Usage Notes:

This is currently only implemented for Windows.

In order to perform an NTLM Http request, invoke ntlm.DoNTLMRequest(client, req) passing in http client and http request.

References:

https://github.com/denisenkom/go-mssqldb - sspi_windows.go used as ntlm_windows.go to perform Win32 calls to SSPI https://github.com/github/git-lfs/blob/master/lfs/ntlm.go - git-lfs used as basis for NTLM authentication logic

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL