Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
PS4 CFW and Hacks       Thread starter PSXHAX       Start date Jan 27, 2020 at 1:29 PM       5      
Status
Not open for further replies.
Following his GhidraOrbisTools PS4 Loader and IDA Script Ports developer @KIWIDOGGIE (aka diwidog on Twitter) recently added a GetEventHandlerNames Python Script (GetEventHandlerNames.py) by kd_tech_ to his KiwiDoggie Productions IDA ConsoleHacking Scripts repository on Github for PS4 scene developers using the IDA Interactive Disassembler for code examination and reverse-engineering. :geek:

Download: GetEventHandlerNames.py / OrbisKernelSyscalls.java (Labels syscalls in kernel dumps/decrypted) / IDA-ConsoleHacking-Scripts-master.zip / GIT

From GetEventHandlerNames.py on Github:
Code:
#!/usr/bin/env python

#
# OpenOrbis Project providing 100% free and open source development
# This script will enumerate and print out in the console all of the eventhandler_register names
# so you can use them in your own kernel scripts
# **** the pirates
#
# Created by: kd (@kd_tech_)
# Started on: Jan 25, 2020
#

def get_eventhandler_register():
    s_Ea = idc.BeginEA()
    for l_FunctionAddress in idautils.Functions(SegStart(s_Ea), SegEnd(s_Ea)):
        l_FunctionName = idc.GetFunctionName(l_FunctionAddress)

        # check if it's our variable
        if l_FunctionName.startswith("eventhandler_register"):
            return l_FunctionAddress

    return idaapi.BADADDR

if __name__ == "__main__":
    s_EventHandlerRegister = get_eventhandler_register()
    if s_EventHandlerRegister == idaapi.BADADDR:
        msg("err: could not find eventhandler_register\n")

    #msg("found eventhandler_register: %x\n" % s_EventHandlerRegister)
    for l_XRef in idautils.XrefsTo(s_EventHandlerRegister):
        l_XRefEA = l_XRef.frm
 
        l_XRefAddrs = idaapi.get_arg_addrs(l_XRefEA)
        if l_XRefAddrs == None:
            continue
        # eventhandler_tag eventhandler_register(struct eventhandler_list *list, const char *name, void *func, void *arg, int priority)
        #msg("len: %d\n" % len(l_XRefAddrs))

        l_Arg = l_XRefAddrs[1]
        l_NameAddress = long(idc.GetOperandValue(l_Arg, 1))
        l_Name = idc.get_strlit_contents(l_NameAddress)
        msg("%s - %s\n" % (l_Name, "0")) #
    #msg("complete\n")
Cheers to @HydrogenNGU for the heads-up on Twitter earlier today! 🍻
GetEventHandlerNames Python Script for PS4 Scene Developers.jpg
 

Comments

can we just decrypt and make a whole new kernel to ps4 system then open everything, full powered, updated driver, etc and no check for original games :X3::X3:
 
@Gungrave73
Absolutely not. This stuff is useful for people interested in homebrew development, given the current trend of the scene, you also have to wait for a public release of the work that Crazyvoid is doing for legitimate ***s.
 
Status
Not open for further replies.
Back
Top