dearjohn Posted November 2, 2021 Report Posted November 2, 2021 hey guys how to load java shellcode? /* length: 798 bytes */ byte buf[] = new byte[] { 0xfc, 0x33, 0x35, 0x2e, 0x38, 0x32, 0x00, 0x12, 0x34, 0x56, 0x78 }; Quote
dessiemuller Posted December 10, 2021 Report Posted December 10, 2021 (edited) Did you figure it out??????? slope game Edited June 20, 2022 by dessiemuller Quote
SirGod Posted December 10, 2021 Report Posted December 10, 2021 Hello, you can try these methods: 1. via JNI: https://www.cobaltstrike.com/blog/how-to-inject-shellcode-from-java/ 2. without JNI: https://github.com/schierlm/JavaPayload/blob/master/JavaPayload/src/javapayload/stage/Shellcode.java (also check out JITShellcodeRunner.java in the repo) 1 Quote