Nickname Hider

Posts 1–13 of 13 · Page 1 of 1
Nickname Hider
So one requested the source code and here I'm releasing it.

Code:
#include <windows.h>

void mainP()
{
	unsigned long address;

	// Could be injected earlier than expected

	do
	{
		address = (unsigned long)GetModuleHandle("AVA.exe");
		Sleep(100);//Not to overload the CPU
	} while(address == NULL);

	Beep(750, 300);
	
	address = address + 0x01BFC478;

	while(*(unsigned long*)address == NULL) Sleep(100);//Not to overload the CPU
	
	address = *(unsigned long*)address + 0x90;

	while(*(unsigned long*)address == NULL) Sleep(100);//Not to overload the CPU

	address = *(unsigned long*)address + 0x24;

	while(*(unsigned long*)address == NULL) Sleep(100);//Not to overload the CPU

	int x = wcslen((wchar_t*)address)-1;

	for(int i=0; i < x; i++)
	{
		*(wchar_t*)(address + 2*i) = 0;
	}
}

bool WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved)
{
	DisableThreadLibraryCalls(hDLLInst);

	if (fdwReason == DLL_PROCESS_ATTACH)
	{
		if (CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)mainP, NULL, 0, NULL) == NULL) // Creating a new thread in the process "AVA"
		{
			MessageBox(NULL, "Couldn't create a thread to execute within the virtual address space of the calling process.", "ERROR", MB_OK | MB_ICONERROR);
			return false;
		}
	}
	else if (fdwReason == DLL_PROCESS_DETACH)
	{
		// No need for anything here
		
	}
	
	return true;
}
Hm nice, but for my self, i use a different method for the pointer & offsetpart
Are there any for Injects?
Quote Originally Posted by zZzeta/S View Post
Hm nice, but for my self, i use a different method for the pointer & offsetpart
how i use in nickname hider? can you look me how to make this?
If you are nice enough, could you give me a tutorial how to do it your way?
where this work?, you can put tutorial?
you need to update your address, sir
All this hack does is change the nickname pointer to a couple rectangles.
Quote Originally Posted by Jabberwock View Post
So one requested the source code and here I'm releasing it.

Code:
#include <windows.h>

void mainP()
{
	unsigned long address;

	// Could be injected earlier than expected

	do
	{
		address = (unsigned long)GetModuleHandle("AVA.exe");
		Sleep(100);//Not to overload the CPU
	} while(address == NULL);

	Beep(750, 300);
	
	address = address + 0x01BFC478;

	while(*(unsigned long*)address == NULL) Sleep(100);//Not to overload the CPU
	
	address = *(unsigned long*)address + 0x90;

	while(*(unsigned long*)address == NULL) Sleep(100);//Not to overload the CPU

	address = *(unsigned long*)address + 0x24;

	while(*(unsigned long*)address == NULL) Sleep(100);//Not to overload the CPU

	int x = wcslen((wchar_t*)address)-1;

	for(int i=0; i < x; i++)
	{
		*(wchar_t*)(address + 2*i) = 0;
	}
}

bool WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved)
{
	DisableThreadLibraryCalls(hDLLInst);

	if (fdwReason == DLL_PROCESS_ATTACH)
	{
		if (CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)mainP, NULL, 0, NULL) == NULL) // Creating a new thread in the process "AVA"
		{
			MessageBox(NULL, "Couldn't create a thread to execute within the virtual address space of the calling process.", "ERROR", MB_OK | MB_ICONERROR);
			return false;
		}
	}
	else if (fdwReason == DLL_PROCESS_DETACH)
	{
		// No need for anything here
		
	}
	
	return true;
}
how does it work there? what program?
khay. tanx:=)
the code does not work theres a couple warnings with NULL however there is 1 "linked error" to "WinMain@16"

---------- Post added at 08:21 AM ---------- Previous post was at 08:20 AM ----------

any help? ......
Quote Originally Posted by PENl5 View Post
the code does not work theres a couple warnings with NULL however there is 1 "linked error" to "WinMain@16"

---------- Post added at 08:21 AM ---------- Previous post was at 08:20 AM ----------

any help? ......
This Nick name hider patched but you have to find the address then change the address in the source code then it will work
Nice work, Im new in this, how can you insert this c++ code in CE? or just work in .dll inyector?
Maybe you can do a tutorial with this explanaition XD.

Thks
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us