Thread: DLL injection

Results 1 to 4 of 4
  1. #1
    Lynie's Avatar
    Join Date
    Jun 2008
    Gender
    male
    Posts
    27
    Reputation
    10
    Thanks
    2

    DLL injection

    Hey, I'm about to use a DLL injection using this tutorial Dll Injection But it doesn't describe what I should do in the DLL. How do I let my DLL start a function after I injected it? So to make make my question more clearly. How should I code the DLL part?

  2. #2
    TmTgr's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Australia
    Posts
    20
    Reputation
    10
    Thanks
    4
    My Mood
    Twisted
    Im pretty new to C++, but i have made an injected hack for soldat.
    Basicly the startup point in a Dll is the DllMain function, so make one of those. This function should start a thread using CeateThread, that does the hacks.
    Also remeber that writing/reading values is done using pointers when making an injected hack hack.
    Heres an example from my soldat hack:
    Code:
    int* weaponsMenu = (int*)0x5aa5cd; //declare the pointer
    ...
    *weaponsMenu=1; //set it to 1

  3. #3
    Lynie's Avatar
    Join Date
    Jun 2008
    Gender
    male
    Posts
    27
    Reputation
    10
    Thanks
    2
    Thanks , helped me alot

  4. #4
    SavagePrawnBoy's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    1
    Create a hook thread m'kay?

    Code:
    BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserved )
    {
    	if( dwReason == DLL_PROCESS_ATTACH  )
    	{
    		CreateThread(0,0,dwCreateHook,0,0,0);
    	}
    	return TRUE;
    }
    Just an example.

Similar Threads

  1. [HELP] - DLL Injection
    By pelonzudo in forum C++/C Programming
    Replies: 1
    Last Post: 09-10-2008, 02:27 AM
  2. Crash at Dll inject
    By CyberStriker in forum WarRock - International Hacks
    Replies: 1
    Last Post: 08-13-2008, 06:51 AM
  3. [Help!] CA crash on dll inject
    By CyberStriker in forum Combat Arms Hacks & Cheats
    Replies: 9
    Last Post: 08-12-2008, 09:23 PM
  4. Inject dll.
    By heroes213 in forum WolfTeam General
    Replies: 6
    Last Post: 04-22-2008, 06:52 AM
  5. DLL injection Failled
    By aynal in forum WarRock - International Hacks
    Replies: 1
    Last Post: 01-15-2006, 09:41 PM

Tags for this Thread