Page 1 of 2 12 LastLast
Results 1 to 15 of 29

Hybrid View

  1. #1
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool

    My new detour ! :D + a surprise !

    Hello guys,
    Wanted to share with you my new detour function:

    Code:
    void PlaceJMP( BYTE *bt_DetourAddress, DWORD dw_FunctionAddress, DWORD dw_Size)
    {
    	DWORD dw_OldProtection, dw_Distance;
    	VirtualProtect(bt_DetourAddress, dw_Size, PAGE_EXECUTE_READWRITE, &dw_OldProtection);
    	dw_Distance = (DWORD)(dw_FunctionAddress - (DWORD)bt_DetourAddress) - 5;
    	*bt_DetourAddress = 0xE9;
    	*(DWORD*)(bt_DetourAddress + 0x1) = dw_Distance;
    	for(int i = 0x5; i < dw_Size; i++) *(bt_DetourAddress + i) = 0x90;
    	VirtualProtect(bt_DetourAddress, dw_Size,  dw_OldProtection, NULL);
        return;
    }
    it does the same as the old detour function but the code is optimized and the variables now have better names !



    The surprise:

    The simple memory hacking is still possible @giniyat101 you were right any way not even "CreateThread" function needed or hook

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

    ahmedmola1 (10-06-2012),ISM43L (10-07-2012),l4rs (10-06-2012),MagicWar (10-06-2012),xbqwer123 (10-07-2012)

  3. #2
    Ryuesi's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Right here.
    Posts
    7,339
    Reputation
    413
    Thanks
    2,397
    My Mood
    Relaxed
    Good job





    Contributor Since 24-11-2011 ~ 26-12-2011
    VM / PM




  4. #3
    3D's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    In The World :P
    Posts
    1,007
    Reputation
    134
    Thanks
    14,169
    My Mood
    Amazed
    Best !!! Good work !!

  5. #4
    MagicWar's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    In My Hack Base
    Posts
    151
    Reputation
    10
    Thanks
    2,041
    My Mood
    Asleep
    Thanks For sharing
    Good Jop
    Thanks+Resp

    Contact Me!
     
    abdo_zeyad20111@yahoo.com


     
    MagicarCrossFire

    My Project List

    Make Simble Hack()
    Make 3 Features Hack()
    Make Hack 10 Feat()
    Make Hack 15 Feat()
    Makeing Hot Keys()
    Makeing D3D Menu()
    Makeing VIP Hack()Done 70%

    -------------------------------------------------
    Leecher: 0 ()
    Choob: 25 ()
    Newbie: 50 ()
    Member: 100 ()
    Advanced Member: 150 ()
    Dual-Keyboard Member: 250 ()
    Expert Member: 500 ()
    Bobo's Trainer: 750 ()
    MPGH Expert: 1000 ()
    Synthetic Hacker: 1250 ()
    Blackhat Hacker: 1500 ()
    Whitehat Hacker: 2000 ()
    Bobo's Guardian: 2500 ()
    Upcoming MPGHiean: 3000 ()
    MPGH Addict: 3500 ()
    MPGHiean: 4000 ()
    MPGH Knight: 4500 ()
    MPGH Lord: 5000 ()
    MPGH Champion: 5500 ()
    MPGH King: 6000 ()
    MPGH Legend: 6500 ()
    MPGH God: 7000 ()

    MPGH God II: 7500 ()
    MPGH God III: 8000 ()
    MPGH God IV: 8500 ()
    MPGH God V: 9000 ()
    Arun's Slave: 9500 ()
    Dave's Slave: 10000 ()

  6. #5
    firefox800's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    294
    Reputation
    10
    Thanks
    2,136
    My Mood
    Fine
    Same concept: but Thanks for it

    void MakeJMP( BYTE *pAddress, DWORD dwJumpTo, DWORD dwLen )
    {
    DWORD dwOldProtect, dwBkup, dwRelAddr;
    VirtualProtect(pAddress, dwLen, PAGE_EXECUTE_READWRITE, &dwOldProtect);
    dwRelAddr = (DWORD) (dwJumpTo - (DWORD) pAddress) - 5;
    *pAddress = 0xE9;
    *((DWORD *)(pAddress + 0x1)) = dwRelAddr;
    for(DWORD x = 0x5; x < dwLen; x++) *(pAddress + x) = 0x90;
    VirtualProtect(pAddress, dwLen, dwOldProtect, &dwBkup);
    return;
    }
    Pls Refer this thread by Swag Post
    Last edited by firefox800; 10-06-2012 at 09:32 AM.

  7. #6
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    Quote Originally Posted by firefox800 View Post
    Same concept: but Thanks for it



    Pls Refer this thread by Swag Post
    what do you mean ? :| they look identical ? ... maybe the function used in detours are same :|

  8. The Following User Says Thank You to kmanev073 For This Useful Post:

    ahmedmola1 (10-06-2012)

  9. #7
    hanyali2012's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    Crossfire
    Posts
    556
    Reputation
    14
    Thanks
    3,391
    My Mood
    Happy
    Good Work .. Thanx For Sharing



    Best CoderS :~
    @Ramo
    @Karemm111
    @Dragon(H)ell
    @CodeSkills


  10. #8
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    i can confirm you just "modified" it
    no one ends a void function with "return" twice.


     



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

  11. #9
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    Quote Originally Posted by giniyat101 View Post
    i can confirm you just "modified" it
    no one ends a void function with "return" twice.
    no i got the one from topbase... and i have one return :|

  12. #10
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    Quote Originally Posted by kmanev073 View Post
    no i got the one from topbase... and i have one return :|
    still a modify..


     



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

  13. #11
    shikororo's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Thanks Man For The Hack So Good

  14. #12
    hayksssss's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    MPGH
    Posts
    315
    Reputation
    39
    Thanks
    677
    My Mood
    Amused
    Thanks Bro






  15. #13
    ~FALLEN~'s Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    devenv.exe
    Posts
    529
    Reputation
    23
    Thanks
    328
    My Mood
    Inspired
    Quote Originally Posted by kmanev073 View Post
    Hello guys,
    Wanted to share with you my new detour function:

    Code:
    void PlaceJMP( BYTE *bt_DetourAddress, DWORD dw_FunctionAddress, DWORD dw_Size)
    {
    	DWORD dw_OldProtection, dw_Distance;
    	VirtualProtect(bt_DetourAddress, dw_Size, PAGE_EXECUTE_READWRITE, &dw_OldProtection);
    	dw_Distance = (DWORD)(dw_FunctionAddress - (DWORD)bt_DetourAddress) - 5;
    	*bt_DetourAddress = 0xE9;
    	*(DWORD*)(bt_DetourAddress + 0x1) = dw_Distance;
    	for(int i = 0x5; i < dw_Size; i++) *(bt_DetourAddress + i) = 0x90;
    	VirtualProtect(bt_DetourAddress, dw_Size,  dw_OldProtection, NULL);
        return;
    }
    it does the same as the old detour function but the code is optimized and the variables now have better names !



    The surprise:

    The simple memory hacking is still possible @giniyat101 you were right any way not even "CreateThread" function needed or hook
    not optimized...

  16. #14
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    Quote Originally Posted by ~FALLEN~ View Post
    not optimized...
    it is... if you compare it with the one in topbase v1.0 bcs i got it from there

  17. #15
    derh.acker's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    localhost
    Posts
    826
    Reputation
    14
    Thanks
    616
    My Mood
    Angelic
    Quote Originally Posted by kmanev073 View Post
    it is... if you compare it with the one in topbase v1.0 bcs i got it from there
    It really is optimized because VirtualProtect fails and therefore it won't take that much time.
    VirtualProtect(bt_DetourAddress, dw_Size, dw_OldProtection, NULL);

  18. The Following User Says Thank You to derh.acker For This Useful Post:

    mp3mp4 (10-28-2012)

Page 1 of 2 12 LastLast

Similar Threads

  1. [News] New Rule About Hack Packs
    By Lehsyrus in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 16
    Last Post: 10-05-2012, 07:29 AM
  2. [News] Be careful, new version! [1.9.446]
    By urbanlucky in forum Call of Duty Modern Warfare 3 Discussions
    Replies: 24
    Last Post: 09-14-2012, 03:29 AM
  3. New Detour/Hook PLz
    By namename41 in forum Combat Arms Coding Help & Discussion
    Replies: 3
    Last Post: 08-10-2011, 06:06 PM
  4. i need new detour/hook
    By justiniscool5 in forum Combat Arms Coding Help & Discussion
    Replies: 14
    Last Post: 07-10-2011, 10:10 PM
  5. [Detected] AO Team Test hack V1 new undected detour added
    By sam22 in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 120
    Last Post: 02-28-2011, 02:39 PM