crash.software
Projects
Pull Requests
Issues
Builds
scan4all
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scan4all
Files
🤬
Sign In
b49ed62a
ROOT
/
pkg
/
kscan
/
lib
/
grdp
/
protocol
/
nla
/
ntlm.go
Search
History
516 lines
|
ISO-8859-1
|
16 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
WINDOWS_MINOR_VERSION_0
WINDOWS_MINOR_VERSION_1
WINDOWS_MINOR_VERSION_2
WINDOWS_MINOR_VERSION_3
WINDOWS_MAJOR_VERSION_5
WINDOWS_MAJOR_VERSION_6
NTLMSSP_REVISION_W2K3
MsvAvEOL
MsvAvNbComputerName
MsvAvNbDomainName
MsvAvDnsComputerName
MsvAvDnsDomainName
MsvAvDnsTreeName
MsvAvFlags
MsvAvTimestamp
MsvAvSingleHost
MsvAvTargetName
MsvChannelBindings
AVPair
Id
:
uint16
Len
:
uint16
Value
:
[]byte
NTLMSSP_NEGOTIATE_56
NTLMSSP_NEGOTIATE_KEY_EXCH
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_VERSION
NTLMSSP_NEGOTIATE_TARGET_INFO
NTLMSSP_REQUEST_NON_NT_SESSION_KEY
NTLMSSP_NEGOTIATE_IDENTIFY
NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY
NTLMSSP_TARGET_TYPE_SERVER
NTLMSSP_TARGET_TYPE_DOMAIN
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED
NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_LM_KEY
NTLMSSP_NEGOTIATE_DATAGRAM
NTLMSSP_NEGOTIATE_SEAL
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_REQUEST_TARGET
NTLM_NEGOTIATE_OEM
NTLMSSP_NEGOTIATE_UNICODE
NVersion
ProductMajorVersion
:
uint8
ProductMinorVersion
:
uint8
ProductBuild
:
uint16
Reserved
:
[3]byte
NTLMRevisionCurrent
:
uint8
NewNVersion
()
:
NVersion
Message
Serialize
()
:
[]byte
NegotiateMessage
Signature
:
[8]byte
MessageType
:
uint32
NegotiateFlags
:
uint32
DomainNameLen
:
uint16
DomainNameMaxLen
:
uint16
DomainNameBufferOffset
:
uint32
WorkstationLen
:
uint16
WorkstationMaxLen
:
uint16
WorkstationBufferOffset
:
uint32
Version
:
NVersion
Payload
:
[32]byte
NewNegotiateMessage
()
:
*NegotiateMessage
ChallengeMessage
Signature
:
[]byte
MessageType
:
uint32
TargetNameLen
:
uint16
TargetNameMaxLen
:
uint16
TargetNameBufferOffset
:
uint32
NegotiateFlags
:
uint32
ServerChallenge
:
[8]byte
Reserved
:
[8]byte
TargetInfoLen
:
uint16
TargetInfoMaxLen
:
uint16
TargetInfoBufferOffset
:
uint32
Version
:
NVersion
Payload
:
[]byte
NewChallengeMessage
()
:
*ChallengeMessage
AuthenticateMessage
Signature
:
[8]byte
MessageType
:
uint32
LmChallengeResponseLen
:
uint16
LmChallengeResponseMaxLen
:
uint16
LmChallengeResponseBufferOffset
:
uint32
NtChallengeResponseLen
:
uint16
NtChallengeResponseMaxLen
:
uint16
NtChallengeResponseBufferOffset
:
uint32
DomainNameLen
:
uint16
DomainNameMaxLen
:
uint16
DomainNameBufferOffset
:
uint32
UserNameLen
:
uint16
UserNameMaxLen
:
uint16
UserNameBufferOffset
:
uint32
WorkstationLen
:
uint16
WorkstationMaxLen
:
uint16
WorkstationBufferOffset
:
uint32
EncryptedRandomSessionLen
:
uint16
EncryptedRandomSessionMaxLen
:
uint16
EncryptedRandomSessionBufferOffset
:
uint32
NegotiateFlags
:
uint32
Version
:
NVersion
MIC
:
[16]byte
Payload
:
[]byte
NewAuthenticateMessage
(negFlag uint32, domain, user, workstation []byte, lmchallResp, ntchallResp, enRandomSessKey []byte)
:
*AuthenticateMessage
NTLMv2
domain
:
string
user
:
string
password
:
string
respKeyNT
:
[]byte
respKeyLM
:
[]byte
negotiateMessage
:
*NegotiateMessage
challengeMessage
:
*ChallengeMessage
authenticateMessage
:
*AuthenticateMessage
enableUnicode
:
bool
NewNTLMv2
(domain, user, password string)
:
*NTLMv2
MIC
(exportedSessionKey []byte, negotiateMessage, challengeMessage, authenticateMessage Message)
:
[]byte
concat
(bs ...[]byte)
:
[]byte
clientSigning
serverSigning
clientSealing
serverSealing
NTLMv2Security
EncryptRC4
:
*rc4.Cipher
DecryptRC4
:
*rc4.Cipher
SigningKey
:
[]byte
VerifyKey
:
[]byte
SeqNum
:
uint32
*NegotiateMessage
Serialize
()
:
[]byte
*ChallengeMessage
Serialize
()
:
[]byte
BaseLen
()
:
uint32
getTargetInfo
()
:
[]byte
getTargetName
()
:
[]byte
getTargetInfoTimestamp
(data []byte)
:
[]byte
*AuthenticateMessage
BaseLen
()
:
uint32
Serialize
()
:
[]byte
*NTLMv2
GetNegotiateMessage
()
:
*NegotiateMessage
ComputeResponseV2
(respKeyNT, respKeyLM, serverChallenge, clientChallenge, timestamp, serverInfo []byte)
:
(ntChallResp, lmChallResp, SessBaseKey []byte)
GetAuthenticateMessage
(s []byte)
:
(*AuthenticateMessage, *NTLMv2Security)
GetEncodedCredentials
()
:
([]byte, []byte, []byte)
*NTLMv2Security
GssEncrypt
(s []byte)
:
[]byte
GssDecrypt
(s []byte)
:
[]byte
All occurrences
Please wait...
Page is in error, reload to recover