Comments (4)
I identified the part where it fails. It fails while analysing the following area:
--42d6c752-A--
[11/Apr/2019:00:55:05 +0200] XK50SRHvbKyUyHS55wE8zQAAAIM 10.10.10.10 33990 10.10.10.10 443
--42d6c752-B--
GET /components/com_jdownloads/assets/rating/js/ajaxvote.php HTTP/1.1
Host: mydomain.de
Referer: https://mydomain.de/download/category/2-presse.html
PageSpeed: off
User-Agent: Serf/1.3.9 (mod_pagespeed/1.13.35.2-0)
--42d6c752-F--
HTTP/1.1 200 OK
X-Powered-By: PHP/7.2.17
Cache-Control: must-revalidate
Expires: Wed, 10 Apr 2019 23:55:05 GMT
Vary: Accept-Encoding
Upgrade: h2,h2c
Connection: Upgrade
X-Powered-By: PleskLin
Transfer-Encoding: chunked
Content-Type: text/css; charset: UTF-8;charset=UTF-8
--42d6c752-E--
--42d6c752-H--
Message: Warning. Match of "pm AppleWebKit Android" against "REQUEST_HEADERS:User-Agent" required. [file "/etc/apache2/modsecuri$
Apache-Error: [file "apache2_util.c"] [line 273] [level 3] [client 10.10.10.10] ModSecurity: Warning. Match of "pm AppleWebKit A$
Apache-Handler: proxy:unix:///var/www/vhosts/system/mydomain/php-fpm.sock|fcgi://127.0.0.1:9000
Stopwatch: 1554936905899489 12336 (- - -)
Stopwatch2: 1554936905899489 12336; combined=7574, p1=472, p2=6823, p3=77, p4=154, p5=48, sr=83, sw=0, l=0, gc=0
Response-Body-Transformed: Dechunked
Producer: ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/); OWASP_CRS/3.0.2.
Server: Apache
Engine-Mode: "ENABLED"
--42d6c752-Z--
from modsecurity-parser.
Further analysis. This entry seems to be the problem:
Content-Type: text/css; charset: UTF-8;charset=UTF-8
from modsecurity-parser.
Thanks for reporting. Indeed if the line has more than one semicolon it can throw an exception.
from modsecurity-parser.
Ok, corrected. It works fine with more than one colon in the line in sectionF. Added also a block try/except to handle similar unknown bugs in that part of the code.
from modsecurity-parser.
Related Issues (20)
- Error TypeError: pie() got an unexpected keyword argument 'normalize' HOT 4
- No modsecurity events found in the specified file HOT 3
- ValueError: Single argument to subplot must be a three-digit integer, not AxesSubplot(0.125,0.420962;0.149038x0.148077) HOT 2
- IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed HOT 1
- Graph error HOT 8
- Png Graph not show rule id HOT 4
- Doesn't work with python 3.11 on Wondows 10/11 with matplotlib > 3.3
- LogParts Setting HOT 2
- File config.yaml.example for global settings
- in Detection only mode on hapee-2.4/libmodsecurity3 no rules are displayed in the report HOT 5
- IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed HOT 5
- --version3 and libmodsecurity 3 parsing exceptions HOT 1
- ValueError: time data
- ValueError: Single argument to subplot must be a three-digit integer, not <Axes: > HOT 2
- Generate rsyslog/nxlog compatible paersed log file per minute to get a near real time view ? HOT 5
- incorrect HELP=Yes parameters
- plt.subplot(ax21) : Function is expecting a three-digit integer instead of an Axes object. HOT 3
- Time format HOT 3
- Json not vaild HOT 1
- MatplotlibDeprecationWarning using matplotlib 3.3.1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modsecurity-parser.