You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, find out what library and what function you need to use;
For example, you want to call system() in the target process:
add lib msvcrt module in struct INSTANCE;
add function system in struct Win32, both structs are defined in file core.h;
load the msvcrt with instance.Win32.LoadLibraryA(GET_SYMBOL("msvcrt")) function;
get the address of the target function system with LdrFunction(instance.Modules.msvcrt, 0xcff4a7ca) function;
finnally, call the system("start notepad.exe") with instance.Win32.system(GET_SYMBOL("start notepad.exe")) function, please see file entry.c for more details;