X-Trap detect

Posts 115 of 25 · Page 1 of 2
X-Trap detect
When i test , X-Trap detect '-'
Code:
#include "stdafx.h"
#include<windows.h>

#define WeaponMgr       0xA2A7E8
#define NoReload        0x2424
#define WeaponDamage    0x7F8


DWORD WINAPI Hacks(LPVOID)
{
    bool onehit = false,
         reload = false,
         fragdmg = false;

    while(1)
    {
        DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
	DWORD pWeaponMgr = *(DWORD*)(CShell + 0xA2A7E8);

	//hotkeys toggle + beep sounds
	if(GetAsyncKeyState(VK_F9)  || GetAsyncKeyState(VK_NUMPAD0) &1) { onehit = true; Beep(512, 100); }
	if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
	if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_NUMPAD2) &1) { fragdmg = true; Beep(512, 100); }

	//one hit kill
	if(0x7F8)
	{
	    if (pWeaponMgr)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + 0x7F8) = 9999;
		}
	    }
	}

	//no reload
	if(0x2424)
	{
	    if (pWeaponMgr)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + 0x2424) = 100;
		}
	    }
	}

	Sleep(100);
    }
}

bool Ready2Hook()
{
    if(GetModuleHandleA("CShell.dll")   != NULL
    && GetModuleHandleA("ClientFx.fxd") != NULL)
        return 1;
    return 0;
}

DWORD WINAPI Wait(LPVOID)
{
    while(!Ready2Hook()) Sleep(200);
	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
    DisableThreadLibraryCalls(hDll);
    
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
	 MessageBoxA(0, "Made by PrimeLove and SwiftDude and others =D","Prime PUB V1 NA", 0);

	CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
    }
    return 1;
}
Xtrap updated on 10/10 i think
it is now detecting DllMain
use bypassxtrap
Quote Originally Posted by giniyat202 View Post
Xtrap updated on 10/10 i think
it is now detecting DllMain
use bypassxtrap
:|??

impassable!
Quote Originally Posted by giniyat202 View Post
Xtrap updated on 10/10 i think
it is now detecting DllMain
use bypassxtrap
And CShell doesnt have DllMain
I have no idea. Swiftdude's base usually works wonders...
Quote Originally Posted by Solo View Post
I have no idea. Swiftdude's base usually works wonders...
look at my post
Quote Originally Posted by giniyat202 View Post
look at my post
Xtrap updated??? AWW HELLL NAW!
lol my dll didnt get found by Xtrap
(No swift way :O)
Xtrap its detect because you use a easy base.
MPGH: Hard base(The best base)
***....:Hard base
Unreal....:Hard Base
You need a make a Super profeccional hack base.
And stop leetch please.
you can't use 2 createthread function , only use 1 createthread function

#include "stdafx.h"
#include<windows.h>

#define WeaponMgr 0xA2A7E8
#define NoReload 0x2424
#define WeaponDamage 0x7F8


DWORD WINAPI Hacks(LPVOID)
{
bool onehit = false,
reload = false,
fragdmg = false;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + 0xA2A7E8);

//hotkeys toggle + beep sounds
if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_NUMPAD0) &1) { onehit = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_NUMPAD2) &1) { fragdmg = true; Beep(512, 100); }

//one hit kill
if(0x7F8)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x7F8) = 9999;
}
}
}

//no reload
if(0x2424)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x2424) = 100;
}
}
}

Sleep(100);
}
}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
bool onehit = false,
reload = false,
fragdmg = false;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + 0xA2A7E8);

//hotkeys toggle + beep sounds
if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_NUMPAD0) &1) { onehit = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_NUMPAD2) &1) { fragdmg = true; Beep(512, 100); }

//one hit kill
if(0x7F8)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x7F8) = 9999;
}
}
}

//no reload
if(0x2424)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x2424) = 100;
}
}
}

Sleep(100);
}

return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "Made by PrimeLove and SwiftDude and others =D","Prime PUB V1 NA", 0);

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}



now , your source code i fixed
Quote Originally Posted by acquybietyeu View Post
you can't use 2 createthread function , only use 1 createthread function

#include "stdafx.h"
#include<windows.h>

#define WeaponMgr 0xA2A7E8
#define NoReload 0x2424
#define WeaponDamage 0x7F8


DWORD WINAPI Hacks(LPVOID)
{
bool onehit = false,
reload = false,
fragdmg = false;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + 0xA2A7E8);

//hotkeys toggle + beep sounds
if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_NUMPAD0) &1) { onehit = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_NUMPAD2) &1) { fragdmg = true; Beep(512, 100); }

//one hit kill
if(0x7F8)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x7F8) = 9999;
}
}
}

//no reload
if(0x2424)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x2424) = 100;
}
}
}

Sleep(100);
}
}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
bool onehit = false,
reload = false,
fragdmg = false;

while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + 0xA2A7E8);

//hotkeys toggle + beep sounds
if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_NUMPAD0) &1) { onehit = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_NUMPAD2) &1) { fragdmg = true; Beep(512, 100); }

//one hit kill
if(0x7F8)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x7F8) = 9999;
}
}
}

//no reload
if(0x2424)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+ (4*i))) + 0x2424) = 100;
}
}
}

Sleep(100);
}

return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "Made by PrimeLove and SwiftDude and others =D","Prime PUB V1 NA", 0);

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}



now , your source code i fixed
i always make my hacks with one CreateThread only but it is now detected
so CreateThread is not the problem
Hack
Can someone get me a base hack undetected? i will give credits !

When i use XTrapBypass my hack doesn't work ://

Ps. Sry for my bad english i'm brazilian.
Quote Originally Posted by PrimeLove. View Post
Can someone get me a base hack undetected? i will give credits !

When i use XTrapBypass my hack doesn't work ://

Ps. Sry for my bad english i'm brazilian.
If your hack doesn't work if you use a bypass, it isn't detected.

Why do you use if(0x7F8)
It's true but you don't need this
hmm ok , i'm try again.

---------
X-Trap Ever detect "/

Code:
#include "stdafx.h"
#include<windows.h>

#define WeaponMgr       0xA2A7E8
#define NoReload        0x2424
#define WeaponDamage    0x7F8


DWORD WINAPI Hacks(LPVOID)
{
    bool onehit = false,
         reload = false,
         fragdmg = false;

    while(1)
    {
        DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll");
	DWORD pWeaponMgr = *(DWORD*)(CShell + 0xA2A7E8);

	//hotkeys toggle + beep sounds
	if(GetAsyncKeyState(VK_F9)  || GetAsyncKeyState(VK_NUMPAD0) &1) { onehit = true; Beep(512, 100); }
	if(GetAsyncKeyState(VK_F10) || GetAsyncKeyState(VK_NUMPAD1) &1) { reload = true; Beep(512, 100); }
	if(GetAsyncKeyState(VK_F11) || GetAsyncKeyState(VK_NUMPAD2) &1) { fragdmg = true; Beep(512, 100); }

	//one hit kill
	if(onehit)
	{
	    if (pWeaponMgr)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + 0x7F8) = 9999;
		}
	    }
	}

	//no reload
	if(reload)
	{
	    if (pWeaponMgr)
	    {
	        for(int i=0; i<445; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i))) + 0x2424) = 100;
		}
	    }
	}

	Sleep(100);
    }
}

bool Ready2Hook()
{
    if(GetModuleHandleA("CShell.dll")   != NULL
    && GetModuleHandleA("ClientFx.fxd") != NULL)
        return 1;
    return 0;
}

DWORD WINAPI Wait(LPVOID)
{
    while(!Ready2Hook()) Sleep(200);
	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
    DisableThreadLibraryCalls(hDll);
    
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
	 MessageBoxA(0, "Made by PrimeLove and SwiftDude and others =D","Prime PUB V1 NA", 0);

	CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
    }
    return 1;
}
What's wrong if this code ? OMG , i use PerX [CN] Injector
Now all hack work with xtrapbypass...Use bypass and this hack work
Posts 115 of 25 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?