An SDK for PS5 payloads that uses dynamic linking

★ 305⑂ 74👁 8⑃ 68● 20▤ 48
CGPL-3.0Created 2024-04-06
下载:v0.50v0.50 ↓0.502026-11-19
+3
日增长
305
stars
74
forks
8
watchers
68
prs
20
issues
48
releases

README

ps5-payload-sdk
This is an SDK for developing payloads targeted at exploited PS5s. ELF loaders
known to work include:
- [ps5-payload-elfldr][elfldr]
- [ps5-payload-websrv][websrv]
- [bdj-ipv6-hen][bdj-ipv6-hen]
- [elfloader][elfloader] via [ps5-jar-loader]
- [remote_lua_loader][remote_lua_loader]

Several artifacts in this repository originate from the [PS5SDK][PS5SDK] project.

 Prerequisites
On Debian-flavored operating systems, you can invoke the following commands to
install dependencies used by the SDK.
console
john@localhost:ps5-payload-dev/sdk$ sudo apt-get update && sudo apt-get upgrade  optional
john@localhost:ps5-payload-dev/sdk$ sudo apt-get install bash clang-18 lld-18 wget  required
john@localhost:ps5-payload-dev/sdk$ sudo apt-get install socat cmake meson pkg-config python3 python3-pyelftools  optional


If you are using Fedora, you can install dependencies as follows (tested with version 41):
console
john@localhost:ps5-payload-dev/sdk$ sudo dnf install bash llvm-devel clang lld wget  required
john@localhost:ps5-payload-dev/sdk$ sudo dnf install socat cmake meson pkg-config python3 python3-pyelftools  optional


If you are using macOS, you can install them using the [Homebrew Package Manager][macos-brew] (tested with macOS Sequoia):
console
john@localhost:ps5-payload-dev/sdk$ brew install llvm@18 wget  required
john@localhost:ps5-payload-dev/sdk$ export LLVM_CONFIG=/opt/homebrew/opt/llvm@18/bin/llvm-config  required
john@localhost:ps5-payload-dev/sdk$ brew install socat cmake meson python && pip3 install pyelftools  optional


 Quick-start
You can download a binary distribution of the SDK from [the latest release page][latest-rel],
then install it to your local storage, e.g,
console
john@localhost:tmp$ wget https://github.com/ps5-payload-dev/sdk/releases/latest/download/ps5-payload-sdk.zip
john@localhost:tmp$ sudo unzip -d /opt ps5-payload-sdk.zip

Assuming you have all the prerequisites and you are on a POSIX system,
the binary distribution should work regardless of CPU architecture, e.g., x86_64, aarch64.

 Usage
console
john@localhost:ps5-payload-dev/sdk$ export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk
john@localhost:ps5-payload-dev/sdk$ make -C samples/hello_world
john@localhost:ps5-payload-dev/sdk$ export PS5_HOST=ps5; export PS5_PORT=9021
john@localhost:ps5-payload-dev/sdk$ make -C samples/hello_world test


 Building the SDK
console
john@localhost:ps5-payload-dev/sdk$ sudo make DESTDIR=/opt/ps5-payload-sdk install
john@localhost:ps5-payload-dev/sdk$ export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk
john@localhost:ps5-payload-dev/sdk$ sudo -E ./libcxx.sh  fetch, build, and install libcxx


 Adding new SCE Libs
If you have decrypted sprx files that you would like to interact with, you can
build stubs for them as follows (Make sure you have already installed the optional dependencies for your OS):
console
john@localhost:ps5-payload-dev/sdk$ ln -s /path/to/sprx/libSceXYZ.sprx sce_stubs/libSceXYZ.sprx
john@localhost:ps5-payload-dev/sdk$ mak

Top issues

Latest release

v0.50 v0.50 2026-11-19
kernel: add some convenience functions for enabling debug mode
kernel: add offsets for firmwares 14.20/14.22
iommu: ensure size_t is defined when including header
meson: fix some issues with arguments containing spaces

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON