Results 1 to 2 of 2
  1. #1
    Dwar
    Dwar is offline
    Veteran Dwar's Avatar
    Join Date
    2010 Mar
    Posts
    2,221
    Thanks
    211
    Thanked 2,224 Times in 289 Posts
    Rep Power
    10

    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]http://www.vivid-abstractions.net/downloads/InDem%20Present/Hooking%20Tutorial.swf?build=1[/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
    Civa
    Civa is offline
    Guest
    Join Date
    2010 Sep
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    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!

    Regards,

    Civa

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 tutorialhttp:www.progamercity.net 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
  •