Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: [Snort-sigs] Strange PCRE usage in standard snort rules |
|---|---|
| Date: | Mon, 9 May 2005 04:48:21 -0700 |
On Mon, May 09, 2005 at 04:03:04PM +1000, Erik de Castro Lopo wrote:
OK, in order to resolve this ambiguity, I looked at the code.
code == docs ;)
Therefore, if there are 27 non-newline characters, the DE will
then look for the string "&|00|" at exactly 29 bytes from the end
of the PCRE match.
This means that the PCRE could be replaced with "/^[^\n]{27}/R",
but cannot be dropped altogether.
how about:
content: !"|0a|"; within:27;
byte_test: 2,=,9728,56,big,relative;
--
Erik Fichtner; Unix Ronin
"Mathematics is something best shared between consenting adults
in the privacy of their own office" - Adam O'Donnell
pgp4ekZbhgrfh.pgp
Description: PGP signature
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Snort-sigs] Strange PCRE usage in standard snort rules, Frank Knobbe |
|---|---|
| Next by Date: | Re: [Snort-sigs] Strange PCRE usage in standard snort rules, Brian |
| Previous by Thread: | Re: [Snort-sigs] Strange PCRE usage in standard snort rules, Brian |
| Next by Thread: | Re: [Snort-sigs] Strange PCRE usage in standard snort rules, Brian |
| Indexes: | [Date] [Thread] [Top] [All Lists] |