Skip to content

jeffli1024/log4j-rce-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

./build.sh

Start log4j RCE Server

./start-log4j-rce-server.sh

Test

  • Run java -cp log4j-rce-1.0-SNAPSHOT-all.jar log4j Check if you get logs in hack.log from current folder
  • You can change this line
    String[] cmds = { "sh", "-c", "echo 'Exploit at '" + getDateString() + " >> ./hack.log" };
    in file apache-log4j-poc/src/main/java/Exploit.java to whatever you like then rebuild and run test
  • Check out issue #1 if you see maven compile error

Credits

About

CVE-2021-44228 - Apache log4j RCE quick test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published