Skip to content

Instantly share code, notes, and snippets.

@psxdev
Created January 6, 2018 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psxdev/d976218e623a898ef0feca5d295e53cb to your computer and use it in GitHub Desktop.
Save psxdev/d976218e623a898ef0feca5d295e53cb to your computer and use it in GitHub Desktop.
ps4ftp.elf from ps4link in 4.05
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
log: [PS4][DEBUG]: [PS4LINK] ps4link_lseek_file: lseek reply received (ret 231352)
log: [PS4][DEBUG]: [PS4LINK] file lseek req (fd: 14)
log: [HOST][DEBUG]: [PS4SH] 0 result of lseek 0 offset 0 whence
log: [PS4][DEBUG]: [PS4LINK] ps4link_lseek_file: lseek reply received (ret 0)
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: Reply said there's 231352 bytes to read (wanted 231352)
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 0 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 1 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 2 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 3 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 4 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 5 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 6 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 7 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 8 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 9 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 10 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 11 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 12 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 13 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 14 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 15 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 16 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 17 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 18 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 19 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 20 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 21 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 22 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 23 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 24 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 25 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 26 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 27 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 28 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 29 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 30 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 31 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 32 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 33 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 34 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 35 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 36 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 37 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 38 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 39 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 40 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 41 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 42 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 43 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 44 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 45 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 46 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 47 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 48 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 49 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 50 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 51 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 52 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 53 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 54 readed 4096
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: chunk 55 readed 6072
log: [PS4][DEBUG]: [PS4LINK] ps4link_file: file close req (fd: 14)
log: [PS4][DEBUG]: [PS4LINK] ps4link_close_file: close reply received (ret 0)
log: [PS4][DEBUG]: [PS4LINK] ready to run elf
log: [PS4][DEBUG]: malloc for argument
log: [PS4][DEBUG]: after malloc for argument
log: [PS4][DEBUG]: In ps4MemoryProtectedCreaten
log: [PS4][DEBUG]: pageSize=16384
log: [PS4][DEBUG]: 80fb7040 memory
log: [PS4][DEBUG]: 238000 m->size
log: [PS4][DEBUG]: after ps4MemoryProtectedCreate
log: [PS4][DEBUG]: after ps4MemoryProtectedGetWritableAddress
log: [PS4][DEBUG]: after ps4MemoryProtectedGetExecutableAddress
log: [PS4][DEBUG]: after elfLoaderLoad return r=0 readable=20d798000 executable=20d798000
log: [PS4][DEBUG]: after set argument->main 20d7af610
log: [PS4][DEBUG]: after elfDestroyAndFree
log: [PS4][DEBUG]: [PS4LINK] New user elf thread UID: 0x80FB9060
log: [PS4][DEBUG]: [PS4LINK] commands listener waiting for next command
log: [PS4][DEBUG]: [PS4LINK] Configuration pointer 880f4bc60, pointer_conf string 880f4bc60
log: [PS4][INFO]: debugnet already initialized using configuration from ps4link
log: [PS4][INFO]: debugnet_initialized=1 SocketFD=15 logLevel=3
log: [PS4][INFO]: ready to have a lot of fun...
log: [PS4][DEBUG]: [PS4FTP] 2 elfname=elf debugnetconf=880f4bc60 880f4bc60 15
log: [PS4][DEBUG]: [PS4FTP] Client list mutex UID: 0x80FC7100
log: [PS4][DEBUG]: [PS4FTP] Server thread UID: 0x80EEE760
log: [PS4][DEBUG]: [PS4FTP] Server thread started!
log: [PS4][DEBUG]: [PS4FTP] Server socket fd: 22
log: [PS4][DEBUG]: [PS4FTP] sceNetBind(): 0x00000000
log: [PS4][DEBUG]: [PS4FTP] sceNetListen(): 0x00000000
log: [PS4][DEBUG]: [PS4FTP] Waiting for incoming connections...
log: [PS4][DEBUG]: [PS4FTP] New connection, client fd: 0x00000018
log: [PS4][INFO]: Client 0 connected, IP: 192.168.1.8 port: 43470
log: [PS4][DEBUG]: [PS4FTP] Client 0 thread UID: 0x80F13FC0
log: [PS4][DEBUG]: [PS4FTP] Waiting for incoming connections...
log: [PS4][DEBUG]: [PS4FTP] Client thread 0 started!
log: [PS4][DEBUG]: [PS4FTP] Received 14 bytes from client number 0:
log: [PS4][INFO]: 0> USER bigboss
log: [PS4][DEBUG]: [PS4FTP] Received 7 bytes from client number 0:
log: [PS4][INFO]: 0> PASS
log: [PS4][DEBUG]: [PS4FTP] Received 6 bytes from client number 0:
log: [PS4][INFO]: 0> SYST
log: [PS4][DEBUG]: [PS4FTP] Received 6 bytes from client number 0:
log: [PS4][INFO]: 0> FEAT
log: [PS4][DEBUG]: [PS4FTP] Received 5 bytes from client number 0:
log: [PS4][INFO]: 0> PWD
log: [PS4][DEBUG]: [PS4FTP] Received 6 bytes from client number 0:
log: [PS4][INFO]: 0> EPSV
log: [PS4][DEBUG]: [PS4FTP] Received 6 bytes from client number 0:
log: [PS4][INFO]: 0> PASV
log: [PS4][DEBUG]: [PS4FTP] PASV data socket fd: 28
log: [PS4][DEBUG]: [PS4FTP] sceNetBind(): 0x00000000
log: [PS4][DEBUG]: [PS4FTP] sceNetListen(): 0x00000000
log: [PS4][DEBUG]: [PS4FTP] PASV mode port: 0x9EC1
log: [PS4][DEBUG]: [PS4FTP] Received 6 bytes from client number 0:
log: [PS4][INFO]: 0> LIST
log: [PS4][DEBUG]: [PS4FTP] PASV client fd: 0x0000001E
log: [PS4][DEBUG]: [PS4FTP] Done sending LIST
log: [PS4][DEBUG]: [PS4FTP] Received 6 bytes from client number 0:
log: [PS4][INFO]: 0> QUIT
log: [PS4][DEBUG]: [PS4FTP] Client thread 0 exiting!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment