Prehooking Get Hooking Points?
Posted: Fri Apr 13, 2018 10:24 am
Hello guys,
browsing the forum iam seeing alot of the find_binary stuff like this:
So in the doc it says server.symbols returns a dict containing all symbols and their addresses.
I thought i can print all available variables so i know where i must hook for let's say a _Z18CreateEntityByNamePKci hook.
This is my code so far:
Prints:
Theres nothing about
nor
Do you see what iam missing?
browsing the forum iam seeing alot of the find_binary stuff like this:
Mikeemoo wrote:server = memory.find_binary('server', False)
PICK_AIM_SPOT = server['_ZN6CCSBot14PickNewAimSpotEv'].make_function(
Convention.THISCALL,
(DataType.POINTER,),
DataType.INT
)
@PostHook(PICK_AIM_SPOT)
def post_pick_aim_spot(args, return_value):
So in the doc it says server.symbols returns a dict containing all symbols and their addresses.
I thought i can print all available variables so i know where i must hook for let's say a _Z18CreateEntityByNamePKci hook.
This is my code so far:
Syntax: Select all
server = memory.find_binary('server', False)
for symbol in server.symbols:
print(symbol )
Prints:
Code: Select all
_ZTSN10__cxxabiv116__enum_type_infoE
_ZTVN10__cxxabiv115__forced_unwindE
_fini
_ZTVN9__gnu_cxx26__concurrence_unlock_errorE
CreateInterface
_ZTIN10__cxxabiv119__foreign_exceptionE
_ZTIN10__cxxabiv116__enum_type_infoE
_ZTSN10__cxxabiv119__foreign_exceptionE
_ZTVN10__cxxabiv119__foreign_exceptionE
_ZTSN8CryptoPP7Integer16RandomNumberTypeE
_ZTVN9__gnu_cxx20recursive_init_errorE
_ZTSN9__gnu_cxx20recursive_init_errorE
__new_handler
_ZTSN9__gnu_cxx26__concurrence_unlock_errorE
_init
s_pInterfaceRegs
_ZTIN9__gnu_cxx26__concurrence_unlock_errorE
_ZTIN10__cxxabiv115__forced_unwindE
_ZTSN9__gnu_cxx24__concurrence_lock_errorE
_ZTSN8CryptoPP21BlockPaddingSchemeDef18BlockPaddingSchemeE
_ZN9__gnu_cxx17__is_null_pointerIcEEbPT_
_ZTSN10__cxxabiv115__forced_unwindE
_ZTIN9__gnu_cxx24__concurrence_lock_errorE
_ZTIN8CryptoPP7Integer16RandomNumberTypeE
_ZTVN10__cxxabiv116__enum_type_infoE
_ZTIN8CryptoPP21BlockPaddingSchemeDef18BlockPaddingSchemeE
_ZTVN9__gnu_cxx24__concurrence_lock_errorE
_ZTIN9__gnu_cxx20recursive_init_errorE
Theres nothing about
Code: Select all
server['_ZN6CCSBot14PickNewAimSpotEv']
nor
Code: Select all
server['_Z18CreateEntityByNamePKci']
Do you see what iam missing?