OpenVAS Libraries
8.0.3
|
Go to the source code of this file.
Macros | |
#define | uint8 uint8_t |
#define | False 0 |
#define | True 1 |
Typedefs | |
typedef unsigned int | bool |
Functions | |
void | E_P24 (const uchar *p21, const uchar *c8, uchar *p24) |
void | E_P16 (uchar *p14, uchar *p16) |
int | strupper_w (smb_ucs2_t *s) |
void | SMBsesskeygen_lm_sess_key_ntlmssp (const uchar lm_hash[16], const uchar lm_resp[24], uint8 sess_key[16]) |
void | SMBsesskeygen_ntv1_ntlmssp (const uchar kr[16], const uchar *nt_resp, uint8 sess_key[16]) |
void | SMBOWFencrypt_ntlmssp (const uchar passwd[16], const uchar *c8, uchar p24[24]) |
void | SMBencrypt_hash_ntlmssp (const uchar lm_hash[16], const uchar *c8, uchar p24[24]) |
void | SMBNTencrypt_hash_ntlmssp (const uchar nt_hash[16], uchar *c8, uchar *p24) |
bool | E_deshash_ntlmssp (const char *passwd, uchar p16[16]) |
void | SamOEMhash (uchar *data, const uchar *key, int val) |
void | SMBOWFencrypt_ntv2_ntlmssp (const uchar kr[16], const uint8_t *srv_chal, int srv_chal_len, const uint8_t *cli_chal, int cli_chal_len, uchar resp_buf[16]) |
void | SMBsesskeygen_ntv2_ntlmssp (const uchar kr[16], const uchar *nt_resp, uint8 sess_key[16]) |
uint8_t * | NTLMv2_generate_client_data_ntlmssp (const char *addr_list, int address_list_len) |
void | NTLMv2_generate_response_ntlmssp (const uchar ntlm_v2_hash[16], const char *server_chal, const char *address_list, int address_list_len, uint8_t *nt_response) |
void | LMv2_generate_response_ntlmssp (const uchar ntlm_v2_hash[16], const char *server_chal, uint8_t *lm_response) |
void | SMBNTLMv2encrypt_hash_ntlmssp (const char *user, const char *domain, uchar ntlm_v2_hash[16], const char *server_chal, const char *address_list, int address_list_len, unsigned char *lm_response, unsigned char *nt_response, unsigned char *user_session_key) |
#define False 0 |
#define True 1 |
#define uint8 uint8_t |
typedef unsigned int bool |
Creates the MD5 Hash of a combination of 16 byte salt and 16 byte NT hash.
16 | byte salt. |
16 | byte NT hash. |
16 | byte return hashed with md5, caller allocated 16 byte buffer Creates the DES forward-only Hash of the users password in DOS ASCII charset |
passwd | password in 'unix' charset. |
p16 | return password hashed with DES, caller allocated 16 byte buffer |
void LMv2_generate_response_ntlmssp | ( | const uchar | ntlm_v2_hash[16], |
const char * | server_chal, | ||
uint8_t * | lm_response | ||
) |
uint8_t* NTLMv2_generate_client_data_ntlmssp | ( | const char * | addr_list, |
int | address_list_len | ||
) |
void NTLMv2_generate_response_ntlmssp | ( | const uchar | ntlm_v2_hash[16], |
const char * | server_chal, | ||
const char * | address_list, | ||
int | address_list_len, | ||
uint8_t * | nt_response | ||
) |
void SMBNTLMv2encrypt_hash_ntlmssp | ( | const char * | user, |
const char * | domain, | ||
uchar | ntlm_v2_hash[16], | ||
const char * | server_chal, | ||
const char * | address_list, | ||
int | address_list_len, | ||
unsigned char * | lm_response, | ||
unsigned char * | nt_response, | ||
unsigned char * | user_session_key | ||
) |
void SMBOWFencrypt_ntv2_ntlmssp | ( | const uchar | kr[16], |
const uint8_t * | srv_chal, | ||
int | srv_chal_len, | ||
const uint8_t * | cli_chal, | ||
int | cli_chal_len, | ||
uchar | resp_buf[16] | ||
) |
void SMBsesskeygen_lm_sess_key_ntlmssp | ( | const uchar | lm_hash[16], |
const uchar | lm_resp[24], | ||
uint8 | sess_key[16] | ||
) |
int strupper_w | ( | smb_ucs2_t * | s | ) |