Thread: Create hook

Results 1 to 10 of 10
  1. #1
    Nikita1482's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    106
    Reputation
    15
    Thanks
    34
    My Mood
    Cheerful

    Create hook

    How to create a hook?
    Last edited by Nikita1482; 02-16-2012 at 07:25 AM.

  2. #2
    Swag's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Netherlands
    Posts
    1,619
    Reputation
    19
    Thanks
    1,865
    My Mood
    Amused
    What kind of hook?

  3. #3
    ToXiC Coder's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    C++
    Posts
    853
    Reputation
    23
    Thanks
    474
    My Mood
    Doh
    In Memmory We Don't need hook
    if it's D3D Learn Assembly.

  4. #4
    Nikita1482's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    106
    Reputation
    15
    Thanks
    34
    My Mood
    Cheerful
    No SndDrv.dll!! How to create a hook for normal dll? No D3D, no SndDrv!!

  5. #5
    tryhacker's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    where you least expect
    Posts
    341
    Reputation
    23
    Thanks
    3,914
    My Mood
    Aggressive
    it's PTC or the normal dll??

  6. #6
    Nikita1482's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    106
    Reputation
    15
    Thanks
    34
    My Mood
    Cheerful
    Normal dll!! No SndDrv! No Menu! No PTC!

  7. #7
    CheatCreatorzz's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    922
    Reputation
    18
    Thanks
    730
    My Mood
    Amused
    just make your base undetected by xtrap in a simple no D3D base- so nomenubase - you dont need to hook, be sure you have Hackthread & a Dllmain where is your CreateThread, or Create you thread on another place.., who cares everything is working in nomenu(no hook needed) only xtrap detects some parts for nomenu, like HideModule & Normal CreateThreads linked on Hackthread. and some others, just try to make it undetected.





    (_¸.•*´'`°¤¸'¸¤°´'`*•.¸_)

    Video Creator
    GFX Creator
    C++ Coder
    D3D Coder

    (¯`*•.¸,¤°´'`°¤,¸.•*´¯)




  8. #8
    258456's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    ghjghj
    Posts
    1,222
    Reputation
    18
    Thanks
    300
    My Mood
    Relaxed
    Okay, so originally i wasn't going to answer this thread, but seeing so many people give crappy answers i think i will answer this one.

    The fact is that "how to make a hook" is a very generic question. It's like asking "How to make friends". There are many ways to do it, some are efficient and safe then there are some that are harmful and stupid.

    I am not going to be giving much source but i will be explaining the main idea of "Hooking".

    What is hooking?
    Hooking is basically just editing another program's code flow so that it jumps over to your code then jumps back to their code. This can be achieved in so many ways. The most simple way is the jmp hook which is obviously detected by any anti cheat but just to give you an example.

    Code:
    //game code
    .
    .
    JMP yourfunction  // your function does something (hacks/hotkeys) then jumps back to where game execution left off
    //Game code continues
    .
    .

    The fundamental steps in most hooks is as follows:
    1. You will most likely call VirtualProtect() in order to change the page protections of the address space you are writing to so that it doesn't crash.
    2. You can then modify memory most commonly with memcpy, but you can always just use a char or byte variable to point to a certain place in memory and then change it that way
    3. Then you use the VirtualProtect() function again in order to set the page protection back to how it was from when you first started and this will come from the dword buffer parameter you set in the first step


    Again, this is an extremely brief explanation and it is just to pop some ideas into your heads. If you guys really want to know what a hook is, like some source or you just want to get more in depth google "Mid function hook source code". The uc forums have a lot of nice resources for these kinds of things.

  9. The Following User Says Thank You to 258456 For This Useful Post:

    DaRk (02-18-2012)

  10. #9
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    dont use reguler createthread.
    find an alternate way
    or just use my method for sound with SndDrv


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  11. #10
    Nikita1482's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    106
    Reputation
    15
    Thanks
    34
    My Mood
    Cheerful
    In RU CF SndDrv patched!!

Similar Threads

  1. Java based multiplayer games
    By Tops in forum Hack Requests
    Replies: 8
    Last Post: 03-13-2008, 11:28 PM
  2. How to may spawn on all bases
    By Naeron in forum WarRock - International Hacks
    Replies: 8
    Last Post: 05-13-2007, 07:44 PM
  3. Spawn on enemy base
    By analog70 in forum WarRock - International Hacks
    Replies: 36
    Last Post: 03-18-2007, 04:17 AM
  4. BASE Avversary
    By vers900 in forum WarRock - International Hacks
    Replies: 5
    Last Post: 03-14-2007, 11:51 PM
  5. Web-based game hacking..
    By Krilliam in forum General Game Hacking
    Replies: 7
    Last Post: 02-20-2006, 01:12 PM