Solved exe dll starter

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

hexenos

Banned
Silenced
Sep 17, 2014
11
133
0
Hello, can somebody make for me / teach me how to make dll starter in .exe Somethink like Valledal.exe run Valledal.dll
 

hexenos

Banned
Silenced
Sep 17, 2014
11
133
0
I make hack in dll and i want make .exe file to inject .dll to process hl.exe
 

hexenos

Banned
Silenced
Sep 17, 2014
11
133
0
Okay i made id but stopped on Looking for hl.exe and dont inject dll to game :x
Full Code :

C++:
#include <iostream>
#include <Windows.h>
#include <TlHelp32.h>

using namespace std;
bool InjectDLL(DWORD ProcessId);

char FileToInject[] = "Valledal.dll";
char ProcessName[] = "hl.exe";
typedef HINSTANCE (*fpLoadLibrary)(char*);

int main()
{
	DWORD processId = NULL;

	PROCESSENTRY32 pe32 = {sizeof(PROCESSENTRY32)};
	HANDLE hProcSnap;

	while(!processId)
	{
		system("CLS");
		cout << "Valledal v1.0 by Hexen" <<endl;
		cout << "Looking For "  << ProcessName <<" ..." <<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));
	{

		system("CLS");
		cout << "Valledal Failed Injected" <<endl;
		Sleep(1000);
	}

	cout << "Valledal Injected Successyfully !!!" << endl << endl;
	cout << "Valledal Injector Closing in 5 seconds" << endl;

	CloseHandle(hProcSnap);
	Sleep(5000);

	return 0;
}
bool InjectDLL(DWORD ProcessID)
{
	HANDLE hProc;
	LPVOID paramAddr;

	HINSTANCE hDll = LoadLibrary("KERNEL32");

	fpLoadLibrary LoadLibraryAddr = (fpLoadLibrary)GetProcAddress(hDll, "LoadLibraryA");

	hProc = OpenProcess (PROCESS_ALL_ACCESS, false, ProcessID);

	char dllPath[255] = "D:\\Valledal\\Valledal.dll";

	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 0;
}
 

Cryslacks

<>>>
Dank Tier Donator
Nobleman
Dec 10, 2013
132
1,198
8
i think the name is hl2.exe
Yeah I have only seen the process "hl.exe" in cs 1.6, but if that game is old it could be a high risk that its using that process.
Just start the game and open taskmanager and then you will get the right process name.
 
Last edited:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods