I'm not a regex expert, and I'm struggling to figure something out.
I'm making signature that looks at the "Referer" in the http-requst-header.
What I want to do next is make an expression that matches on everything except http://cnn.com as the referer.
That means it should look for Referer, and then maybe negate "http://cnn.com"?
Any ideas on how to do that?
So, you're looking for a "negate" operator in the custom vulnerability signature functionality? I don't believe that negate is there today... Check back in a week or so and there might be more information available. :smileyhappy:
Thanks for your reply Jared!
Yeah, i know :smileyhappy: But I'm actually looking for a way to do this in 6.0/6.1. If it's possible to build the regex in a way that makes it negate the string.
Not sure if it's supported, cause all my attempts have failed.
I'm not aware of a way to accomplish what you're asking in 6.0/6.1. 7.0 is supposed to be available today and includes the negate feature.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!