killchain-compendium/reverse_engineering/java/krakatau.md

18 lines
300 B
Markdown
Raw Normal View History

2021-12-28 00:59:54 +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>
```