CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: WoodyWool

Search: Search took 0.03 seconds.

  1. Re: [Help/Advice needed]Program crashes when code is injected

    From what I've learnt so far, I guess it is to start the preparation of the DLL execution by loading the CALLBACK function declared in my DLL.

    I took a few days break to try and understand what...
  2. Re: [Help/Advice needed]Program crashes when code is injected

    Well, okay.

    1. Initialize the DLL function via LoadLibrary & GetProcAddress.
    2. Get the handle of the remote process.
    3. Allocate memory space for the DLL codes to be executed in there via...
  3. Re: [Help/Advice needed]Program crashes when code is injected

    What I really want is a really simple DLL injector that injects a DLL into a remote process(any process, notepad.exe, explorer.exe, cmd.exe), using CreateRemoteThread(). In other words, copying the...
  4. Re: [Help/Advice needed]Program crashes when code is injected

    typedef struct MyData {

    } MYDATA, *PMYDATA;

    int main(int argc, char * argv[])
    {
    // enable debugging privileges
    enableDebugPriv();
    // Retrieve process ID
    //DWORD pID =...
  5. Re: [Help/Advice needed]Program crashes when code is injected

    Thanks for the reply and pardon me for the late reply, been away for 2days.



    Are you referring to the method VirtualAllocEx or WriteProcessMemory?

    If its VirtualAllocEx, I thought I'm...
  6. Re: [Help/Advice needed]Program crashes when code is injected

    I tried changing to

    char dll_data_name[MAX_PATH];

    But the remote process still crashes. Btw i'm running it in xp and win7. Either OS will still crash the process.


    I'm not quite sure...
  7. [Help/Advice needed]Program crashes when code is injected

    Hi,

    I have been trying awhile for weeks to do dll injection. Found several ways such as CreateRemoteThread(), SetWindowsHookEx() and Code Cave method. Currently working on CreateRemoteThread(), I...
Results 1 to 7 of 7





Click Here to Expand Forum to Full Width

Featured