mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 09:31:53 +03:00
BeanShell support
This commit is contained in:
committed by
Felipe Zimmerle
parent
28e6ad8963
commit
1b5de94f3d
@@ -2208,7 +2208,7 @@ static apr_status_t msre_action_exec_execute(modsec_rec *msr, apr_pool_t *mptmp,
|
|||||||
bsh = 1;
|
bsh = 1;
|
||||||
|
|
||||||
if (bsh) {
|
if (bsh) {
|
||||||
//beanshell_execute(action->param, msr, mptmp, rule);
|
//beanshell_execute(action->param, msr, mptmp, rule); //previous approach using APR API for starting a process
|
||||||
char *script_output = NULL;
|
char *script_output = NULL;
|
||||||
int rc;
|
int rc;
|
||||||
const char *start = "java -classpath bsh*.jar bsh.Interpreter ";
|
const char *start = "java -classpath bsh*.jar bsh.Interpreter ";
|
||||||
|
|||||||
Reference in New Issue
Block a user