• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Page 1 of 2 12 LastLast
    Results 1 to 10 of 11
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      KR4N3N64's Avatar
      Join Date
      Oct 2012
      Posts
      9
      Thanks (-->)
      0
      Thanks (<--)
      0

      Two questions/problems about tutorials

      Silent VPN
      Hi all, the tutorials are awesome! but i have some problems..

      1. I have made a dll for a game, but when i run the dll injector and the dll is injected successfuly, the game crashes and i dont know why?¿. I think my dll's code is the same that the Fleep's project. If i copy some codes of my project to Fleep's project, the dll works but i dont know why doesn't work my dll. Have you modified some project properties?

      2. When i run the dll injector from debugger, it works fine!, but if i run the dll injector from the .exe file, it doesn't work for me.. why?

      Sorry for my bad english...
      Last edited by KR4N3N64; 10-04-2012 at 11:10 AM.

    2. #2
      Coder
      v-v
       
      Lurking
       
      Styx™'s Avatar
      Join Date
      Aug 2012
      Posts
      118
      Thanks (-->)
      1
      Thanks (<--)
      27
      what injector is it

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      KR4N3N64's Avatar
      Join Date
      Oct 2012
      Posts
      9
      Thanks (-->)
      0
      Thanks (<--)
      0
      The DLL injector is from Fleep's tutorials

    4. #4
      Coder
      v-v
       
      Lurking
       
      Styx™'s Avatar
      Join Date
      Aug 2012
      Posts
      118
      Thanks (-->)
      1
      Thanks (<--)
      27
      Quote Originally Posted by KR4N3N64 View Post
      The DLL injector is from Fleep's tutorials
      Can you post the source

    5. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      KR4N3N64's Avatar
      Join Date
      Oct 2012
      Posts
      9
      Thanks (-->)
      0
      Thanks (<--)
      0
      Code:
      #include <iostream>
      #include <Windows.h>
      #include <TlHelp32.h>
      
      using namespace std;
      bool InjectDLL(DWORD ProcessId);
      
      char FileToInject[] = "ACubeDLL.dll";
      char ProcessName[] = "ac_client.exe";
      typedef HINSTANCE (*fpLoadLibrary)(char*);
      
      
      int main()
      {
      	DWORD processId = NULL;
      
      	PROCESSENTRY32 pe32 = {sizeof(PROCESSENTRY32)};
      	HANDLE hProcSnap;
      
      
      	while(!processId)
      	{
      		SetConsoleTitle("DLL Injector - Assault Cube");
      		system("cls");
      		cout << "Searching for" << ProcessName << "...." << endl;
      		cout << "Make sure your game is running" << endl;
      		hProcSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0);
      
      		if(Process32First(hProcSnap, &pe32))
      		{
      			do
      			{
      				if(!strcmp(pe32.szExeFile, ProcessName))
      				{
      					processId = pe32.th32ProcessID;
      					break;
      				}
      			}
      			while(Process32Next(hProcSnap, &pe32));
      		}
      		Sleep(1000);
      	}
      
      
      	while(!InjectDLL(processId))
      	{
      		SetConsoleTitle("DLL Injector - Assault Cube");
      		system("CLS");
      		cout << "DLL failed to inject" << endl;
      		Sleep(1000);
      	}
      
      	cout << "DLL Injected successfuly!" << endl << endl;
      	cout << "Closing Injector in 5 seconds" << endl;
      
      	CloseHandle(hProcSnap);
      	Sleep(5000);
      	return 0;
      
      }
      
      
      bool InjectDLL(DWORD ProcessID)
      {
      	HANDLE hProc;
      	LPVOID paramAddr;
      
      	HINSTANCE hDLL = LoadLibrary("KERNEL32.lib");
      
      	fpLoadLibrary LoadLibraryAddr = (fpLoadLibrary)GetProcAddress(hDLL, "LoadLibraryA");
      
      	hProc = OpenProcess(PROCESS_ALL_ACCESS, false, ProcessID);
      
      	char dllPath[250] = "C:\\HACKS\\";
      
      	strcat(dllPath, FileToInject);
      
      	paramAddr = VirtualAllocEx(hProc, 0, strlen(dllPath)+1, MEM_COMMIT, PAGE_READWRITE);
      	bool memoryWritten = WriteProcessMemory(hProc, paramAddr, dllPath, strlen(dllPath)+1, NULL);
      
      	CreateRemoteThread(hProc, 0, 0, (LPTHREAD_START_ROUTINE)LoadLibraryAddr, paramAddr, 0, 0);
      
      	CloseHandle(hProc);
      	return memoryWritten;
      
      }

    6. #6
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Tirade's Avatar
      Join Date
      Oct 2012
      Posts
      3
      Thanks (-->)
      0
      Thanks (<--)
      1
      is that your problem?
      Code:
      C:\\HACKS\\
      , shouldn't it be
      Code:
      C:\HACKS\

    7. #7
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      KR4N3N64's Avatar
      Join Date
      Oct 2012
      Posts
      9
      Thanks (-->)
      0
      Thanks (<--)
      0
      it doesn't work

    8. #8
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Tirade's Avatar
      Join Date
      Oct 2012
      Posts
      3
      Thanks (-->)
      0
      Thanks (<--)
      1
      what game is it for? Try running the game in compatibility mode for windows xp SP2, then try it on Vista and inject your .dll

    9. #9
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      KR4N3N64's Avatar
      Join Date
      Oct 2012
      Posts
      9
      Thanks (-->)
      0
      Thanks (<--)
      0
      It is for Assault Cube. I have Windows XP SP2 xD

    10. #10
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      KR4N3N64's Avatar
      Join Date
      Oct 2012
      Posts
      9
      Thanks (-->)
      0
      Thanks (<--)
      0
      Silent VPN
      Help?? When i inject dll, the game crashes..

    Page 1 of 2 12 LastLast

    Similar Game Hacker Threads

    1. [Help] IDA Problems
      By PwndDepot in forum Hacking Help
      Replies: 3
      Last Post: 04-19-2016, 12:46 PM
    2. [Help] Which Tutorials should I start?
      By small in forum GH Tutorials Help
      Replies: 7
      Last Post: 07-12-2014, 05:30 AM
    3. Hack Questions/Problems!!!!!
      By Xerozus in forum Hacking Help
      Replies: 7
      Last Post: 12-13-2013, 12:33 PM
    4. CSS problems
      By Anomxus in forum Hacking Help
      Replies: 13
      Last Post: 09-19-2013, 03:45 PM