by soheil · 7y ago · 0 comments
$etag = substr(sha1($secret . sha1($_SERVER["REMOTE_ADDR"]) . sha1($_SERVER["HTTP_USER_AGENT"])), 0, 18);> This tracking method works without needing to use: [...] Your IP address or user agent string
The author even notes in the source, "Normally you would derive this from randomness." I wonder what the reasoning was for this strategy?