Thread: Address Logger

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

Hybrid View

  1. #1
    Wilds's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    522
    Reputation
    1
    Thanks
    170
    My Mood
    Relaxed

    Arrow Address Logger

    i have an addy logger, with sigs, and when i inject it the game crashes.

    made my self using a tut and olly

    it makes the log file, but then even before the hackshield thing pops up, it crashes on me with no addies.

    my source has all the logger functions, threads, and defines

    idk what the hell is wrong with it but thanks for checking this out

    post results/answers and if u need the full source i'll post it (without sigs)

    thanks + rep will be given
    Last edited by Wilds; 02-22-2011 at 07:08 PM.

  2. #2
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    We cant help without code

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

    D-Vid the DBag (02-22-2011)

  4. #3
    qwerty01's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    180
    Reputation
    9
    Thanks
    225
    My Mood
    Lurking
    Quote Originally Posted by whit View Post
    We cant help without code
    in addition to that, the error that caused the crash

  5. #4
    Wilds's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    522
    Reputation
    1
    Thanks
    170
    My Mood
    Relaxed
    k, heres the code...

    Addy Logger.cpp-
    Code:
    #include "stdafx.h"
    #include "Classes and Functions.h"
    
    
    
    void thethread()
    {
    //my sig's here
    
    
    }
    
    BOOL APIENTRY DllMain( HMODULE hMod, DWORD dwReason, PVOID pvReserved )
    {
    	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);
    
    return true;
    
    }
    classes and functions.h-
    Code:
    #include <windows.h>
    #include <fstream>
    using namespace std;                                       //need for the logging func
    ofstream ofile;                                                  //need for the logging func
    char *GetDirectoryFile(char *filename);         //getdirfile for the logging func
    void thethread(); //the main function
    void __cdecl add_log (const char * fmt, ...); //the logging func
    char dlldir[320];
    
    
    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;
        }
    }
    
    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;
    }

    it has no hooking function might that be the problem?

    or detours?

  6. #5
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    You don't need any detours.

  7. #6
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    You fail C&P this Source.

  8. #7
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    You are probably trying to log the addresses before CShell has loaded.

  9. #8
    Wilds's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    522
    Reputation
    1
    Thanks
    170
    My Mood
    Relaxed
    rigghhttt okay sorry xb

    i'll try to log when it loads up

    and btw this is not really copy + past i got the functions from the tut and used my own code for the rest of it

  10. #9
    scimmyboy's Avatar
    Join Date
    Jan 2008
    Gender
    male
    Location
    https://mpgh.net MPGHCash: $442,596,199
    Posts
    5,645
    Reputation
    26
    Thanks
    896
    My Mood
    Happy
    Languages-
    C++ (Extremely experienced)
    Visual Basic (Extremely experienced)
    C# (some experience)

    interesting...

  11. #10
    Wilds's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    here
    Posts
    522
    Reputation
    1
    Thanks
    170
    My Mood
    Relaxed
    Quote Originally Posted by scimmyboy View Post
    Languages-
    C++ (Extremely experienced)
    Visual Basic (Extremely experienced)
    C# (some experience)

    interesting...
    an experienced person can't have an error once in a while??


    and i tried to log in when the game loads but no matter what i do the game will crash before hacksheild even pops up...

    it creates the log file, but nothing in it and then it crashes.

  12. #11
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Quote Originally Posted by wolffang0000 View Post
    an experienced person can't have an error once in a while??


    and i tried to log in when the game loads but no matter what i do the game will crash before hacksheild even pops up...

    it creates the log file, but nothing in it and then it crashes.
    Check if the CShell module is loaded before trying to log your addresses.
    Last edited by CodeDemon; 02-23-2011 at 02:27 PM.

  13. #12
    NOOB's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    3,843
    Reputation
    425
    Thanks
    8,616
    Current CA VIP Hacks-
    OPK-100%
    Tele-Kill-100%
    Aimbot-99.9%(waiting on addies + bytes)
    Superbullets-100%
    Weapon Range-100%
    Updated Beastmode-100%
    Real Glitch Key-80%
    New Semi-God Mode-100%
    Regenerate Health-100%
    Real Ghost Mode-70%
    Remote Kill-100%
    Server Crasher-100%
    Shit List Feature-45%
    bullshit.

  14. #13
    Fabolous's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    192.168.1.01
    Posts
    2,704
    Reputation
    261
    Thanks
    682
    My Mood
    Paranoid
    Quote Originally Posted by ᴺᴼᴼᴮ View Post


    bullshit.
    Congratulations your so smart for noticing that. Your IQ Raised from 90 to 200.

    <3

  15. #14
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Quote Originally Posted by ᴺᴼᴼᴮ View Post


    bullshit.
    No I can beleive it.

    all but 1 of those things is in mmbobs base :P

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  16. #15
    Fabolous's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    192.168.1.01
    Posts
    2,704
    Reputation
    261
    Thanks
    682
    My Mood
    Paranoid
    Why aren't you checking for Cshell?

Page 1 of 2 12 LastLast