Hey guys,
This might be a very easy thing to do but I just don't know how. I want to be able to match both these strings (using Snort to get packets that contain these expressions)
...16 03 01 34 23 0b.... ...16 03 01 39 4b 0b....
I was wondering if there was a way to write a match expression like "m/16 03 01 anything anything 0b/".
I guess a work around could be to look for the index of "16 03 01" and then say check to see if 6 characters away is "0b," but I was just wondering if there was a better way of doing this. Thanks in advance!
In reply to Creating spacers in regex match by ahuang14
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |