4 Jul 08:31
Re: problem with my regex and single line HTMLcomment in RESPONSE_BODY
From: Stephen Craig Evans <stephencraig.evans <at> gmail.com>
Subject: Re: problem with my regex and single line HTMLcomment in RESPONSE_BODY
Newsgroups: gmane.comp.apache.mod-security.user
Date: 2008-07-04 06:31:30 GMT
Subject: Re: problem with my regex and single line HTMLcomment in RESPONSE_BODY
Newsgroups: gmane.comp.apache.mod-security.user
Date: 2008-07-04 06:31:30 GMT
Hi, I'm a little embarrassed about yesterday's outburst - I guess reading debug files for so long made me a little nutso. Ivan, back to your idea of a ModSecurity console... I think a large part of my frustration (besides sucking at writing regex's(Continue reading)comes from having to modify the .conf file, restart Apache, run a test case, then wade through the debug log file just to see if it worked or not. In a couple of weeks after I've hit the 50% project completion milestone and I compile and install 2.5.5, I'll look more closely at the C functions in msc_pcre.c. Perhaps it won't be too difficult to write a C program that can call those directly or call the function calls that ModSecurity calls. For now I would be happy with just a shell command line interface where I can input the regex, then proceed by entering different strings and knowing if they match or not. I am writing many WebGoat sublesson-specific regex's and this would save me a lot of time I believe. Cheers, Stephen On Fri, Jul 4, 2008 at 8:55 AM, Ivan Ristic <ivanr <at> webkreator.com> wrote: > Achim Hoffmann wrote:
comes from having to modify the .conf file, restart
Apache, run a test case, then wade through the debug log file just to
see if it worked or not.
In a couple of weeks after I've hit the 50% project completion
milestone and I compile and install 2.5.5, I'll look more closely at
the C functions in msc_pcre.c. Perhaps it won't be too difficult to
write a C program that can call those directly or call the function
calls that ModSecurity calls.
For now I would be happy with just a shell command line interface
where I can input the regex, then proceed by entering different
strings and knowing if they match or not.
I am writing many WebGoat sublesson-specific regex's and this would
save me a lot of time I believe.
Cheers,
Stephen
On Fri, Jul 4, 2008 at 8:55 AM, Ivan Ristic <ivanr <at> webkreator.com> wrote:
> Achim Hoffmann wrote:
RSS Feed