-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update http_cookies #351
Update http_cookies #351
Conversation
<fingerprint pattern="^__cfd?uid="> | ||
<description>CloudFlare web load balancer endpoint</description> | ||
<example>__cfuid=1337</example> | ||
<example>__cfduid=dd450f2431e1e611a61a15f68974de9a41618794671; expires=Wed, 19-May-21 01:11:11 GMT; path=/; domain=.foo.bar; HttpOnly; SameSite=Lax</example> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fingerprint moved up due to frequency of observation. Coverage for __cfduid
added
<param pos="0" name="service.cpe23" value="cpe:/a:php:php:-"/> | ||
</fingerprint> | ||
|
||
<fingerprint pattern="^(ASPSESSIONID[A-Z]+|ASP\.NET_SessionId|\.ASPXANONYMOUS)=.*"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and above moved up for performance reasons
FYI @hdm |
Thanks! |
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. |
Description
This PR updates
http_cookies
by:Motivation and Context
Improving fingerprints
How Has This Been Tested?
rspec
Checklist: