mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
BeanShell support
This commit is contained in:
parent
90856f42b6
commit
28e6ad8963
@ -2214,7 +2214,6 @@ static apr_status_t msre_action_exec_execute(modsec_rec *msr, apr_pool_t *mptmp,
|
||||
const char *start = "java -classpath bsh*.jar bsh.Interpreter ";
|
||||
|
||||
char *command = (char*) apr_palloc(mptmp, strlen(start) + lenparam + 1);
|
||||
msr_log(msr, 1, "beanshell ftw");
|
||||
strcpy(command, start);
|
||||
strcat(command, action->param);
|
||||
command[strlen(start) + lenparam] = '\0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user