Skip to main content

build_type2

Function build_type2 

Source
pub fn build_type2(challenge: &[u8; 8], domain: &str, hostname: &str) -> Vec<u8> 
Expand description

Build an NTLMSSP CHALLENGE (type 2) message carrying our challenge, target domain/hostname and a complete TargetInfo AV list.

The layout follows [MS-NLMP] §2.2.1.2 including the Version field (NEGOTIATE_VERSION is always granted here, matching what Windows sends). Build an NTLMSSP CHALLENGE (Type 2) message ([MS-NLMP] §2.2.1.2 fixed layout).