mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
SMB: Init lanman time and set TZ correctly before calling mktime
This makes a change to the record for smb1-negotiate-response as well. Times and dates are two 2-byte sections, not three. Switch the parsing to just use two uint16s, and pass those into the lanman time conversion function.
This commit is contained in:
parent
3c16ee9667
commit
8efddf87d9
6 changed files with 55 additions and 12 deletions
|
@ -181,8 +181,8 @@ type SMB1_negotiate_lanman_response(header: SMB_Header) = record {
|
|||
max_number_vcs : uint16;
|
||||
raw_mode : uint16; # expanded in &let
|
||||
session_key : uint32;
|
||||
server_time : SMB_time;
|
||||
server_date : SMB_date;
|
||||
server_time : uint16;
|
||||
server_date : uint16;
|
||||
server_tz : uint16;
|
||||
encryption_key_length : uint16;
|
||||
reserved : uint16; # must be zero
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue