Exploitation
Overview
Basic Proof of Concept
ExpressionFactory factory = new ExpressionFactoryImpl();
SimpleContext context = new SimpleContext();
String pl = "${7*7}";
ValueExpression e = factory.createValueExpression(context, pl, Integer.class);
System.out.println(e.getValue(context));
// OUTPUT
49Last updated