Category PS4 CFW and Hacks       Thread starter LightningMods       Start date Feb 3, 2017 at 5:13 AM       4,593       1            
Status
Not open for further replies.
Following his previous releases, today PlayStation 4 developer m0rph3us1987 let us know on Twitter that he's abandoning the PS4Ninja project so he's decided to share the PS4Ninja file browser homebrew application's source code with PS4 community developers! :ninja:

Download: ps4ninja-master.zip / GIT

From the Readme.txt, to quote: How to build

1) Go into ps4ninja_win\Browser\PS4NINJA and type
Code:
make
This will build minlib, ps4ninja (PS4 part) and create payload_176.bin.

2) To build the windows application, open the VS Solution and build it.

3) You can manually build any of the components by entering into the directory and type "make".

From Ybin.me:
Code:
// Decrypted EAP partition key and print it into klog
// key for /eap_user, /User, /Update
void getEAPPartitionKey(){
   void(*bzero)(void *buf, size_t len) = (void *)0xFFFFFFFF82613B00;
   void(*icc_nvs_read)(size_t id, size_t no, size_t offset, size_t len, unsigned char *buff) = (void *)0xFFFFFFFF82639CD0;
   void(*sceSblGetEAPInternalPartitionKey)(unsigned char *encBuffer, unsigned char *decBzffer) = (void*)0xFFFFFFFF827B1B00;

   // Allocate needed space
   struct malloc_type *mt = ps4KernelDlSym("M_TEMP");
   unsigned char *encNVSKeyBuffer = (unsigned char*)malloc(0x70, mt, M_ZERO | M_WAITOK);
   unsigned char *decryptedKey = malloc(0x20, mt, M_ZERO | M_WAITOK);
   bzero(encNVSKeyBuffer, 0x70);
   bzero(decryptedKey, 0x20);

   // Read encrypted key from NVS
   icc_nvs_read(0, 4, 0x200, 0x60, encNVSKeyBuffer);
   
   // Let SAMU decrypt the key for us
   sceSblGetEAPInternalPartitionKey(encNVSKeyBuffer, decryptedKey);

   printf("\nsEAP partition key: ");
   for (int i = 0; i < 0x20; i++)
   {
       if (decryptedKey[i] < 0x10)
           printf("0x0%x ", decryptedKey[i]);
       else
           printf("0x%x ", decryptedKey[i]);
   }

   printf("\n");
   return;
}
Cheers to @mota for sharing the news in the PSXHAX Shoutbox! :beer:
PS4Ninja PlayStation 4 File Browser Source Code by M0rph3us1987.png
 

Comments

Status
Not open for further replies.

PSXHAX

Staff Member
Moderator
Contributor
Verified
Another GREAT release... and a BIG thanks to m0rph3us1987 for deciding to make it open source to give another PS4 dev the opportunity to learn from it and possibly take over the project someday. :cool:
 
Status
Not open for further replies.
Recent Articles
PS4 IOCTL Nabber IDA 7.0-7.2 Script for IOCTL Requests by SocraticBliss
Proceeding his PS4 Module Dumper Payload and PS4 Kernel Fixup Script, PlayStation 4 developer @SocraticBliss (Twitter) added a PS4 IOCTL Nabber to his Github repository for use with the IDA...
Free Holiday Brush Pack Arrives for Concrete Genie on PlayStation 4
Christmas is still a few weeks away, but the festive folks at Pixelopus announced that a free Holiday Brush Design Pack is now available for Concrete Genie on PlayStation 4! 🎨🖌:santa: Here's the...
Sony CEO Confirms No Interest in Making Another Handheld Console
A few weeks back CEO Jim Ryan revealed Sony's plans to Transition to PS5, and in a recent interview with GameInformer.com he confirmed that PlayStation is also no longer interested in making...
Monster Hunter World: Iceborne x Horizon Zero Dawn: The Frozen Wilds PS4
Following the Monster Hunter: World PS4 Pro LE Bundle and Monster Hunter World: Iceborne Expansion, today Capcom announced that the gates to the Tundra Region have opened in Monster Hunter World...
Top