mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-05-30 01:09:53 +02:00
Added constructor to NTLMv2_CLIENT_CHALLENGE
This commit is contained in:
parent
3ce1ca6a30
commit
fbbb31cb7d
1 changed files with 9 additions and 0 deletions
|
@ -44,6 +44,15 @@ namespace SMBLibrary.Authentication.NTLM
|
|||
AVPairs.Add(AVPairKey.NbComputerName, UnicodeEncoding.Unicode.GetBytes(computerName));
|
||||
}
|
||||
|
||||
public NTLMv2ClientChallenge(DateTime timeStamp, byte[] clientChallenge, KeyValuePairList<AVPairKey, byte[]> targetInfo)
|
||||
{
|
||||
CurrentVersion = StructureVersion;
|
||||
MaximumSupportedVersion = StructureVersion;
|
||||
TimeStamp = timeStamp;
|
||||
ClientChallenge = clientChallenge;
|
||||
AVPairs = targetInfo;
|
||||
}
|
||||
|
||||
public NTLMv2ClientChallenge(byte[] buffer) : this(buffer, 0)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue