Post: PS4Lib - (4.05/4.55/5.05) | Real Memory Editing | [SERVER/CLIENT] | v1.1
02-07-2018, 06:55 PM #1
BISOON
Maggbot timeout!
(adsbygoogle = window.adsbygoogle || []).push({}); Hello everybody after a while being away for a long time Smile

Recently I got my PS4 (4.05) and thanks for everyone who spent his effort to make this happen on 4.5 and also we will not forget who is working on useful things for this community.
I spent the past two days looking for PS4API to control over the app memory using desktop tools/rtms, and unfortunately I got some but seems not worked with me or not stable enough (I am not underestimating their work, I really respect what they have done) also no new commits or updates on their projects for a long time.

As I promised you guys I've finished the client side library in c# to make it easy for people who interested in making RTM tools. also demo app included for demonstration.

A Brief Examples:

Instantiate the PS4API object:
    PS4API PS4 = new PS4API();


Connect to target:
    PS4.ConnectTarget("192.168.0.0");


Disconnect from target:
    PS4.DisconnectTarget();


Attach to game process:
    PS4.AttachProcess();


Detach Process:
    PS4.DetachProcess();


Notify:
    PS4.Notify(222, "Hello World!");


Write to memory:
    PS4.SetMemory(0x0000000000000000, new byte[]{0x00,0x00});


Read from memory:
    byte[] buffer = PS4.GetBytes(0x0000000000000000, Cool Man (aka Tustin);


Extension Class Examples:

Reading


Read and return an signed integer 16,32 or 64 bits:
    
Int16 var16 = PS4.Extension.ReadInt16(0x000000000);
Int32 var32 = PS4.Extension.ReadInt32(0x000000000);
Int64 var64 = PS4.Extension.ReadInt64(0x000000000);


Read and return an unsigned integer 16,32 or 64 bits:
    
UInt16 var16 = PS4.Extension.ReadUInt16(0x000000000);
UInt32 var32 = PS4.Extension.ReadUInt32(0x000000000);
UInt64 var64 = PS4.Extension.ReadUInt64(0x000000000);


Read and return float(s):
    
float varFloat = PS4.Extension.ReadFloat(0x000000000);
float[] varFloats = PS4.Extension.ReadFloats(0x000000000, 3);


Read and return double:
    
double vardouble = PS4.Extension.ReadDouble(0x000000000);


Read and return string:
    
string varstring = PS4.Extension.ReadString(0x000000000);


Writing


Write an signed integer 16,32 or 64 bits:
    
PS4.Extension.WriteInt16(0x000000000, 0x1122);
PS4.Extension.WriteInt32(0x000000000, 0x11223344);
PS4.Extension.WriteInt64(0x000000000, 0x112233445566778Cool Man (aka Tustin);


Write an unsigned integer 16,32 or 64 bits:
    
PS4.Extension.WriteUInt16(0x000000000, 0x1122);
PS4.Extension.WriteUInt32(0x000000000, 0x11223344);
PS4.Extension.WriteUInt64(0x000000000, 0x112233445566778Cool Man (aka Tustin);


Write float(s):
    
PS4.Extension.WriteFloat(0x000000000, 1.25f);
PS4.Extension.WriteFloats(0x000000000, new float[]{1.0f, 2.0f, 3.0f});


Write double:
    
PS4.Extension.WriteDouble(0x000000000, 1.7E+3);


Write string:
    
PS4.Extension.WriteString(0x000000000, "Hello World!");






GUI:
You must login or register to view this content.



* I added the Extension class from PS3Lib by You must login or register to view this content. for two reasons, first is to save my time, second is to make it easy for people who already familiar with that awesome lib.




TODO:

  • more system functions.
  • Improve TCP communications.
  • Improve memory allocation.
  • multi-users.
  • process dump
  • process list
  • debugger


Changelogs:

PS4API - SERVER


1.1
- More process name (default_mp.elf, eboot.bin etc)
- Fixed attach problem

1.0
initial version

PS4Lib - CLIENT


1.0
initial version




Open sourced PS4 Tools created using PS4Lib.dll:


  • PS4API for NetCheat You must login or register to view this content.
  • GTA5 Native Caller You must login or register to view this content.
  • Orbis Assembler You must login or register to view this content.
  • PS4 Notification tool by Vultra You must login or register to view this content.




Bugs:
Only one bug, if I try to read more than 1000000 length the browser got crashed, due the memory allocation in the server. it will be fixed soon.
feel free to comment below any bugs to fix. also your feedback is valuable. <3




You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.








Credits:

CTurt -> the SDK.
Specter -> exploit implementation.
IDC, xvortex, 2much4u, iMCSx
All of You reader, supporter, haters, ...etc
and who else I missed (feel free to message me for the Credits)
Last edited by BISOON ; 06-09-2018 at 04:49 PM. Reason: 5.05

The following 41 users say thank you to BISOON for this useful post:

/SneakerStreet/, aburezk, AFG, AlexNGU, Big_Buddha, Bigmoneyhustlin, Black Panther, Calculus, Coconut_Split, danilo_BR, Dynamite, esquinera, ExIIL, popcornmods, GelsonSilva, hibye3, Hydrogen, ImAzazel, ioritree, jacob_9191, Je Modz, joni_djESP, kiki1941, KL9, macflay59, MessinBound, MODZ4FUN420, mohd, NGM, Pianist Prodigy, RF0oDxM0Dz, seb5594, Speakster, TER152, Terrorize 420, ThatEpicSomeone, The Real MoDzz, tuffcole, Vince, X-UNDEAD_NINJA2, Xx-GIPPI-xX
05-24-2018, 05:13 AM #38
BISOON
Maggbot timeout!
Originally posted by CustomHooker View Post
It is posible to use a ps3 released RPC for cod if we Update just the Game offsets or must we do much more work



it has different CPU architecture PS3 is powerpc-based and PS4 is amd64 instructions set, so the compiled powerpc machine code(byte code) will not work over the PS4, but the idea of the function will be the same.
05-29-2018, 04:44 PM #39
Originally posted by BISOON View Post
Hello everybody after a while being away for a long time Smile

Recently I got my PS4 (4.05) and thanks for everyone who spent his effort to make this happen on 4.5 and also we will not forget who is working on useful things for this community.
I spent the past two days looking for PS4API to control over the app memory using desktop tools/rtms, and unfortunately I got some but seems not worked with me or not stable enough (I am not underestimating their work, I really respect what they have done) also no new commits or updates on their projects for a long time.

As I promised you guys I've finished the client side library in c# to make it easy for people who interested in making RTM tools. also demo app included for demonstration.

A Brief Examples:

Instantiate the PS4API object:
    PS4API PS4 = new PS4API();


Connect to target:
    PS4.ConnectTarget("192.168.0.0");


Disconnect from target:
    PS4.DisconnectTarget();


Attach to game process:
    PS4.AttachProcess();


Detach Process:
    PS4.DetachProcess();


Notify:
    PS4.Notify(222, "Hello World!");


Write to memory:
    PS4.SetMemory(0x0000000000000000, new byte[]{0x00,0x00});


Read from memory:
    byte[] buffer = PS4.GetBytes(0x0000000000000000, Cool Man (aka Tustin);


Extension Class Examples:

Reading


Read and return an signed integer 16,32 or 64 bits:
    
Int16 var16 = PS4.Extension.ReadInt16(0x000000000);
Int32 var32 = PS4.Extension.ReadInt32(0x000000000);
Int64 var64 = PS4.Extension.ReadInt64(0x000000000);


Read and return an unsigned integer 16,32 or 64 bits:
    
UInt16 var16 = PS4.Extension.ReadUInt16(0x000000000);
UInt32 var32 = PS4.Extension.ReadUInt32(0x000000000);
UInt64 var64 = PS4.Extension.ReadUInt64(0x000000000);


Read and return float(s):
    
float varFloat = PS4.Extension.ReadFloat(0x000000000);
float[] varFloats = PS4.Extension.ReadFloats(0x000000000, 3);


Read and return double:
    
double vardouble = PS4.Extension.ReadDouble(0x000000000);


Read and return string:
    
string varstring = PS4.Extension.ReadString(0x000000000);


Writing


Write an signed integer 16,32 or 64 bits:
    
PS4.Extension.WriteInt16(0x000000000, 0x1122);
PS4.Extension.WriteInt32(0x000000000, 0x11223344);
PS4.Extension.WriteInt64(0x000000000, 0x112233445566778Cool Man (aka Tustin);


Write an unsigned integer 16,32 or 64 bits:
    
PS4.Extension.WriteUInt16(0x000000000, 0x1122);
PS4.Extension.WriteUInt32(0x000000000, 0x11223344);
PS4.Extension.WriteUInt64(0x000000000, 0x112233445566778Cool Man (aka Tustin);


Write float(s):
    
PS4.Extension.WriteFloat(0x000000000, 1.25f);
PS4.Extension.WriteFloats(0x000000000, new float[]{1.0f, 2.0f, 3.0f});


Write double:
    
PS4.Extension.WriteDouble(0x000000000, 1.7E+3);


Write string:
    
PS4.Extension.WriteString(0x000000000, "Hello World!");






GUI:
You must login or register to view this content.



* I added the Extension class from PS3Lib by You must login or register to view this content. for two reasons, first is to save my time, second is to make it easy for people who already familiar with that awesome lib.




TODO:

  • more system functions.
  • Improve TCP communications.
  • Improve memory allocation.
  • multi-users.
  • process dump
  • process list
  • debugger


Changelogs:

PS4API - SERVER


1.1
- More process name (default_mp.elf, eboot.bin etc)
- Fixed attach problem

1.0
initial version

PS4Lib - CLIENT


1.0
initial version




Open sourced PS4 Tools created using PS4Lib.dll:


  • PS4API for NetCheat You must login or register to view this content.
  • GTA5 Native Caller You must login or register to view this content.
  • Orbis Assembler You must login or register to view this content.
  • PS4 Notification tool by Vultra You must login or register to view this content.




Bugs:
Only one bug, if I try to read more than 1000000 length the browser got crashed, due the memory allocation in the server. it will be fixed soon.
feel free to comment below any bugs to fix. also your feedback is valuable. <3




You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.






Credits:

CTurt -> the SDK.
Specter -> exploit implementation.
IDC, xvortex, 2much4u, iMCSx
All of You reader, supporter, haters, ...etc
and who else I missed (feel free to message me for the Credits)


Now that 5.05 is out will you be making a payload for this ? Also will any new features be added like the ability to send the payload from the dll and RPC ?

The following user thanked The Real MoDzz for this useful post:

CustomHooker
06-01-2018, 03:54 PM #40
Nice work man please update for 5.05 Enzo
06-01-2018, 06:10 PM #41
BISOON
Maggbot timeout!
Originally posted by Buddha View Post
Nice work man please update for 5.05 Enzo


Originally posted by The
Now that 5.05 is out will you be making a payload for this ? Also will any new features be added like the ability to send the payload from the dll and RPC ?



I will work on it shortly.. thanks guys.

The following 2 users say thank you to BISOON for this useful post:

Big_Buddha, The Real MoDzz
06-09-2018, 04:56 PM #42
BISOON
Maggbot timeout!
Ok, support for 5.05, it's buggy and I will be fixing all problems and adding more features in the future updates..
All we should thank 2much4u for his great work and making this update possible.

The following 5 users say thank you to BISOON for this useful post:

Big_Buddha, Bigmoneyhustlin, CustomHooker, TER152, xR3GMz
06-23-2018, 03:46 PM #43
Nice work but I'm having an issue when injecting payload it just gives me memory error
06-23-2018, 04:19 PM #44
BISOON
Maggbot timeout!
Originally posted by aburezk View Post
Nice work but I'm having an issue when injecting payload it just gives me memory error


because you're injecting the wrong version, use the payload that corresponds to your firmware version..
see download links above..

The following user thanked BISOON for this useful post:

aburezk
06-24-2018, 04:11 PM #45
Where's your RTE for PS4 bbq?
07-09-2018, 12:44 PM #46
So how would we go about making the process dumping part of this. I am trying to do something where i need to dump a process elf and ive been searching around to make my own code but need some guidance after failing to find insight

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo