xigncode3.txt

(1 KB) Pobierz
About:
This code can execute your own code without detection since XIGNCODE hasn't yet loaded. I only tested it on one game with heartbeat and it worked, looking forward to seeing other people's results on other games.

Instructions:
- Go into the XIGNCODE root folder.
- Rename "x3.xem" to "x3.dummy".
- Enter the code you want under the DllMain.
- Compile the DLL with the code provided down bellow under the name "x3.dll".
- Rename "x3.dll" to "x3.xem" and put it into the XIGNCODE root folder.
- Start your game and the code should be executed and not be detected.

Credits:
- K1raCoxx

Code:
#include <cstdint>
#include <string>
#include <windows.h>
 
typedef int32_t(__stdcall *t_x3_Dispatch)(OUT void *Function, IN uint32_t Type);
static t_x3_Dispatch o_x3_Dispatch = nullptr;
 
void __stdcall DllMain(){
	MessageBoxA(0, "XIGNCODE3 ded", "kek", 0);
        //You put your code here
}
 
__declspec(dllexport) int32_t __stdcall x3_1(void *FunctionAddress, uint32_t Type){
	if (o_x3_Dispatch == nullptr){
		std::string ModulePath;
		ModulePath.resize(MAX_PATH);
		if (!GetModuleFileNameA(NULL, const_cast<LPSTR>(ModulePath.data()), MAX_PATH)){
			MessageBoxA(0, "GetModuleFileNameA failed!", "Error", 0);
			return 80000000;
		}
		std::string xignf = ModulePath.substr(0, ModulePath.find_last_of(""));
		xignf += "\\XIGNCODE\\x3.dummy";
		HMODULE hX3 = LoadLibraryW(xignf.c_str());
		if (hX3 == nullptr){
			MessageBoxA(0, "LoadLibraryA failed!", "Error", 0);
			return 80000000;
		}
		o_x3_Dispatch = reinterpret_cast<t_x3_Dispatch>(GetProcAddress(hX3, reinterpret_cast<LPCSTR>(1)));
		if (o_x3_Dispatch == nullptr){
			MessageBoxA(0, "GetProcAddress failed!", "Error", 0);
			return X3_NOT_INITIALIZED;
		}
 
		DllMain();
	}
	return o_x3_Dispatch(FunctionAddress, Type);
}
Zgłoś jeśli naruszono regulamin