Results 1 to 2 of 2
  1. #1
    Veteran Dwar is on a distinguished road Dwar's Avatar
    Join Date
    2010 Mar
    Thanked 2,220 Times in 286 Posts
    Rep Power

    Function Hooking, Video Tutorial

    Tutorial on basic function hooking by Patrickssj6
    In this tutorial we are going to use C++ and injection DLL to hook the function which updates the time inside MS Minesweeper.

    [flash 700,500][/flash]

    Full screen video

    The hooking function:
    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);
    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

  2. The Following 2 Users Say Thank You to Dwar For This Useful Post:

  3. #2
    Inactive Civa is on a distinguished road
    Join Date
    2010 Sep
    Thanked 0 Times in 0 Posts
    Rep Power

    Re: Function Hooking, Video Tutorial

    Very nice tutorial thank you!

    Is there any place I can download source code for this and play around with it?

    Thank you once again!



Visitors found this page by searching for:

function hooking tutorial

game hooking tutorial

dll hook tutorial

hooking game function

game function hooking

game hookingfunction hookinghooking game functionsgame hook tutorialhooking game tutorialtutorial game hookingC progamercity hook tuttutorial on hoking functonsbasic hooking tutorialdll para hook hookinghook tutfunction hooking tutorial -detoursgame function hookminesweeper function hookhow to function hook a gameinjection game hookgame function hook tutorialgame function hooking tutorialtut hook function


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts