Proceeding the PS4 FTP Server OpenOrbis PKG, OrbisFTP 1.0 background app supporting all Jailbroken PlayStation 4 firmware versions, the PS4 / PS5 DevKit Leaks and his Guide to Install PSXITArch Linux on PS4 developer Hippie68 recently made available a Bash script that dumps PS4 games via FTP connection over the network... with an 8.00 PS4 TestKit Update PUP / 8.50 PS4 TestKit Update PUP leak
also hitting the PS4Scene alongside a CVE-2021-1879: Use-After-Free in QuickTimePluginReplacement WebKit exploit that was previously patched in PS4 8.50 OFW and after testing confirmed to only work with Safari Web browser. 
Download: ftpdump-main.zip (includes ftpdump.bat) / FTPDump GIT / ftp_server_v1.07.bin (27.1 KB) / PS4 FTP GIT (forked from Scene Collective) / PS4UPDATE-testkit-GEN3-8_008_041.PUP (532.49 MB) / PS4UPDATE-testkit-GEN3-8_508_021.PUP (512.4 MB - PS4 8.508.021 Testkit MD5: F11F80006F6A8C43A237F844282B2E58)
Spoiler: FTP Server for PS4 and Linux & Changelogs
Bash script that dumps PS4 games via FTP connection over the network. Requires cURL, GNU Wget, and a PS4 FTP server that supports SELF decryption. For maximum speed, a gigabit cable connection is recommended (but Wi-Fi works, too). For best dumping performance, please use this FTP payload: PS4 FTP.
General Usage:
1) Insert a disc and install the game. Optional: visit orbispatches.com
to download and install a game patch compatible with your firmware.
2) Start a PS4 FTP server (recommended: PS4 FTP).
3) Press the PS button to leave the browser.
4) Run the game.
5) Run this script.
To dump more installed games, repeat steps 4) and 5).
Before running the script, make sure the game is completely installed.
Should the dumping process get interrupted, please delete partial dumps
before trying again.
Exit the script at any time by pressing CTRL-C.
By default, app, patch, and DLC data will be dumped. If no output directory is specified, the current directory will be used.
The dumps will take place in the following subdirectories:
Optionally, IP address and port can be saved inside the script:
The PC speaker can be used to beep when a dump is complete:
Depending on your computer and operating system, you might not have a PC speaker or must enable it first.
Troubleshooting:
You can enable debug messages and/or see cURL's status messages by using options --debug and --verbose.
To compare the dumped directory with a reference dump (e.g. one created by a dumper payload), type:
Please note that GoldHEN 2.0's FTP server uses a different decrypting method. Which means some .sprx files may differ due to stripped zeros, but they should be fully functional.
If the script does not run as expected, please report bugs at issues.
For Windows users:
The script runs on Windows 10/11 via WSL.
After having installed WSL, for convenience you could:
Download the ZIP file from GitHub: select the green "Code" button, then "Download ZIP". Extract the ZIP file. In the same folder that has the file "ftpdump", create a batch file named "ftpdump.bat" that has the following content:
Then, running the script is as simple as this (replace the IP address with your PS4's IP and FTP port):
Other options can be passed, too, for example:
To save IP and port permanently, open and edit the file "ftpdump" with a text editor that supports Unix format (Notepad should do). Alternatively, you could save them in "ftpdump.bat":
If Wget is not installed by default, you can install it by opening a Windows command prompt and entering:
For macOS users:
You need to install Wget and update your Bash version, and having GNU dd (part of coreutils) instead of the default macOS dd could improve the overall dumping speed slightly:
GNU dd will majorly improve performance when extracting PFS images. After installing Homebrew's Bash, make sure to adjust the shebang (the script's first line) to point to the correct path.
Known Limitations:
Current PS4 FTP servers, which are based on the same code, have some limitations that affect the script's performance:
Download: ftp.bin (25.1 KB) / GIT
Changelog:
v1.04
FTP payload with bug fixes
PS4 FTP server payload by xvortex/Al-Azif, updated with workarounds and bug fixes. E.g. for better performance with the "ftpdump" script. Changes so far:
Cheers to MSZ_MGS via Twitter for the heads-up on this earlier!
Also making rounds in the PS4 Scene via Twitter is a PS4 TestKit 8.00 Update PUP via sonyjew that is newer than the previous 7.55 version from the CDPR PS4 DevKit leak
for use with a PlayStation 4 Debug / TestKit Console... below are some previous articles covering them:
Finally, below is a CVE-2021-1879: Use-After-Free in QuickTimePluginReplacement WebKit exploit that @zecoxao is seeking to be tested on PS4 8.00 Retail or TestKit consoles, which he states was previously patched in PS4 8.50 OFW according to his Tweets below so it's not advisable to update your PS4 console.
Update: Test results are in, according to @zecoxao on Twitter the above Webkit exploit only works with Safari Web browser. 

