intrigueio / intrigue-ident

Application and Service Fingerprinting
https://core.intrigue.io
Other
131 stars 40 forks source link

fixes an issue where cookies are returned as array #77

Closed shpendk closed 3 years ago

shpendk commented 3 years ago

This PR fixes an issue when multiple cookies are returned in an array (nested inside the response_headers array). We now flatten the array first, and then join all cookies. The joining ensures we are not missing any fingerprints.

This has been tested against endpoints known to have one, multiple and no cookies at all. It seems to be working fine and not throwing any errors. There are also more fingerprints returned, since we now use all cookies for matching.