Data sent from snare to tanner have small issue. In short this data can be represented as dictionary of keys: method, path, headers, uuid, peer, status, cookies, etc...
Value of data[cookies] is another dictionary containing cookies names and values: This dictionary is not created properly and some keys (cookies names) are generated with leading whitespace.
I found the issue is connected to this part of code:
https://github.com/mushorg/snare/blob/master/snare/tanner_handler.py#L45
The easiest fix is to remove whitespaces with something like strip() but I am not sure if it is the correct way to fix this problem.
Hopefully somebody will look at this problem.
Data sent from snare to tanner have small issue. In short this data can be represented as dictionary of keys: method, path, headers, uuid, peer, status, cookies, etc...
Value of data[cookies] is another dictionary containing cookies names and values: This dictionary is not created properly and some keys (cookies names) are generated with leading whitespace.
I found the issue is connected to this part of code:
https://github.com/mushorg/snare/blob/master/snare/tanner_handler.py#L45
The easiest fix is to remove whitespaces with something like strip() but I am not sure if it is the correct way to fix this problem.
Hopefully somebody will look at this problem.