Download: ftpdump-main.zip (includes ftpdump.bat) / FTPDump GIT / ftp_server_v1.07.bin (27.1 KB) / PS4 FTP GIT (forked from Scene Collective) / PS4UPDATE-testkit-GEN3-8_008_041.PUP (532.49 MB) / PS4UPDATE-testkit-GEN3-8_508_021.PUP (512.4 MB - PS4 8.508.021 Testkit MD5: F11F80006F6A8C43A237F844282B2E58)
Spoiler: FTP Server for PS4 and Linux & Changelogs
- Decrypting and Dumping PS4 Games Guide
- Guide to Dump PlayStation 4 Disc Games
- Backup / Decrypt PS4 Games & Run on HDD Guide
- PS4 PKG Dumping Guide for PS4HEN
- PS4 PFSPKG Dump: Dump PFS_Image and App.pkg
- How to Create Emulated PS2 PS4 PKGs Guide
- Adding PS4 Game Updates in Packages
- How to Get / Merge PS4 Game PKG Updates
- PS4 PKG Repackager for Fake Updates
- Dumping PS4 DLC, Game Updates & Themes
- How to Properly Dump / Build PS4 Game & Separate Update FPKGs
- Repacking PS4 Game Updates Manually by Hand
- PS4 Fake PKG Update Repackager Script
- Adding Keystones GUI Tool for PS4 FPKG Files
- How to Change PS4 DLC Region for FPKG Games Tutorial
- PS4 FPKG Game Updates with Mismatched Title ID / Region Patch Guide
- DiscDump 50X Payload: Dump from PS4 Optical Drive to USB
- PS4 Patch Builder for Building Modded Update PKGs
- ThemeDumperFTP: PS4 Retail Theme PKG Dumper via FTP
- PS4 Backporting Instructions to Play Games on Lower Firmware
- PS4 7.02 Game Dumper and FTP Payloads
- Backporting PS4 7.02 Games to 5.05 / 6.72 FPKGs
Bash script that dumps PS4 games via FTP connection over the network. Requires cURL, GNU Wget, and a PS4 FTP server that supports SELF decryption. For maximum speed, a gigabit cable connection is recommended (but Wi-Fi works, too). For best dumping performance, please use this FTP payload: PS4 FTP.
- No USB device required
- No reboots and re-jailbreaking required (keep on dumping!)
- Automatically replaces encrypted trophies
- Can extract PKG and PFS image files
- Supports the updated FTP payload at PS4 FTP for best performance
- Runs on Windows 10/11 via WSL, Linux, macOS, and anything that can use Bash
Code:
$ ./ftpdump 192.168.1.100
Code:
Usage: ftpdump [OPTIONS] HOSTNAME|IP_ADDRESS[:pORT] [OUTPUT_DIRECTORY]
Or: ftpdump --extract-pfs|--extract-pkg FILE [OUTPUT_DIRECTORY]
to download and install a game patch compatible with your firmware.
2) Start a PS4 FTP server (recommended: PS4 FTP).
3) Press the PS button to leave the browser.
4) Run the game.
5) Run this script.
To dump more installed games, repeat steps 4) and 5).
Before running the script, make sure the game is completely installed.
Should the dumping process get interrupted, please delete partial dumps
before trying again.
Exit the script at any time by pressing CTRL-C.
Code:
Options:
-a, --app Dump app data.
--appdb Dump app.db file and quit.
-d, --dlc Dump DLC data.
--debug Print debug information.
--debug-pfs Print debug information while extracting a PFS image file.
--dump PATH Dump specified FTP file or directory and quit.
Directories must end with a slash: "PATH/".
--extract-pfs PFS_IMAGE_FILE
Extract a local PFS image file and quit.
--extract-pkg PKG_FILE
Extract a local PKG file and quit.
-h, --help Print usage information.
-k, --keystone Dump original keystone.
--no-decrypt Do not tell the FTP server to enable SELF decryption.
-p, --patch Dump patch data.
-s, --sflash Dump sflash0 file and quit.
--shutdown Send the SHUTDOWN command and quit. If the FTP server is a
payload that understands the command, it will stop running.
--use-pfs Instead of downloading files separately, download and
extract the PFS image file.
-v, --verbose Print the FTP client/server dialog while downloading files.
The dumps will take place in the following subdirectories:
Code:
CUSAXXXXX-app
CUSAXXXXX-patch
CUSAXXXXX-dlc
CUSAXXXXX-keystone
Code:
ip=192.168.xxx.xxx
port=1337
Code:
beep=true
beep_time=60 (in seconds)
beep_interval=3 (in seconds)
Troubleshooting:
You can enable debug messages and/or see cURL's status messages by using options --debug and --verbose.
To compare the dumped directory with a reference dump (e.g. one created by a dumper payload), type:
Code:
diff -r DUMP_DIRECTORY_1 DUMP_DIRECTORY_2
If the script does not run as expected, please report bugs at issues.
For Windows users:
The script runs on Windows 10/11 via WSL.
After having installed WSL, for convenience you could:
Download the ZIP file from GitHub: select the green "Code" button, then "Download ZIP". Extract the ZIP file. In the same folder that has the file "ftpdump", create a batch file named "ftpdump.bat" that has the following content:
Code:
wsl -e ./ftpdump %*
Code:
ftpdump 192.168.1.100:1337
Code:
ftpdump 192.168.1.100:1337 -p --dlc
Code:
wsl -e ./ftpdump 192.168.178.100:1337 %*
Code:
wsl -e sudo apt install wget
You need to install Wget and update your Bash version, and having GNU dd (part of coreutils) instead of the default macOS dd could improve the overall dumping speed slightly:
Code:
brew install coreutils wget
Known Limitations:
Current PS4 FTP servers, which are based on the same code, have some limitations that affect the script's performance:
- Downloading different SELF files in parallel can corrupt SELF decryption, effectively making downloading in parallel a no-go.
- Cancelling the download of huge files (which the script employs to speed things up) won't stop the server from sending the rest of the file. The result is reduced network throughput (plus in extreme cases a PS4 performance decrease). Currently this can be worked around if the FTP server supports the custom command KILL (which the script will then call).
- When decryption is enabled, servers still report the encrypted file size, which can corrupt resuming.
- Files larger than 4 GiB may not resume properly.
Download: ftp.bin (25.1 KB) / GIT
Changelog:
v1.04
FTP payload with bug fixes
PS4 FTP server payload by xvortex/Al-Azif, updated with workarounds and bug fixes. E.g. for better performance with the "ftpdump" script. Changes so far:
- A custom KILL command kills downloads that otherwise the server would keep sending.
- Downloading multiple SELF files simultaneously while SELF decryption is enabled won't corrupt them anymore.
- The FTP server will shutdown itself if port 1337 is already in use.
- The FTP server reports correct file sizes for encrypted files when decryption is enabled, no longer corrupting resumed downloads.
- Files larger than 4 GiB now properly resume.
Cheers to MSZ_MGS via Twitter for the heads-up on this earlier!



- PlayStation 4 TestKit PS4 DEX Console Manager
- PS4 TestKit Debug Menu Setting Comparison
- PS4 Retail vs Non-Retail Dev / Test Console
- PS4 Pro DevKit / TestKit Pictures & Screenshots
- PS4 Retail vs DevKit / TestKit VSH Differences
- PlayStation 4 DUH-T1000AA TestKit Online
- PS4 Testing Kit Debug Settings Overview
- PS4 Dev Systems Serial Number Research
- PS4 DevKit / TestKit Memory Tool Preview

