Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [RE] Video Tutorial - Function Hooking
PostPosted: Tue May 18, 2010 11:23 pm 
VA Team
User avatar
Joined: Mon Jul 07, 2008 8:48 pm
Posts: 286
This is my video tutorial on function hooking.

Click here for video tutorial

Resources:

The hooking function:
Code:
void WriteJMP(byte* location, byte* newFunction){
   DWORD dwOldProtection;
   VirtualProtect(location, 5, PAGE_EXECUTE_READWRITE, &dwOldProtection);
      location[0] = 0xE9;
      *((dword*)(location + 1)) = (dword)(newFunction - location) - 5;
   VirtualProtect(location, 5, dwOldProtection, &dwOldProtection);
}



Enjoy.

_________________
Image


Profile Send private message  Offline
 

Display posts from previous:  Sort by  

Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest

Panel

Top You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Dizayn Ercan K.