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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -