Results 1 to 5 of 5
  1. #1
    neytiri's Avatar
    Join Date
    Jan 2011
    Gender
    female
    Location
    rawrland
    Posts
    222
    Reputation
    23
    Thanks
    14
    My Mood
    Bitchy

    CA address logger

    well i was gunna be a noob and use a CA addy logger for PBlackout but flame informed me i cant do that cause of "crossgame" so ima learn CA first and worry about PBlackout later but i need a addy logger if anyone could post theirs or one they know of that would be helpfull, of course i know most people probly wont post one but instead flame on this thread calling me names but what ever i just want to better myself and actually be helpfull
    [IMG]https://i1211.photobucke*****m/albums/cc440/Neytiri1/Untitled-3.png[/IMG]


    JA =

    NEIN =

    Play CA =
    Play CF =
    Play WR =
    Play PB =
    Play MC =
    Play with VIP =
    Get VIP Free =
    Become a staff at any hacking site =
    Buy MPGH VIP =
    Get a virus from a hack on MPGH =
    more to add later =

  2. #2
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,178
    My Mood
    Inspired
    Flameswor10's address logger doesn't work anymore. You could always make one. All the addresses you pretty much need are all posted in this section.
    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


  3. #3
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Quote Originally Posted by comando2056 View Post
    Flameswor10's address logger doesn't work anymore. You could always make one. All the addresses you pretty much need are all posted in this section.
    My address logger was pretty beast

  4. #4
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    Quote Originally Posted by Geecko
    Hi all......!!!!

    Now i tell u how to make a nice addy logger.....so u dont have to re-search the addy, each update....!!!!

    This save u a lot of time


    Let's Start......

    -------------------------------------------------------------------------------------------------

    PROGRAMS & REQUIREMENTS:

    Visual C++ ( i use 6.0 )
    Brain
    Some basics C++ knowledge
    Some minutes...

    --------------------------------------------------------------------------------------------------


    Now open a new project "Win32 Dynamic-Link Library", call it with the name u want


    Now add some globals:
    Code:
    Code:
    #include <windows.h>
    #include <fstream>
    #include <stdio.h>
    using namespace std;                                       //need for the logging func
    ofstream ofile;                                                  //need for the logging func
    #define WIN32_LEAN_AND_MEAN
    char *GetDirectoryFile(char *filename);         //getdirfile for the logging func
    void __cdecl add_log (const char * fmt, ...); //the logging func
    void thethread(); //the main function
    char dlldir[320];
    In our DllMain(HMODULE hMod, DWORD dwReason, PVOID pvReserved):
    Code:
     CreateThread(0, 0, (LPTHREAD_START_ROUTINE)thethread, 0, 0, 0);
     GetModuleFileName(hMod, dlldir, 512);
     for(int i = strlen(dlldir); i > 0; i--) { if(dlldir[i] == '\\') { dlldir[i+1] = 0; break;}}
    
    ofile.open(GetDirectoryFile("WooWMyLog.txt"), ios::app);
    
            
    MessageBox(NULL, " Logger", "Let's log some addy", MB_OK); //not really needed
    We have to add these 2 function to let the logger work correctly:

    Code:
    Code:
    char *GetDirectoryFile(char *filename)//get the directory of the dll
    {
        static char path[320];
        strcpy(path, dlldir);
        strcat(path, filename);
        return path;
    }
    
    
    void __cdecl add_log (const char *fmt, ...)//the add log func
    {
        if(ofile != NULL)
        {
            if(!fmt) { return; }
    
            va_list va_alist;
            char logbuf[256] = {0};
    
            va_start (va_alist, fmt);
            _vsnprintf (logbuf+strlen(logbuf), sizeof(logbuf) - strlen(logbuf), fmt, va_alist);
            va_end (va_alist);
    
            ofile << logbuf << endl;
        }
    }
    Now we have to add another 2 functions, 2 important function that search the address:

    Code:
    Code:
    bool Match(const BYTE* pData, const BYTE* bMask, const char* szMask)
    {
        for(;*szMask;++szMask,++pData,++bMask)
            if(*szMask=='x' && *pData!=*bMask ) 
                return false;
        return (*szMask) == NULL;
    }
    
    
    DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
    {
        for(DWORD i=0; i < dwLen; i++)
            if( Match( (BYTE*)( dwAddress+i ),bMask,szMask) )
                return (DWORD)(dwAddress+i);
    
        return 0;
    }
    After this we have to put the last function, "thethread":

    Code:
    Code:
    void thethread()
    {
    
    //Code Here
    
    }
    --------------------------------------------------------------------------------------------------


    Now the base it's finished, but a very interesting question is:

    "How i can add an address???"


    Let's say that once u have understand the method is simply add an address......

    u need:

    1) A sequence of bytes of the addy (generally the first 10/15 bytes), this is called "Array of Bytes"

    2)A Mask (tells the search functions what bytes change and what bytes are static)

    An Example is:

    Code:
    Code:
    DWORD  m_dwaddy  = FindPattern(0x400000, 0x01400000,(unsigned char*)"\xB9\x00\x00\x00\x00\xF3\xA5\x00","x????xxx");
    
    add_log("\nFunction %\nAddress :  0x%.6X\n",m_dwaddy);
    This logs something like this:

    Code:
    Code:
    Function
    Address :  0x000000
    --------------------------------------------------------------------------------------------------


    But what this numbers mean?

    0x400000 : the start address of ur research
    0x01400000 : the end address of ur research
    \xB9\x00\x00\x00\x00\xF3\xA5\x00 : the Array of Bytes
    x????xxx : the Mask

    x : static byte
    ? : not static byte

    So the first byte is static ( with x ), \x00\x00\x00\x00 bytes aren't statics (with ? ), the last 3 bytes are static ( with x ).

    the static bytes dont change ( dont change after an update )
    the not static bytes change after an update


    --------------------------------------------------------------------------------------------------


    Where/How can i search for bytes???


    U can search for bytes in OllyDbg, in IDA Pro or with ur favourite program.

    How can i understand what bytes are static and what arent?

    easy, copy an array of a selected addy.
    then wait until there is an update, and research the new addy with the same asm code as the old (attention: u DONT have to search for the OLD addy after an update,or it will be wrong)
    then compare the 2 array.....!!!!!


    END of TUT


    If u dont want to do it, there is a plugin for OllyDbg that do it automatically....


    I think i helped u...


    Credits: Me and people that made some functions
    from UC.

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

    [MPGH]Flengo (09-03-2011),neytiri (05-19-2011)

  6. #5
    neytiri's Avatar
    Join Date
    Jan 2011
    Gender
    female
    Location
    rawrland
    Posts
    222
    Reputation
    23
    Thanks
    14
    My Mood
    Bitchy
    Quote Originally Posted by comando2056 View Post
    Flameswor10's address logger doesn't work anymore. You could always make one. All the addresses you pretty much need are all posted in this section.
    i already knew this i wasnt looking for Flameswors just a addy logger in general

    Quote Originally Posted by NOOB View Post


    from UC.
    holy shit thats a long tutorial but it will be worth it, if someone wants to jsut post a already created on they can but ima try and make one with this tutorial thanks n00b
    [IMG]https://i1211.photobucke*****m/albums/cc440/Neytiri1/Untitled-3.png[/IMG]


    JA =

    NEIN =

    Play CA =
    Play CF =
    Play WR =
    Play PB =
    Play MC =
    Play with VIP =
    Get VIP Free =
    Become a staff at any hacking site =
    Buy MPGH VIP =
    Get a virus from a hack on MPGH =
    more to add later =