Category PS4 CFW and Hacks       Thread starter PSXHAX       Start date Jan 27, 2020 at 1:29 PM       4,382       5            
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 / 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

arifx2

Member
Contributor
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:
 
Recent Articles
PlayStation Store Essential Picks PSN Sale with Savings Up to 70% Off
PlayStation fans can save up to 70% off critically acclaimed must-have games during the PS Store Essential Picks sale beginning today on select PSN titles including Star Wars Jedi: Fallen Order...
Sony Introduces PlayStation Player Celebration to Win Exclusive Prizes
Proceeding the launch of their Mobile & Web Competition Center, today Sony invites PlayStation Gamers to join the PlayStation Player Celebration to play games, earn Trophies to unlock shared...
Red Dead Online Recreation in Dreams on PS4 by Rikkiscafe
We've seen a MGS HD Remake, a FFVII Dreamake, some RDR2 Mods and the latest Red Dead Online PS4 creation in Dreams by Media Molecule comes from Rikkiscafe via iferraz2. šŸ¤  For those who haven't...
Hunt: Showdown Brings Bounty Hunters to PlayStation 4 Next Week
Next week join the rugged bounty hunters of Hunt: Showdown as they rid the world from the savage, nightmarish monsters roaming the Louisiana swamps! :eek: Hunt's competitive, match-based gameplay...
Top