This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC = gcc | |
LIBS = -lwsock32 -lpthreadGC2 | |
FIX = -mno-ms-bitfields | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bigmini:bin bigboss$ debug.sh | |
[PS4][INFO]: debugnet initialized | |
[PS4][INFO]: Copyright (C) 2010,2016 Antonio Jose Ramos Marquez aka bigboss @psxdev | |
[PS4][INFO]: ready to have a lot of fun... | |
[PS4][DEBUG]: getuid() : 1 | |
[PS4][DEBUG]: executing privilege scalation | |
[PS4][DEBUG]: ps4KernelExecute ret=0 | |
[PS4][DEBUG]: getuid() : 0 | |
[PS4][DEBUG]: [PS4LINK] Server request thread UID: 0x80C189C0 | |
[PS4][DEBUG]: [PS4LINK] Server command thread UID: 0x80CA8A20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PS4][DEBUG]: [PS4LINK] commands listener received packet size (266) | |
[PS4][DEBUG]: [PS4LINK] Received command execuserelf argc=1 argv=host0:listproc.elf | |
[PS4][DEBUG]: [PS4LINK] file open req (host0:listproc.elf, 0 0) | |
[PS4][DEBUG]: [PS4LINK] file open reply received (ret 8) | |
[PS4][DEBUG]: [PS4LINK] file lseek req (fd: 8) | |
[PS4][DEBUG]: [PS4LINK] ps4link_lseek_file: lseek reply received (ret 21904) | |
[PS4][DEBUG]: [PS4LINK] file lseek req (fd: 8) | |
[PS4][DEBUG]: [PS4LINK] ps4link_lseek_file: lseek reply received (ret 0) | |
[PS4][DEBUG]: [PS4LINK] ps4link_read_file: Reply said there's 21904 bytes to read (wanted 21904) | |
[PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 0 readed 4096 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PID PPID PGID SID TSID LOGIN WCHAN EMUL COMM TDNAME | |
65 0 0 0 0 - lvdhddwk - lvd0 lvd0hdd0 | |
[PS4][ERROR]: PID 65 number of vmaps is 0 | |
PID PPID PGID SID TSID LOGIN WCHAN EMUL COMM TDNAME | |
66 0 0 0 0 - lvddft1w - lvd1 lvd1dflt1 | |
[PS4][ERROR]: PID 66 number of vmaps is 0 | |
PID PPID PGID SID TSID LOGIN WCHAN EMUL COMM TDNAME | |
67 0 0 0 0 - lvddft0w - lvd2 lvd2dflt0 | |
[PS4][ERROR]: PID 67 number of vmaps is 0 | |
PID PPID PGID SID TSID LOGIN WCHAN EMUL COMM TDNAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps4sh> mkdir -p ps4/system/sys | |
ps4sh> execdecrypt /system/sys | |
[PS4][DEBUG]: [PS4LINK] commands listener received packet size (266) | |
[PS4][DEBUG]: [PS4LINK] Received command execdecrypt argc=1 argv=/system/sys | |
[PS4][DEBUG]: [DIR]: . | |
[PS4][DEBUG]: [DIR]: .. | |
[PS4][DEBUG]: [FILE]: coredump.elf | |
[PS4][DEBUG]: [PS4LINK] file name to decrypt /system/sys/coredump.elf | |
[PS4][DEBUG]: [PS4LINK] savefile in your host host0:ps4/system/sys/coredump.elf | |
[PS4][DEBUG]: [PS4LINK] kernel hook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log: [PS4][DEBUG]: [PADSAMPLE] 2 elfname=elf ps4linkconf=88022e8e0 88022e8e0 82 | |
log: [PS4][DEBUG]: libScePad module ID=0x15 scePadInit address 0x824bb8220 | |
log: [PS4][DEBUG]: found g_pad at 0x824bc00e8 struct myPad set to 0x824bc00e8 | |
log: [PS4][DEBUG]: g_pad hex value status 0x1 fd 0x80 padlock 0x88025a7c0 | |
log: [PS4][DEBUG]: scePadInit return 0x00000000 | |
log: [PS4][DEBUG]: g_pad address status 0x824bc00e8 fd 0x824bc00ec padlock 0x824bc00f0 | |
log: [PS4][DEBUG]: g_pad hex value status 0x1 fd 0x80 padlock 0x88025a7c0 | |
log: [PS4][DEBUG]: g_pad device number 0 unknown1 0x0 handle 0x0 unknown2 0x0 userID 0x0 type 0x0 index 0x0 | |
log: [PS4][DEBUG]: g_pad device number 1 unknown1 0x0 handle 0x0 unknown2 0x0 userID 0x0 type 0x0 index 0x0 | |
log: [PS4][DEBUG]: g_pad device number 2 unknown1 0x0 handle 0x0 unknown2 0x0 userID 0x0 type 0x0 index 0x0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sys_dynlib_load_prx loading lib libScePad.sprx | |
ps4StubResolveSystemCall libScePad.sprx k 40 | |
scePadInit return 0x00000000 | |
scePadOpen return 0x03090500 | |
scePadRead 0 return 0x0 | |
scePadRead buttons 34d97ca2 connected 7 leftstick.x 0x8 | |
scePadRead buttons 90 80f86cd02 | |
scePadRead 1 return 0x0 | |
scePadRead buttons 34d97ca2 connected 7 leftstick.x 0x8 | |
scePadRead buttons 90 80f86cd02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log: [PS4][INFO]: debugnet initialized | |
log: [PS4][INFO]: Copyright (C) 2010,2016 Antonio Jose Ramos Marquez aka bigboss @psxdev | |
log: [PS4][INFO]: ready to have a lot of fun... | |
log: [PS4][DEBUG]: getuid : 0 getgid=0 | |
log: [PS4][DEBUG]: td 0[PS4][DEBUG]: dump 1500000[PS4][DEBUG]: td 0[PS4][DEBUG]: ret 0[PS4][DEBUG]: getuid : 0 getgid=0 | |
log: [PS4][DEBUG]: [PS4LINK] Server request thread UID: 0x80FB4640 | |
log: [PS4][DEBUG]: [PS4LINK] Server command thread UID: 0x80FCB520 | |
log: [PS4][DEBUG]: [PS4LINK] Command Thread Started. | |
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_commands_sock: 17 | |
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_requests_sock: 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps4sh> execuser ps4ftp405.elf | |
log: [HOST][DEBUG]: [PS4SH] argc=1 argv=host0:ps4ftp405.elf | |
log: [PS4][DEBUG]: [PS4LINK] commands listener received packet size (266) | |
log: [PS4][DEBUG]: [PS4LINK] Received command execuserelf argc=1 argv=host0:ps4ftp405.elf | |
log: [PS4][DEBUG]: [PS4LINK] file open req (host0:ps4ftp405.elf, 0 0) | |
log: [HOST][DEBUG]: [PS4SH] Opening ps4ftp405.elf flags 0 | |
log: [HOST][DEBUG]: [PS4SH] Open return 14 | |
log: [PS4][DEBUG]: [PS4LINK] file open reply received (ret 14) | |
log: [PS4][DEBUG]: [PS4LINK] file lseek req (fd: 14) | |
log: [HOST][DEBUG]: [PS4SH] 231352 result of lseek 0 offset 2 whence |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ clang -v | |
clang version 7.0.0 (http://llvm.org/git/clang.git 694f835265f40cbfbb02bd64ee766d1acd879dc6) (http://llvm.org/git/llvm.git 0c500a83b4f748c4c9562bc9c7ce1f6bbe64be85) | |
Target: x86_64-scei-ps4 | |
Thread model: posix | |
InstalledDir: /usr/local/orbisdev505/toolchain/bin | |
$ ld -v | |
GNU ld (GNU Binutils) 2.25 | |