mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
RDP: Add weird if specification violated for max channels allowed.
This commit is contained in:
parent
85fc553136
commit
10109b6b93
1 changed files with 4 additions and 0 deletions
|
@ -204,6 +204,10 @@ event rdp_client_network_data(c: connection, channels: ClientChannelList)
|
|||
c$rdp$client_channels[i] = gsub(channels[i]$name, /\x00+$/, "");
|
||||
}
|
||||
|
||||
if ( |channels| > 31 ) {
|
||||
Reporter::conn_weird("RDP_channels_requested_exceeds_max", c, fmt("%s", |channels|));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
event rdp_gcc_server_create_response(c: connection, result: count) &priority=5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue