killchain-compendium/reverse engineering/java/krakatau.md

300 B

Krakatau

Usage

  • Get bytecode from jar file
krakatau-disassemble -r file.jar -out dissassemble.zip
  • Generate bytecode
krakatau-assemble -out result.jar -r dissassembled/
  • Do changes to the bytecode
  • Compile jar file
java -cp result.jar <fileNameOfMainClass>