dearjohn Posted November 2, 2021 Report Share 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 Link to comment Share on other sites More sharing options...
dessiemuller Posted December 10, 2021 Report Share Posted December 10, 2021 (edited) Did you figure it out??????? slope game Edited June 20, 2022 by dessiemuller Quote Link to comment Share on other sites More sharing options...
SirGod Posted December 10, 2021 Report Share 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 Link to comment Share on other sites More sharing options...