PS5-IPV6-Kernel-Exploit icon indicating copy to clipboard operation
PS5-IPV6-Kernel-Exploit copied to clipboard

Updated elf loader to accept dynamic payload sizes.

Open someguythatmods opened this issue 2 years ago • 0 comments

The current elf loader implementation has the elf store limited at 2mb, this change allows a payload of any size to come through.

This is done under the assumption that the section header table is at the bottom of the file, and then takes the section header offset + (entry size * number). Im not sure if this is always the case, but it seems to work with all elfs I have tried so far. (with the exception of kstuff, but its a really simple fix to make it work, the section header table offset just needs to be set to the file size.)

someguythatmods avatar Dec 18 '23 15:12 someguythatmods