Skip to content

Instantly share code, notes, and snippets.

@masterzorag
Created September 5, 2017 14:01
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 masterzorag/4c271e6136581d72c3b9d6729b66d332 to your computer and use it in GitHub Desktop.
Save masterzorag/4c271e6136581d72c3b9d6729b66d332 to your computer and use it in GitHub Desktop.
FTPS4.elf issue
ps4sh> execuser ps4ftp.elf
log: [HOST][DEBUG]: [PS4SH] argc=1 argv=host0:ps4ftp.elf
log: [PS4][DEBUG]: [PS4LINK] commands listener received packet size (266)
log: [HOST][DEBUG]: [PS4SH] Opening ps4ftp.elf flags 0
log: [HOST][DEBUG]: [PS4SH] Open return 7
log: [PS4][DEBUG]: [PS4LINK] Received command execuserelf argc=1 argv=host0:ps4ftp.elf
log: [PS4][DEBUG]: [PS4LINK] file open req (host0:ps4ftp.elf, 0 0)
log: [PS4][DEBUG]: [PS4LINK] file open reply received (ret 7)
log: [HOST][DEBUG]: [PS4SH] 53024 result of lseek 0 offset 2 whence
log: [PS4][DEBUG]: [PS4LINK] file lseek req (fd: 7)
log: [PS4][DEBUG]: [PS4LINK] ps4link_lseek_file: lseek reply received (ret 53024)
log: [HOST][DEBUG]: [PS4SH] 0 result of lseek 0 offset 0 whence
log: [PS4][DEBUG]: [PS4LINK] file lseek req (fd: 7)
log: [PS4][DEBUG]: [PS4LINK] ps4link_lseek_file: lseek reply received (ret 0)
log: [HOST][DEBUG]: [PS4SH] read 53024 bytes of file descritor 7
log: [PS4][DEBUG]: [PS4LINK] ps4link_read_file: Reply said there's 53024 bytes to read (wanted 53024)
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 7968
log: [PS4][DEBUG]: [PS4LINK] ps4link_file: file close req (fd: 7)
log: [PS4][DEBUG]: [PS4LINK] ps4link_close_file: close reply received (ret 0)
log: [PS4][DEBUG]: [PS4LINK] ready to run elf
log: [PS4][DEBUG]: after ps4MemoryProtectedCreate
log: [PS4][DEBUG]: after ps4MemoryProtectedGetWritableAddress
log: [PS4][DEBUG]: after ps4MemoryProtectedGetExecutableAddress
log: [PS4][DEBUG]: after elfLoaderLoad return r=0 readable=201a44000 executable=201838000
log: [PS4][DEBUG]: after set argument->main 20183ca50
log: [PS4][DEBUG]: after elfDestroyAndFree
log: [PS4][DEBUG]: [PS4LINK] New user elf thread UID: 0x810DC020
log: [PS4][DEBUG]: [PS4LINK] commands listener waiting for next command
log: [PS4][DEBUG]: [PS4LINK] Configuration pointer 88110ac40, pointer_conf string 88110ac40
log: [PS4][INFO]: debugnet already initialized using configuration from ps4link
log: [PS4][INFO]: debugnet_initialized=1 SocketFD=81 logLevel=3
log: [PS4][INFO]: ready to have a lot of fun...
log: [PS4][DEBUG]: [PS4FTP] 2 elfname=elf debugnetconf=88110ac40 88110ac40 81
log: [PS4][DEBUG]: [PS4FTP] Client list mutex UID: 0x810CF960
log: [PS4][DEBUG]: [PS4FTP] Server thread UID: 0x810DCA80
log: [PS4][DEBUG]: [PS4FTP] Server thread started!
log: [PS4][DEBUG]: [PS4FTP] Server socket fd: 86
log: [PS4][DEBUG]: [PS4FTP] sceNetBind(): 0x00000000
log: [PS4][DEBUG]: [PS4FTP] sceNetListen(): 0x00000000
log: [PS4][DEBUG]: [PS4FTP] Waiting for incoming connections on port: 1337...
log: [PS4][DEBUG]: [PS4FTP] New connection, client fd: 0x00000057
log: [PS4][INFO]: Client 0 connected, IP: 10.0.0.2 port: 13452
log: [PS4][DEBUG]: [PS4FTP] Client 0 thread UID: 0x810DD960
log: [PS4][DEBUG]: [PS4FTP] Waiting for incoming connections on port: 1337...
log: [PS4][DEBUG]: [PS4FTP] Client thread 0 started!
log: [PS4][DEBUG]: [PS4FTP] Received 16 bytes from client number 0:
log: [PS4][INFO]: 0> USER anonymous
log: [PS4][DEBUG]: [PS4FTP] Received 26 bytes from client number 0:
log: [PS4][INFO]: 0> PASS fireftp@example.com
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 8 bytes from client number 0:
log: [PS4][INFO]: 0> TYPE A
log: [PS4][DEBUG]: [PS4FTP] Received 24 bytes from client number 0:
log: [PS4][INFO]: 0> PORT 192,168,1,202,4,2
log: [PS4][DEBUG]: [PS4FTP] PORT connection to client's IP: 192.168.1.202 Port: 1026
log: [PS4][DEBUG]: [PS4FTP] Client 0 data socket fd: 89
log: [PS4][DEBUG]: [PS4FTP] Received 10 bytes from client number 0:
log: [PS4][INFO]: 0> LIST -al
log: [PS4][DEBUG]: [PS4FTP] Received 6 bytes from client number 0:
log: [PS4][INFO]: 0> QUIT
log: [PS4][DEBUG]: [PS4FTP] Client thread 0 exiting!
log: [PS4][DEBUG]: [PS4FTP] New connection, client fd: 0x00000058
log: [PS4][INFO]: Client 1 connected, IP: 10.0.0.2 port: 23180
log: [PS4][DEBUG]: [PS4FTP] Client 1 thread UID: 0x810DF3E0
log: [PS4][DEBUG]: [PS4FTP] Server thread exiting!
log: [PS4][DEBUG]: [PS4FTP] Client thread 1 started!
log: [PS4][DEBUG]: [PS4FTP] Client thread 1 exiting!
log: [PS4][DEBUG]: [PS4FTP] calling ftp_fini
ps4sh>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment