rapid7 / recog

Pattern recognition for hosts, services, and content
Other
662 stars 195 forks source link

Update http_cookies #351

Closed tsellers-r7 closed 3 years ago

tsellers-r7 commented 3 years ago

Description

This PR updates http_cookies by:

Motivation and Context

Improving fingerprints

How Has This Been Tested?

rspec

Checklist:

tsellers-r7 commented 3 years ago

FYI @hdm

hdm commented 3 years ago

Thanks!

hdm commented 3 years ago

This LGTM at first glance. We may want to consider normalizing cookies in the future so that we parse each cookie separately vs the entire Set-Cookie header, as the order of cookies can change. Any anchors (^) might not be valid when there is an application cookie set first.