update url
This commit is contained in:
parent
b05d65ad37
commit
d44785b406
@ -13,7 +13,7 @@ the client and the server, for our use we hardcoded a supported set of negotiati
|
|||||||
## Sample Usage as NTLM Client
|
## Sample Usage as NTLM Client
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/vadimi/go-ntlm/ntlm"
|
import "gitlab.labexposed.com/lgcosta/go-ntlm/ntlm"
|
||||||
|
|
||||||
session, err = ntlm.CreateClientSession(ntlm.Version2, ntlm.ConnectionlessMode)
|
session, err = ntlm.CreateClientSession(ntlm.Version2, ntlm.ConnectionlessMode)
|
||||||
session.SetUserInfo("someuser","somepassword","somedomain")
|
session.SetUserInfo("someuser","somepassword","somedomain")
|
||||||
|
2
go.mod
2
go.mod
@ -1,3 +1,3 @@
|
|||||||
module github.com/sematext/go-ntlm
|
module gitlab.labexposed.com/lgcosta/go-ntlm
|
||||||
|
|
||||||
go 1.13
|
go 1.13
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
rc4P "crypto/rc4"
|
rc4P "crypto/rc4"
|
||||||
crc32P "hash/crc32"
|
crc32P "hash/crc32"
|
||||||
|
|
||||||
md4P "github.com/sematext/go-ntlm/ntlm/md4"
|
md4P "gitlab.labexposed.com/lgcosta/go-ntlm/ntlm/md4"
|
||||||
)
|
)
|
||||||
|
|
||||||
func md4(data []byte) []byte {
|
func md4(data []byte) []byte {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user