cannot be compiled properly issue
Opened this issue · 4 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Python 2.7.3
2. scalp-0.4
3. RHEL4
What is the expected output? This is my first time using this tools. What do
you see instead? Loading XML file './default_filter.xml'...
The rule
'(?:union\s*(?:all|distinct|[(!@]*)?\s*[([]*\s*select)|(?:\w\s+like\s+\")|(?:lik
e\s*"\%)|(?:"\s*like\W*["\d])|(?:"\s*(?:n?and|x?or|not
|\|\||\&\&)\s+[\s\w]+=\s*\w+\s*having)|(?:"\s*\*\s*\w+\W+")|(?:"\s*[^?\w\s=.,;)(
]+\s*[(@"]*\s*\w+\W+\w)|(?:select\s*[\[\]()\s\w\.,"-]+from)|(?:find_in_set\s*\()
' cannot be compiled properly
Original issue reported on code.google.com by cjbidw...@gmail.com
on 25 Sep 2012 at 7:22
GoogleCodeExporter commented
Sorry command run is:
/usr/local/python2.7/bin/python scalp-0.4.py -l
/var/log/apache/httpd-access.log.2012-09-25 -f ./default_filter.xml -o
server.html
Original comment by cjbidw...@gmail.com
on 25 Sep 2012 at 7:23
GoogleCodeExporter commented
I noticed this is run with Python 2.5. I will run against that and see how it
fairs.
Original comment by cjbidw...@gmail.com
on 25 Sep 2012 at 7:27
GoogleCodeExporter commented
Okay, I get the same results with Python 2.5.
Original comment by cjbidw...@gmail.com
on 25 Sep 2012 at 7:34
GoogleCodeExporter commented
You can close this. I found it's the same as Issue 6. I've commented out Rule
45 and Rule 73 and it appears to be working now.
Original comment by cjbidw...@gmail.com
on 25 Sep 2012 at 7:37