Comments (4)
Original reporter: trombik
from modsecurity.
brectanus: This does not work?
local vars = m.getvars("ARGS.argname")
from modsecurity.
trombik: My point is, you don't have to repeat m.getvars again and again. Often, I check several parameters in a script.
How m.getvars("ARGS.argname") solves this problem?
from modsecurity.
bpinto: Currently you can access arguments using:
function main()
vars = m.getvars("ARGS", "none", "urlDecodeUni");
for i = 1, #vars do
value = (vars[i].value);
end
return nil;
end
I think it is enough right ?
from modsecurity.
Related Issues (20)
- None human readable AuditLog examples. HOT 7
- Assistance Required with ModSecurity Rule Compatibility for OpenLiteSpeed HOT 3
- Problem about proxy action HOT 7
- Build error related to APR in config.c HOT 4
- `[client <ip address>]` field is missing in `modsec_audit.log` in section H HOT 10
- [modsecurity.conf-recommended] align processing on request & response for json HOT 4
- Not working with Nginx + HTTP/3 HOT 1
- Discussion of the new XML processing feature HOT 32
- 350001 rule blocks the Facebook Sharing Debugger bot HOT 1
- No error log if noauditlog is set HOT 4
- [BUG] multiMatch lead to unexpected match HOT 1
- Detect user agent and execute action HOT 1
- Bazel build on Windows HOT 4
- [FEATURE] Add a new `t:removeSQLComments` transformation HOT 2
- Mod3 ./configuration show missing HOT 2
- configure: error: PCRE2 was explicitly referenced but it was not found in v3.0.12 HOT 3
- Discussion about 'hostname' field in log HOT 9
- after scan coreruleset-main.zip by Microsoft defender for business version. HOT 2
- libModSecurity3: all triggered rule IDs sometimes won't be logged with anomaly scoring HOT 3
- Review and document multi-threading support and limitations HOT 4
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.