killchain-compendium/Reverse Engineering/Krakatau.md

18 lines
300 B
Markdown
Raw Normal View History

2022-11-12 23:18:06 +01:00
# Krakatau
## Usage
* Get bytecode from `jar` file
```sh
krakatau-disassemble -r file.jar -out dissassemble.zip
```
* Generate bytecode
```sh
krakatau-assemble -out result.jar -r dissassembled/
```
* Do changes to the bytecode
* Compile jar file
```sh
java -cp result.jar <fileNameOfMainClass>
```