c - Call Function by its Address -
i'm trying call kernel function address.
typedef void tkidetachprocess(); dword64 kedetachprocessaddr = &kedetachprocess; int temp = *(int*)(kedetachprocessaddr + 0x1f + 0x1); dword64 kidetachprocessaddr = kedetachprocessaddr + 0x1f + 0x5 + temp; tkidetachprocess* pkidetachprocess = (tkidetachprocess*)kidetachprocessaddr); pkidetachprocess();
but i'm getting bluescreens code.
the kidetachprocessaddr right, looked in debugger, there should wrong declaration of tkidetachprocess.
Comments
Post a Comment