You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ModSecurity log entries show operators and parameters enclosed in backticks (`), while variable names and data values are enclosed in single quotes ('). For example:
I don't know if it's correct or not, but this is the expected behavior :).
If you check the code, the engine produces this message here or here, and the syntax (that you mentioned: the quote marks are ` and '.
I'm sure there is a reason why the author of that code has made this decision, but I think it wouldn't be a good idea to replace it now, because many user made their own logparser, and - perhaps - this change would brake them.
Describe the bug
The ModSecurity log entries show operators and parameters enclosed in backticks (`), while variable names and data values are enclosed in single quotes ('). For example:
PmFromFile'
lfi-os-files.data'
ARGS:bar'
/bin/sh'
and so on...
Wouldn't it have to be?
'PmFromFile'
'lfi-os-files.data'
'ARGS:bar'
'/bin/sh'
Logs and dumps
Output of:
AuditLogs
To Reproduce
Expected behavior
Server (please complete the following information):
Rule Set (please complete the following information):
Additional context
None, just see logs.
The text was updated successfully, but these errors were encountered: