Skip to content
프로젝트

소개

탈옥된 PS4 및 PS5용 FTP 서버

기타 프로젝트

이 수치를 측정하는 방법

What you can do

  • KILL - kill the FTP server.
  • MTRW - remount /system and /system_ex with write permissions.
  • SELF - toggle on-the-fly SELF to ELF decryption (enabled by default).

측정된 스타 증가

in 24h
+2
in 7 days
+7
in 15 days
+15
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

ftpsrv

This is a simple FTP server that can be executed on a Playstation 4 or Playstation 5 that has been jailbroken and is running an ELF loader. The FTP server accepts connection on port 2121.

Features

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

  • KILL - kill the FTP server.
  • MTRW - remount /system and /system_ex with write permissions.
  • SELF - toggle on-the-fly SELF to ELF decryption (enabled by default).

Note: the SELF command operates on induvidual connections so use e.g.,

john@localhost:ftpsrv$ curl -o libkernel.sprx -Q SELF ftp://ps5:2121/system/common/lib/libkernel.sprx

Building for the PS4

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

john@localhost:ftpsrv$ export PS4_PAYLOAD_SDK=/opt/ps4-payload-sdk
john@localhost:ftpsrv$ make -f Makefile.ps4

Building for the PS5

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:ftpsrv$ export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk
john@localhost:ftpsrv$ make -f Makefile.ps5

Building for GNU/Linux systems

Assuming you have a compiler toolchain installed on your GNU/Linux system, the FTP server can be compiled using the following command:

john@localhost:ftpsrv$ make -f Makefile.posix

Installing on the PS5

On the PS5, ftpsrv can be installed to disk and then launched from the standard Sony shell UI assuming websrv is running. To perform the install, deploy the install payload to an ELF loader, e.g.,

john@localhost:~$ export PS5_HOST=ps5
john@localhost:~$ export PS5_PORT=9021
john@localhost:~$ export PS5_PAYLOAD=https://github.com/ps5-payload-dev/ftpsrv/releases/latest/download/ftpsrv-ps5-install.elf
john@localhost:~$ echo "$PS5_PAYLOAD" | nc -q0 $PS5_HOST $PS5_PORT

If the install is successful, a new item appears in the Sony shell UI that can be used launch ftpsrv when websrv is running.

Known issues

  • Some PS5 firmwares below vesion 4 contains a kernel bug where reading from some SELF files causes the read syscall to stall.
  • PS5 SELF files on the root (e.g., /SceSysAvControl.elf) cannot be decrypted. To work arround this, copy the encrypted file to /data/ first and download it from there instead and it should be decrypted.

Reporting Bugs

If you encounter problems with 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

ftpsrv is licensed under the GPLv3+.

관련 프로젝트 살펴보기

불러오는 중…