Skip to content

Commit

Permalink
Merge branch 'patch-2' of https://github.com/balintm/bro
Browse files Browse the repository at this point in the history
* 'patch-2' of https://github.com/balintm/bro:
  Update smb1-com-open-andx.pac
  • Loading branch information
0xxon committed Oct 25, 2016
2 parents 0f29405 + 303985e commit 6aea681
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@

2.5-beta-102 | 2016-10-25 09:43:45 -0700

* Update number of bytes in request/response of smb1-com-open-andx.pac. (balintm)

* Fix a IPv4 CIRD specifications and payload-size condition of signature matching.
(Robin Sommer)

* Python 3 compatibility fix for coverage-calc script. (Daniel Thayer)

2.5-beta-93 | 2016-10-24 11:11:07 -0700

* Fix alignment issue of ones_complement_checksum. This error
Expand Down Expand Up @@ -515,7 +524,7 @@
2.4-623 | 2016-06-15 17:31:12 -0700

* &default values are no longer overwritten with uninitialized
by the input framework. (Jan Grashoefer)
by the input framework. (Jan Grashoefer)

2.4-621 | 2016-06-15 09:18:02 -0700

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5-beta-93
2.5-beta-102
4 changes: 2 additions & 2 deletions src/analyzer/protocol/smb/smb1-com-open-andx.pac
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type SMB1_open_andx_request(header: SMB_Header, offset: uint16) = record {
open_mode : uint16;
allocation_size : uint32;
timeout : uint32;
reserved : padding[2];
reserved : padding[4];
byte_count : uint16;
filename : SMB_string(header.unicode, offsetof(filename);

Expand All @@ -74,7 +74,7 @@ type SMB1_open_andx_response(header: SMB_Header, offset: uint16) = record {
resource_type : uint16;
nm_pipe_status : uint16;
open_results : uint16;
reserved : padding[3];
reserved : padding[6];
byte_count : uint16;

extra_byte_parameters : bytestring &transient &length=(andx.offset == 0 || andx.offset >= (offset+offsetof(extra_byte_parameters))+2) ? 0 : (andx.offset-(offset+offsetof(extra_byte_parameters)));
Expand Down

0 comments on commit 6aea681

Please sign in to comment.