How to create an undetected dll
Here is the guide to create an undetected dll for anygame
First, you need Visual Studio, can download it on microsoft.com
Open VS, create new project win32, empty dll
How to use code?
Need include library, we have 2 major libraries
#include <windows.h>
#include <stdio.h>
Now start:
Put your function like writeprocessmemory, readprocessmemry, faster use DWORD, BYTE, FLOAT
Make a void function
Void YourThread()
{
while(1)
{
Sleep(10);
}
}
In that, you need put a while to access memory.
while(1)
{
Sleep(10);
}
A sleep can make your game not lag
Last Step Create dll main
BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
{
DisableThreadLibraryCalls(hinstDLL);
if(dwReason == DLL_PROCESS_ATTACH)
{
//CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE) YourThread, 0, NULL, NULL);
}
return true;
}
Congratulation on creating tool :D
You can use VB6 to make a injector
First, you need Visual Studio, can download it on microsoft.com
Open VS, create new project win32, empty dll
How to use code?
Need include library, we have 2 major libraries
#include <windows.h>
#include <stdio.h>
Now start:
Put your function like writeprocessmemory, readprocessmemry, faster use DWORD, BYTE, FLOAT
Make a void function
Void YourThread()
{
while(1)
{
Sleep(10);
}
}
In that, you need put a while to access memory.
while(1)
{
Sleep(10);
}
A sleep can make your game not lag
Last Step Create dll main
BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
{
DisableThreadLibraryCalls(hinstDLL);
if(dwReason == DLL_PROCESS_ATTACH)
{
//CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE) YourThread, 0, NULL, NULL);
}
return true;
}
Congratulation on creating tool :D
You can use VB6 to make a injector
0 comments: