|
OpenVAS Scanner 23.32.3
|
Functions to support Authentication(type3 message) for NTLMSSP (NTLMv2, NTLM2, NTLM, KEY GEN). More...
#include "byteorder.h"#include "hmacmd5.h"#include "md5.h"#include "proto.h"#include "smb_crypt.h"

Go to the source code of this file.
Functions | |
| void | ntlmssp_genauth_ntlmv2 (char *user, char *domain, char *address_list, int address_list_len, char *challenge_data, uint8_t *lm_response, uint8_t *nt_response, uint8_t *session_key, unsigned char *ntlmv2_hash) |
| void | ntlmssp_genauth_ntlm2 (char *password, uint8_t pass_len, uint8_t *lm_response, uint8_t *nt_response, uint8_t *session_key, char *challenge_data, unsigned char *nt_hash) |
| void | ntlmssp_genauth_ntlm (char *password, uint8_t pass_len, uint8_t *lm_response, uint8_t *nt_response, uint8_t *session_key, char *challenge_data, unsigned char *nt_hash, int neg_flags) |
| uint8_t * | ntlmssp_genauth_keyexchg (uint8_t *session_key, char *challenge_data, unsigned char *nt_hash, uint8_t *new_sess_key) |
Functions to support Authentication(type3 message) for NTLMSSP (NTLMv2, NTLM2, NTLM, KEY GEN).
Definition in file ntlmssp.h.
| uint8_t * ntlmssp_genauth_keyexchg | ( | uint8_t * | session_key, |
| char * | challenge_data, | ||
| unsigned char * | nt_hash, | ||
| uint8_t * | new_sess_key ) |
Definition at line 85 of file ntlmssp.c.
References generate_random_buffer_ntlmssp(), length, SamOEMhash(), and uint8.
Referenced by nasl_keyexchg().


| void ntlmssp_genauth_ntlm | ( | char * | password, |
| uint8_t | pass_len, | ||
| uint8_t * | lm_response, | ||
| uint8_t * | nt_response, | ||
| uint8_t * | session_key, | ||
| char * | challenge_data, | ||
| unsigned char * | nt_hash, | ||
| int | neg_flags ) |
Definition at line 61 of file ntlmssp.c.
References E_deshash_ntlmssp(), NTLMSSP_NEGOTIATE_LM_KEY, SMBencrypt_hash_ntlmssp(), SMBNTencrypt_hash_ntlmssp(), SMBsesskeygen_lm_sess_key_ntlmssp(), SMBsesskeygen_ntv1_ntlmssp(), and uchar.
Referenced by nasl_ntlm_response().


| void ntlmssp_genauth_ntlm2 | ( | char * | password, |
| uint8_t | pass_len, | ||
| uint8_t * | lm_response, | ||
| uint8_t * | nt_response, | ||
| uint8_t * | session_key, | ||
| char * | challenge_data, | ||
| unsigned char * | nt_hash ) |
Definition at line 30 of file ntlmssp.c.
References E_deshash_ntlmssp(), generate_random_buffer_ntlmssp(), hmac_md5(), MD5Final(), MD5Init(), MD5Update(), SMBNTencrypt_hash_ntlmssp(), SMBsesskeygen_ntv1_ntlmssp(), and uchar.
Referenced by nasl_ntlm2_response().


| void ntlmssp_genauth_ntlmv2 | ( | char * | user, |
| char * | domain, | ||
| char * | address_list, | ||
| int | address_list_len, | ||
| char * | challenge_data, | ||
| uint8_t * | lm_response, | ||
| uint8_t * | nt_response, | ||
| uint8_t * | session_key, | ||
| unsigned char * | ntlmv2_hash ) |
Definition at line 19 of file ntlmssp.c.
References SMBNTLMv2encrypt_hash_ntlmssp().
Referenced by nasl_ntlmv2_response().

