Post Reply 
Path Blocking with Metacharacters
Aug. 11, 2015, 10:56 AM (This post was last modified: Aug. 11, 2015 10:58 AM by cattleyavns.)
Post: #5
RE: Path Blocking Using Wildcard Characters
My lastest experimental about webbugs blocking, this filter will check if a URL contains something like:

Code:
http://12.123/2?=tttttttttttttkkkk&1?=[color=#FF0000][b]0C92C3423CA7811A61745F7ED2F6A01[/b][/color]3
Demo Regex101: https://regex101.com/r/vX3cS9/1

Some websites generate MD5 (32 chars) or SHA1 (40 chars) based on our information (user-agent, plugins, date and time, timezone...) using Javascript and then send to their server and log our information, so this is a very simple method to block their tracking method, this is a variant of webbugs.

Code:
/.*?=(?:.{32}|.{40})(?:$|&)

Like my /.{300} above, use this filter carefully.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Path Blocking with Metacharacters - Faxopita - Aug. 10, 2015, 10:19 PM
RE: Path Blocking Using Wildcard Characters - cattleyavns - Aug. 11, 2015 10:56 AM

Forum Jump: