Results 1 to 3 of 3
  1. #1
    drlunar's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Location
    In Solitude...
    Posts
    24
    Reputation
    10
    Thanks
    0
    My Mood
    Stressed

    C++ Aob Scanning

    Alright so I can scan for an address and utilize it just fine. The issue is, after catching the address and modifying it's bytes my trainer can't scan for it's address to disable it. This is because the bytes at the given address are now shifted. Of course I can fix this by creating another scan for the modified bytes, though there's just so many hacks on my trainer it would take me a few hours to get everything working the way I'd like. I'd like to ask for any ideas on how I could catch the address to enable and disable.

    IE;

    Code:
    DWORD NewAddy() {
    code here
    return Addy;
    }
    Code:
    void EnableHack() {
    write bytes(NewAddy())
    }
    Code:
    void DisableHack() {
    write bytes(NewAddy())
    }
    After enabling the hack it's impossible to catch the address again.

  2. #2
    Fovea's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    325
    Reputation
    101
    Thanks
    411
    My Mood
    Amused
    Just store the address when you originally find it.

  3. #3
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    You should have an initializing routine which finds the addresses of the signatures when your trainer loads and stores them for later use. Then you can unpatch/repatch at will.

    Trivial example:
    Code:
    void *pHackAddress1 = NULL;
    
    void init(void)
    {
        pHackAddress1 = (void*)SignatureScan(...);
    }

    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)

Similar Threads

  1. [Help] AOB Scanning
    By drlunar in forum C++/C Programming
    Replies: 2
    Last Post: 07-18-2012, 01:11 AM
  2. Introduction to Updating Auto Assembly Scripts (AOB Scan)
    By Blitz in forum Game Hacking Tutorials
    Replies: 4
    Last Post: 04-28-2011, 12:23 AM
  3. AoB Scan
    By Sintax1 in forum C++/C Programming
    Replies: 5
    Last Post: 03-31-2011, 09:36 PM
  4. File Scan here
    By Neogaidenx in forum Spammers Corner
    Replies: 4
    Last Post: 08-14-2008, 11:30 AM
  5. CE SCANS TAKING 4ever
    By A7X Oblivian in forum WarRock - International Hacks
    Replies: 3
    Last Post: 06-03-2006, 07:45 AM