CAtom *Decode( const string &x, unsigned long iStart ) { if( iStart < x.size( ) ) { if( x[iStart] == 'i' ) return DecodeLong( x, iStart ); else if( isdigit( x[iStart] ) ) return DecodeString( x, iStart ); else if( x[iStart] == 'l' ) return DecodeList( x, iStart ); else if( x[iStart] == 'd' ) return DecodeDicti( x, iStart ); string temp = x.substr( iStart ); UTIL_LogPrint( "error decoding - found unexpected character %u, halting decode\n", (unsigned char)x[iStart] ); } else UTIL_LogPrint( "error decoding - out of range\n" ); return NULL; }
unsigned long NTLMAuthClientMsgType3::GetFlags() { return DecodeLong(60L); }
unsigned long NTLMAuthServerMsgType2::GetFlags() { return DecodeLong(20L); }
long NTLMAuthMessage::GetMessageType() { return DecodeLong(8L); }