Exploit database

GH-c2fc84cac7dc95cafeface2a430b9c2b

al1ex/cve-2020-2883

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2020-2883

20 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files5
al1ex/cve-2020-2883Revision 126614508a08

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/com/supeream/weblogic/ObjectTest.java

Java · 819 bytes
package com.supeream.weblogic;

import com.supeream.serial.BytesOperation;

import java.io.*;

/**
 * Created by nike on 17/7/11.
 */
public class ObjectTest {
    public static void main(String[] args) throws Exception {


        ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
        ObjectOutputStream objectOutputStream = new ObjectOutputStream(byteArrayOutputStream);
        objectOutputStream.writeUTF("xxx");
        String xx = BytesOperation.bytesToHexString(byteArrayOutputStream.toByteArray());
        System.out.println(xx);
        byte[] cons = BytesOperation.hexStringToBytes(xx);



        ByteArrayInputStream bis = new ByteArrayInputStream(cons);
        ObjectInputStream objectInputStream = new ObjectInputStream(bis);
        objectInputStream.readObject();
    }
}