Skip to content

GoldHEN/ps5debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ps5debug

              ____      _      _
    _ __  ___| ___|  __| | ___| |__  _   _  __ _
   | '_ \/ __|___ \ / _` |/ _ \ '_ \| | | |/ _` |
   | |_) \__ \___) | (_| |  __/ |_) | |_| | (_| |
   | .__/|___/____/ \__,_|\___|_.__/ \__,_|\__, |
   |_|                                     |___/
               Coded by Ctn & SiSTRo.

This is a debugger for the PlayStation 5. Yes that's right!

The API is unchanged from ps4debug, so libdebug should still work.

Latest version: v1.0b2

⚠️ Warnings

ps5debug is currently an experimental beta and not everything works. Please use it with caution. Please report any issues to the GoldHEN Discord.

Quickstart Guide

  1. Download Debug Watch or another debugging tool.
  2. Start your favourite jailbreak/exploit.
  3. Send the latest version of ps5debug.elf to the elf loader's port, typically 9020.
  4. Start your favorite game!
  5. Attach to the game (or userland process).
  6. Start messing around with your debugging tool, try to find a bug for me!
  7. Make l33t hacks.

Features

  • Everything you know and love about ps4debug including:
    • Firmware supported: (*) means untested
      • 3.xx,
      • 4.xx,
      • 5.xx,
    • Rest mode support.
    • Console scanner.
    • klog server on port 3232.
  • New API command(s):
    • CMD_PROC_BASE(0xBDAA000D) - Gets the base address of the executable section.
      struct cmd_proc_base_packet {
          uint32_t pid;
      } __attribute__((packed));
      
      struct cmd_proc_base_response {
          uint64_t address;
      } __attribute__((packed));
      
    • CMD_CONSOLE_VERSION(0xBD000502) - Returns 4 for PS5 and 5 for PS5.
      struct cmd_proc_console_version_packet {
          uint32_t pid;
      } __attribute__((packed));
      
      struct cmd_proc_console_version_packet_response {
          uint16_t address;
      } __attribute__((packed));
      

Known Issues

  • ASLR is not disabled.

Current status with tools

Reaper Studio

  • Working.

MultiTrainer II

  • Working

Original Reaper

  • Working

PS4 Cheater

  • Working

Credits

Coded by ctn123 & SiSTRo.

Special thanks to:

Greeting to other devs: (alphabetical order)

Greeting to QA/Testers: (alphabetical order)

Changlog

  • v1.0b1
    • initial release
  • v1.0b2
    • Fixed attach/detach issue when game exits during a debug session.
    • Improved support for debugging multi-threaded processes.
    • Improved allocations for cheats.
    • General stability improvements.
    • General Performance improvements.
    • Added support for 5.xx
    • Added support for 9021 elf loader.
    • Implemented hardware breakpoints.
    • Optimisations for kstuff.