mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
Fixed a bug resulting in over-logging of detected webapps.
This commit is contained in:
parent
8eeb37129a
commit
5b04789ab8
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ event signature_match(state: signature_state, msg: string, data: string) &priori
|
|||
# use that as the new url for the software.
|
||||
# PROBLEM: different version of the same software on the same server with a shared root path
|
||||
local is_substring = 0;
|
||||
if ( Software::tracked[c$id$resp_h][si$name]?$url )
|
||||
if ( Software::tracked[c$id$resp_h][si$name]?$url &&
|
||||
|si$url| < |Software::tracked[c$id$resp_h][si$name]$url| )
|
||||
is_substring = strstr(Software::tracked[c$id$resp_h][si$name]$url, si$url);
|
||||
|
||||
if ( is_substring == 1 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue