Метод | Описание | |
---|---|---|
GetDefaultDomain ( ) : string |
Returns the default domain from the current environment. Returns the default domain from the current environment. |
|
GetDefaultFlags ( ) : int |
Returns the default flags for a generic Type-3 message in the current environment. Returns the default flags for a generic Type-3 message in the current environment. |
|
GetDefaultFlags ( |
Returns the default flags for a Type-3 message created in response to the given Type-2 message in the current environment. Returns the default flags for a Type-3 message created in response to the given Type-2 message in the current environment. |
|
GetDefaultPassword ( ) : string |
Returns the default password from the current environment. Returns the default password from the current environment. |
|
GetDefaultUser ( ) : string |
Returns the default user from the current environment. Returns the default user from the current environment. |
|
GetDefaultWorkstation ( ) : string |
Returns the default workstation from the current environment. Returns the default workstation from the current environment. |
|
GetDomain ( ) : string |
Returns the domain in which the user has an account. Returns the domain in which the user has an account. |
|
GetLMResponse ( ) : byte[] |
Returns the LanManager/LMv2 response. Returns the LanManager/LMv2 response. |
|
GetLMResponse ( |
Constructs the LanManager response to the given Type-2 message using the supplied password. Constructs the LanManager response to the given Type-2 message using the supplied password. |
|
GetLMv2Response ( |
||
GetMasterKey ( ) : byte[] |
The real session key if the regular session key is actually the encrypted version used for key exchange. The real session key if the regular session key is actually the encrypted version used for key exchange. |
|
GetNTResponse ( ) : byte[] |
Returns the NT/NTLMv2 response. Returns the NT/NTLMv2 response. |
|
GetNTResponse ( |
Constructs the NT response to the given Type-2 message using the supplied password. Constructs the NT response to the given Type-2 message using the supplied password. |
|
GetNtlMv2Response ( |
||
GetSessionKey ( ) : byte[] |
Returns the session key. Returns the session key. |
|
GetUser ( ) : string |
Returns the username for the authenticating user. Returns the username for the authenticating user. |
|
GetWorkstation ( ) : string |
Returns the workstation from which authentication is being performed. Returns the workstation from which authentication is being performed. |
|
SetDomain ( string domain ) : void |
Sets the domain for this message. Sets the domain for this message. |
|
SetLmResponse ( byte lmResponse ) : void |
Sets the LanManager/LMv2 response for this message. Sets the LanManager/LMv2 response for this message. |
|
SetNtResponse ( byte ntResponse ) : void |
Sets the NT/NTLMv2 response for this message. Sets the NT/NTLMv2 response for this message. |
|
SetSessionKey ( byte sessionKey ) : void |
Sets the session key. Sets the session key. |
|
SetUser ( string user ) : void |
Sets the user for this message. Sets the user for this message. |
|
SetWorkstation ( string workstation ) : void |
Sets the workstation for this message. Sets the workstation for this message. |
|
ToByteArray ( ) : byte[] | ||
ToString ( ) : string | ||
Type3Message ( |
Creates a Type-3 message in response to the given Type-2 message using default values from the current environment. Creates a Type-3 message in response to the given Type-2 message using default values from the current environment. |
|
Type3Message ( |
Creates a Type-3 message in response to the given Type-2 message. Creates a Type-3 message in response to the given Type-2 message. |
|
Type3Message ( byte material ) : System |
Creates a Type-3 message using the given raw Type-3 material. Creates a Type-3 message using the given raw Type-3 material. |
|
Type3Message ( int flags, byte lmResponse, byte ntResponse, string domain, string user, string workstation ) : System |
Creates a Type-3 message with the specified parameters. Creates a Type-3 message with the specified parameters. |
Метод | Описание | |
---|---|---|
Parse ( byte material ) : void | ||
Type3Message ( ) : System |
public static GetDefaultDomain ( ) : string | ||
Результат | string |
public static GetDefaultFlags ( |
||
type2 | ||
Результат | int |
public static GetDefaultPassword ( ) : string | ||
Результат | string |
public static GetDefaultUser ( ) : string | ||
Результат | string |
public static GetDefaultWorkstation ( ) : string | ||
Результат | string |
public static GetLMResponse ( |
||
type2 | The Type-2 message. | |
password | string | The password. |
Результат | byte[] |
public static GetLMv2Response ( |
||
type2 | ||
domain | string | |
user | string | |
password | string | |
clientChallenge | byte | |
Результат | byte[] |
public static GetNTResponse ( |
||
type2 | The Type-2 message. | |
password | string | The password. |
Результат | byte[] |
public static GetNtlMv2Response ( |
||
type2 | ||
responseKeyNt | byte | |
clientChallenge | byte | |
Результат | byte[] |
public SetDomain ( string domain ) : void | ||
domain | string | The domain. |
Результат | void |
public SetLmResponse ( byte lmResponse ) : void | ||
lmResponse | byte | The LanManager response. |
Результат | void |
public SetNtResponse ( byte ntResponse ) : void | ||
ntResponse | byte | The NT/NTLMv2 response. |
Результат | void |
public SetSessionKey ( byte sessionKey ) : void | ||
sessionKey | byte | The session key. |
Результат | void |
public SetUser ( string user ) : void | ||
user | string | The user. |
Результат | void |
public SetWorkstation ( string workstation ) : void | ||
workstation | string | The workstation. |
Результат | void |
public Type3Message ( |
||
type2 | The Type-2 message which this represents a response to. | |
Результат | System |
public Type3Message ( |
||
type2 | The Type-2 message which this represents a response to. | |
password | string | The password to use when constructing the response. |
domain | string | The domain in which the user has an account. |
user | string | The username for the authenticating user. |
workstation | string | /// The workstation from which authentication is /// taking place. /// |
flags | int | |
Результат | System |
public Type3Message ( byte material ) : System | ||
material | byte | The raw Type-3 material used to construct this message. |
Результат | System |
public Type3Message ( int flags, byte lmResponse, byte ntResponse, string domain, string user, string workstation ) : System | ||
flags | int | The flags to apply to this message. |
lmResponse | byte | The LanManager/LMv2 response. |
ntResponse | byte | The NT/NTLMv2 response. |
domain | string | The domain in which the user has an account. |
user | string | The username for the authenticating user. |
workstation | string | /// The workstation from which authentication is /// taking place. /// |
Результат | System |