Thread: HELP ME PLZ!

Results 1 to 10 of 10
  1. #1
    AnthonyT145's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    MPGH
    Posts
    66
    Reputation
    39
    Thanks
    4
    My Mood
    Happy

    HELP ME PLZ!

    IM TRYING TO MAKE A SIMPLE HACK SUPER BULLETS HACK FOR COMBAT ARMS IM USING THIS CODE https://www.mpgh.net/forum/207-combat...mple-hack.html (ALL CREDITS TO flameswor10)can someome help me plz?HERES THE CODE ALL OF ITS FROM flameswor10 just differnt adress thats all!HERES THE CODE:#include <window.h>
    int HackOn = 0;
    bool test = false;
    #define ADDR_S_BULLETS 0x37428EFD
    void Main (void)
    {
    while(1)

    {
    if (GetAsyncKeyState(VK_NUMPAD1)&1)
    {
    test = (!test);
    }
    if (GetAsyncKeyState(VK_NUMPAD2)&1)
    {
    HackOn ++;
    }
    if (HackOn == HackMax)
    }
    if (test)
    {
    memcpy( (PBYTE)ADDR_S_BULLETS, (PBYTE) "\x33\xC0\x90", 3 );
    }else{
    memcpy( (PBYTE)ADDR_SBULLLETS, (PBYTE)"\x0F\x94\xC0", 3 );
    }
    }
    }
    DWORD WINAPI Lesson (LPVOID)
    Main();
    return 1;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, Lesson, NULL, NULL, NULL);DWORD WINAPI Lesson (LPVOID)
    }
    return TRUE;
    }

  2. #2
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Code:
    #define ADDR_S_BULLETS 0x374201ED
    Your address is out of date.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  3. The Following User Says Thank You to Jason For This Useful Post:

    matypatty (05-24-2012)

  4. #3
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,179
    My Mood
    Inspired
    Using memcpy is detected by HackShield I belive.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  5. #4
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by comando2056 View Post
    Using memcpy is detected by HackShield I belive.
    I doubt it, but it's easy enough to just write your own.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  6. #5
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,179
    My Mood
    Inspired
    Quote Originally Posted by Jason View Post


    I doubt it, but it's easy enough to just write your own.
    It never works for me

    I created my own, works like a charm
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  7. #6
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by comando2056 View Post


    It never works for me

    I created my own, works like a charm
    Just wrote this then, probs more elegant ways of doing it though :3

    Code:
    void *memcpy_n(void *dest, void *src, size_t sz, DWORD flProtect = 0)
    {
    	DWORD temp;
    
    	DWORD *dwDest = (DWORD*)dest;
    	DWORD *dwSrc = (DWORD*)src;
    
    	if (flProtect > 0)
    		VirtualProtect(dest, sz, flProtect, &temp);
    
    	for(size_t i = 0; i < ((sz - ( sz % 4 )) >> 2); i++, dwDest++, dwSrc++)
    		*dwDest = *dwSrc;
    
    	if (sz & 2)
    		*(WORD*)dwDest = *(WORD*)dwSrc;
    	if (sz & 1)
    		*((BYTE*)dwDest + (sz & 2)) = *((BYTE*)dwSrc + (sz & 2));
    
    	if (flProtect > 0)
    		VirtualProtect(dest, sz, temp, &flProtect);
    
    	return dest;
    }
    
    EDIT: Neatened the code after I looked at it for a while.
    Last edited by Jason; 05-25-2012 at 04:30 AM.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

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

    [MPGH]Flengo (05-25-2012)

  9. #7
    AtomicStone's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    827
    Reputation
    18
    Thanks
    476
    My Mood
    Lurking
    Wait, is that all the code O_O? You aren't even making the memcpy function, so how is it supposed to work.

    Unless there is more.

  10. #8
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,179
    My Mood
    Inspired
    Quote Originally Posted by AtomicStone View Post
    Wait, is that all the code O_O? You aren't even making the memcpy function, so how is it supposed to work.

    Unless there is more.
    If you're talking about @Jason's function, it works. Tested it in Combat Arms.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  11. #9
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by AtomicStone View Post
    Wait, is that all the code O_O? You aren't even making the memcpy function, so how is it supposed to work.

    Unless there is more.
    That function will emulate memcpy. It also has the added benefit of allowing you to specify a page protection level for the destination of the of the copy.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  12. #10
    AtomicStone's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    827
    Reputation
    18
    Thanks
    476
    My Mood
    Lurking
    Quote Originally Posted by Jason View Post


    That function will emulate memcpy. It also has the added benefit of allowing you to specify a page protection level for the destination of the of the copy.
    I was talking about the guys post above The OP.

Similar Threads

  1. [Help Request] help me plz!
    By igitheking17 in forum Combat Arms EU Help
    Replies: 1
    Last Post: 05-21-2012, 04:40 AM
  2. [Help Request] Help fast plz ...
    By ipwedyou in forum Combat Arms Help
    Replies: 2
    Last Post: 12-04-2011, 08:33 PM
  3. [Help Request] help man plz!!!
    By propimp in forum CrossFire Help
    Replies: 20
    Last Post: 07-14-2011, 04:25 PM
  4. [Help Request] Help Me Plz!
    By adu.12 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 0
    Last Post: 06-23-2011, 04:18 AM
  5. [Help Request] Help Fast Plz
    By [F]ire [D]emo in forum CrossFire Help
    Replies: 13
    Last Post: 05-29-2011, 02:44 AM