Thread: CA D3D9 Base?

Results 1 to 11 of 11
  1. #1
    xx_GamerUprise_xx's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0

    Question CA D3D9 Base?

    Not looking for anything too fancy just a simple base that works with CA and doesn't get detected.

  2. #2
    xx_GamerUprise_xx's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Even an out-dated base would be fine...

  3. #3
    Hacker Fail's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    C++
    Posts
    1,853
    Reputation
    200
    Thanks
    7,420
    Look in CABR section, has a lot of bases that still works..
    Member Level 1 since November, 2011
    Contributor since March, 2015

     

  4. #4
    PeachCreame's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Inside a Blue waffle
    Posts
    17
    Reputation
    10
    Thanks
    0
    My Mood
    Hot
    Quote Originally Posted by Hacker Fail View Post
    Look in CABR section, has a lot of bases that still works..
    On BR Version, if anything else it will crash.

  5. #5
    Hacker Fail's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    C++
    Posts
    1,853
    Reputation
    200
    Thanks
    7,420
    Quote Originally Posted by PeachCreame View Post
    On BR Version, if anything else it will crash.
    If you update the address and class, no.
    Member Level 1 since November, 2011
    Contributor since March, 2015

     

  6. #6
    PeachCreame's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Inside a Blue waffle
    Posts
    17
    Reputation
    10
    Thanks
    0
    My Mood
    Hot
    Quote Originally Posted by Hacker Fail View Post
    If you update the address and class, no.
    What about detection of 0xE9 jumps

  7. #7
    Skaterforeva1's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Up your ass
    Posts
    917
    Reputation
    32
    Thanks
    476
    My Mood
    Psychedelic
    Quote Originally Posted by PeachCreame View Post
    What about detection of 0xE9 jumps
    Code:
    LPVOID DetourCreateType( PBYTE pbTargetFunction, PBYTE pbDetourFunction, INT intSize, INT intType )
    {
        #define Detour1        1    // Undetected by BlackCipher II
        #define Detour2        2    // Undetected by BlackCipher II
        #define Detour3        3    // Undetected by BlackCipher II
        #define Detour4        4    // Undetected by BlackCipher II
        #define Detour5        5    // Undetected by BlackCipher II
     
        DWORD dwProtect;
        PBYTE pbDetour = ( PBYTE  )malloc( intSize + 5 );
        INT i;
     
        VirtualProtect( pbTargetFunction, intSize, PAGE_EXECUTE_READWRITE, &dwProtect );
        memcpy( pbDetour, pbTargetFunction, intSize );
        pbDetour += intSize;
     
        *( BYTE * ) ( pbDetour + 0 ) = 0xE9;
        *( DWORD * )( pbDetour + 1 ) = ( DWORD )( pbTargetFunction + intSize - pbDetour ) - 5;
     
        switch( intType )
        {
        case 1:
            *( BYTE * ) ( pbTargetFunction + 0 ) = 0xB8;
            *( DWORD * )( pbTargetFunction + 1 ) = ( DWORD )( pbDetourFunction );
            *( WORD * ) ( pbTargetFunction + 5 ) = 0xE0FF;
            i = 7;
            break;
     
        case 2:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xC033;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xC085;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
     
        case 3:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xDB33;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xDB85;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
     
        case 4:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xC933;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xC985;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
     
        case 5:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xD233;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xD285;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
        }
     
        for( ; i < intSize; i++ )
            *( BYTE * )( pbTargetFunction + i ) = 0x90;
     
        VirtualProtect( pbTargetFunction, intSize, dwProtect, &dwProtect );
     
        return ( pbDetour - intSize );
    }
    Credits go to @WE11ington
    Should work without dc

    ^Suck it!


  8. #8
    PeachCreame's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Location
    Inside a Blue waffle
    Posts
    17
    Reputation
    10
    Thanks
    0
    My Mood
    Hot
    Quote Originally Posted by Skaterforeva1 View Post
    Code:
    LPVOID DetourCreateType( PBYTE pbTargetFunction, PBYTE pbDetourFunction, INT intSize, INT intType )
    {
        #define Detour1        1    // Undetected by BlackCipher II
        #define Detour2        2    // Undetected by BlackCipher II
        #define Detour3        3    // Undetected by BlackCipher II
        #define Detour4        4    // Undetected by BlackCipher II
        #define Detour5        5    // Undetected by BlackCipher II
     
        DWORD dwProtect;
        PBYTE pbDetour = ( PBYTE  )malloc( intSize + 5 );
        INT i;
     
        VirtualProtect( pbTargetFunction, intSize, PAGE_EXECUTE_READWRITE, &dwProtect );
        memcpy( pbDetour, pbTargetFunction, intSize );
        pbDetour += intSize;
     
        *( BYTE * ) ( pbDetour + 0 ) = 0xE9;
        *( DWORD * )( pbDetour + 1 ) = ( DWORD )( pbTargetFunction + intSize - pbDetour ) - 5;
     
        switch( intType )
        {
        case 1:
            *( BYTE * ) ( pbTargetFunction + 0 ) = 0xB8;
            *( DWORD * )( pbTargetFunction + 1 ) = ( DWORD )( pbDetourFunction );
            *( WORD * ) ( pbTargetFunction + 5 ) = 0xE0FF;
            i = 7;
            break;
     
        case 2:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xC033;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xC085;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
     
        case 3:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xDB33;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xDB85;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
     
        case 4:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xC933;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xC985;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
     
        case 5:
            *( WORD * ) ( pbTargetFunction + 0 ) = 0xD233;
            *( WORD * ) ( pbTargetFunction + 2 ) = 0xD285;
            *( WORD * ) ( pbTargetFunction + 4 ) = 0x840F;
            *( DWORD * )( pbTargetFunction + 6 ) = ( DWORD )( pbDetourFunction - pbTargetFunction ) - 10;
            i = 10;
            break;
        }
     
        for( ; i < intSize; i++ )
            *( BYTE * )( pbTargetFunction + i ) = 0x90;
     
        VirtualProtect( pbTargetFunction, intSize, dwProtect, &dwProtect );
     
        return ( pbDetour - intSize );
    }
    Credits go to @WE11ington
    Should work without dc
    I dont even think you need to use detours these days :P i literally can call my Hack from DLLMain and render D3D Just as good :P

    Edit. In doing this CA can detect any extra code attached to engine
    Last edited by PeachCreame; 06-20-2016 at 12:32 AM.

  9. #9
    Hacker Fail's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    C++
    Posts
    1,853
    Reputation
    200
    Thanks
    7,420
    Quote Originally Posted by PeachCreame View Post
    I dont even think you need to use detours these days :P i literally can call my Hack from DLLMain and render D3D Just as good :P

    Edit. In doing this CA can detect any extra code attached to engine
    Hm, CANA detects hook engine ? Because in CABR works fine.
    Member Level 1 since November, 2011
    Contributor since March, 2015

     

  10. #10
    Skaterforeva1's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Up your ass
    Posts
    917
    Reputation
    32
    Thanks
    476
    My Mood
    Psychedelic
    Quote Originally Posted by PeachCreame View Post
    I dont even think you need to use detours these days :P i literally can call my Hack from DLLMain and render D3D Just as good :P

    Edit. In doing this CA can detect any extra code attached to engine
    Shit I'll have to try that. I haven't even hacked CA since since probably early 2015.

    ^Suck it!


  11. #11
    xx_GamerUprise_xx's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Hacker Fail View Post
    Look in CABR section, has a lot of bases that still works..
    Will do thanks

Similar Threads

  1. [Help] Anyone have d3d9 base?
    By roabx1 in forum WarRock Discussions
    Replies: 12
    Last Post: 09-23-2010, 08:18 AM
  2. Magicman's D3D9 Base v1.0
    By Mr.Magicman in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 32
    Last Post: 08-31-2010, 01:46 PM
  3. D3D9 Base
    By n4n033 in forum WarRock Hack Source Code
    Replies: 17
    Last Post: 08-22-2010, 10:07 AM
  4. Magicman's D3D9 Base v1.0
    By Mr.Magicman in forum Combat Arms EU Hack Coding/Source Code
    Replies: 9
    Last Post: 08-02-2010, 10:29 AM
  5. [Help] D3D8 or D3D9 based?!
    By HazXoD3D in forum WarRock - International Hacks
    Replies: 3
    Last Post: 10-13-2009, 12:43 PM