Zecoxao shared a new PlayStation 4 tutorial proceeding his PS4 Version Spoof covering reading and writing to the PS4 process memory using proc_rwmem for those on a 1.76 Firmware console.
Previously, Peek and Poke support was added to PS4Link by PS4 Developer psxdev (Big Boss). This nice addition helps out to Read and Write to the PlayStation 4 process memory using the function "proc_rwmem".
The original credits goes to Wskeu and Wildcard, these individuals did the reading part and writing part of this tutorial you are about to read.
To roughly quote Zecoxao's tutorial: How to read and write to process memory using proc_rwmem
Credits (these go first):
Original authors: wskeu (for the reading part), and wildcard (for the writing part)
- 1.76 console
- elf loader precompiled or extreme-modding's elf loader
- the payload source
- a brain
1. Compile the payload. Specifically to what you want to patch, the size, etc. So, this:
and this:Code:/* set variables for reading and writing mem */ size_t dumphexsize = 0x200; size_t dumpsize = 0x1; // size that you want to read size_t writesize = 0x1; // size of the data you are overwriting uint64_t base = start; // use the number of the mapping you want to write to, starting with 0 size_t intoBase = 0x465FC9; // relative position of base
2. Load elf-loader. Let it stabilize on stage 5. (To increase success rate, clear cookies, cache and history)Code:char *target = "SceShellCore";
3. Load the payload. Specifically:
4. This payload will take a while to listen to logs. Be patient. After a while it’ll show log output with the memory before and memory after.Code:#listener socat - TCP:my.ps4.ip:5052 #sender socat -u FILE:path/to/rwmem TCP:my.ps4.ip:5053
Notes: This is process Peek and Poke (reading and writing to process memory) using proc_rwmem, which is more efficient than the old method.
Download: ce-32875-3(shellcore-patch-everyboot).elf (72.94 KB)
Download: ps4-playground+hito-elfldr.7z (8.17 MB)
Thanks to @B7U3 C50SS, @psik, @raedoob, @simobuoncuo, @toni1988 and @UmarDaBest559 for the heads-up in the PSXHAX Shoutbox!