Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

john-tornblom/ps5-payload-ftpsrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


PS5 FTP Payload

ps5-payload-ftpsrv is a simple FTP server that can be executed on a Playstation 5 that has been jailbroken via the BD-J or the webkit entry points.

Building

Assuming you have the ps5-payload-sdk installed on a POSIX machine, the FTP server can be compiled using the following two commands:

john@localhost:ps5-payload-ftpsrv$ export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk
john@localhost:ps5-payload-ftpsrv$ make

To deploy the payload, first launch the ps5-payload-elfldr, then load ftpsrv.elf by issuing the following command:

john@localhost:ps5-payload-ftpsrv$ nc -q0 PS5_HOST 9021 < ftpsrv.elf

You can also compile the FTP server for POSIX-like systems (tested with Ubuntu and FreeBSD):

john@localhost:ps5-payload-ftpsrv$ make -f Makefile.posix
john@localhost:ps5-payload-ftpsrv$ ./ftpsrv.posix.elf

Features

Client software that has been testing include gFTP, Filezilla, curl, and Thunar. Furthermore, the payload supports a couple of custom SITE commands specifically for the PS5 (executed without prepending SITE). In particular:

  • KILL - kill the FTP server.
  • MTRW - remount /system and /system_ex with write permissions.

Reporting Bugs

If you encounter problems with ps5-payload-ftpsrv, please file a github issue. If you plan on sending pull requests which affect more than a few lines of code, please file an issue before you start to work on you changes. This will allow us to discuss the solution properly before you commit time and effort.

License

ps5-payload-ftpsrv is licensed under the GPLv3+.