Open godreborn opened 1 year ago
hi in prosper0gdb folder in makefile replace this 2 gcc line gcc -O0 -g -no-pie -isystem
thanks. like this?
when I did that, I got a new error:
godreborn@GODREBORN-LAPTOP:~/ps4jb-payloads/ps5-self-dumper$ make cd ../prosper0gdb; make make[1]: Entering directory '/home/godreborn/ps4jb-payloads/prosper0gdb' gcc -O0 -g -no-pie -isystem ../freebsd-headers -nostdinc -nostdlib -fno-stack-protector -Wl,-r r0gdb.c r0run.o -o prosper0gdb.o -fPIE -ffreestanding r0gdb.c: In function ‘other_thread_fn’: r0gdb.c:512:30: error: parameter name omitted 512 | static void other_thread_fn(void) | ^~~~~ make[1]: [Makefile:13: prosper0gdb.o] Error 1 make[1]: Leaving directory '/home/godreborn/ps4jb-payloads/prosper0gdb' make: [Makefile:10: ../prosper0gdb/prosper0gdb.o] Error 2
error 512 replace with this static void other_thread_fn(void a) { other_thread = get_thread(); ((int()())dlsym((void)0x2001, "sceKernelSleep"))(10000000); }
okay, I got it:
good
one last question. I don't own an exploitable ps5, so I was going to have a friend test the elf file. I know that you need to use elf loader to load the elf, but what do you do afterwards? I mean how do you dump the self file? do you put it in a specific place? I just checked if there was a readme file with this information, but I couldn't find one.
In the ps5-self-dumper, you connect a TCP socket to port 9023 on the PS5, and it immediately starts sending a TAR archive with decrypted binaries.
I get this error. I don't know if there's a specific command or wsl distro.
godreborn@GODREBORN-LAPTOP:~/ps4jb-payloads/ps5-self-dumper$ make cd ../prosper0gdb; make make[1]: Entering directory '/home/godreborn/ps4jb-payloads/prosper0gdb' gcc -O0 -g -isystem ../freebsd-headers -nostdinc -nostdlib -fno-stack-protector -Wl,-r r0gdb.c r0run.o -o prosper0gdb.o -fPIE -ffreestanding /usr/bin/ld: -r and -pie may not be used together collect2: error: ld returned 1 exit status make[1]: [Makefile:13: prosper0gdb.o] Error 1 make[1]: Leaving directory '/home/godreborn/ps4jb-payloads/prosper0gdb' make: [Makefile:10: ../prosper0gdb/prosper0gdb.o] Error 2