Thumbs up[Source] Super-kill sem ASM

Posts 1–15 of 36 · Page 1 of 3
[Source] Super-kill sem ASM
Como vocês ficam sempre pedindo, senti pena e fiz o codigo do super-kill, na verdade uma base prontinha pra vocês que não esta dando Ban, a tecla que ativa é a NUMPAD0.

Não tem segredo nisso ai, é so compilar e injetar.

Code:
#define WINVER	_WIN32_WINNT_WINXP
#define _WIN32_WINNT	_WIN32_WINNT_WINXP
#define NTDDI_VERSION   NTDDI_WINXP
#define VC_EXTRALEAN
#define WIN32_LEAN_AND_MEAN

#ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#endif

#include <windows.h>
#include <stdio.h>
#include <psapi.h>

#pragma comment( lib, "psapi.lib" )

float	vDims[3];
bool	bActive = false, bOnce = true;

/****************************************************/
/* credits: fdsasdf
*****************************************************/
int CompareByteArray(PBYTE ByteArray1, PCHAR ByteArray2, PCHAR Mask, DWORD Length)
{
	DWORD nextStart = 0;
	char start = ByteArray2[0];
	for (DWORD i = 0; i < Length; i++)
	{
		if (Mask[i] == '?')
		{
			continue;
		}
		if (ByteArray1[i] == start)
		{
			nextStart = i;
		}
		if (ByteArray1[i] != (BYTE)ByteArray2[i])
		{
			return nextStart;
		}
	}
	return -1;
}

/****************************************************/
/* credits: fdsasdf
*****************************************************/
PBYTE FindPattern(LPVOID BaseAddress, DWORD ImageSize, PCHAR Signature, PCHAR Mask )
{
	PBYTE Address = NULL;
	PBYTE Buffer = (PBYTE) BaseAddress;
	 
	DWORD Length = strlen(Mask);
	 
	for (DWORD i = 0; i < (ImageSize - Length); i++)
	{
		int result = CompareByteArray((Buffer + i), Signature, Mask, Length);
		if (result < 0)
		{
			Address = ( PBYTE )BaseAddress + i;
			break;
		}
		else
		{
			i += result;
		}
	}
	 
	return Address;
}

DWORD WINAPI dwMainThread( LPVOID )
{
	while( !GetModuleHandleA( "ClientFX.fxd" ) )
		Sleep( 10 );

	MODULEINFO m_iCShell;
	GetModuleInformation( ( HANDLE )-1, GetModuleHandleA( "CShell.dll" ), &m_iCShell, sizeof( MODULEINFO ) );

	DWORD dwModelNode = reinterpret_cast< DWORD >( FindPattern( m_iCShell.lpBaseOfDll, m_iCShell.SizeOfImage, "\x8B\x0D\x00\x00\x00\x00\x50\xD9\x5C\x0F\x38", "xx????xxxxx" ) );

	if( dwModelNode )
	{
		dwModelNode			= *reinterpret_cast< DWORD *>( dwModelNode + 0x2 );
		DWORD dwModelNodePtr	= *reinterpret_cast< DWORD *>( dwModelNode );
		
		for( ;; )
		{
			if( GetAsyncKeyState( VK_NUMPAD0 ) & 1 )
				bActive = !bActive;

			if( dwModelNodePtr != NULL )
			{
				//Salva
				if( bOnce )
				{
					vDims[0] = *( float *)( dwModelNode + 0x38 );
					vDims[1] = *( float *)( dwModelNode + 0x3C );
					vDims[2] = *( float *)( dwModelNode + 0x40 );
					bOnce = false;
				};
				
				if( bActive )
				{
					*( float *)( dwModelNodePtr + 0x38 ) = 120.0f;
					*( float *)( dwModelNodePtr + 0x3C ) = 120.0f;
					*( float *)( dwModelNodePtr + 0x40 ) = 120.0f;
				}
				else
				{
					*( float *)( dwModelNodePtr + 0x38 ) = vDims[0];
					*( float *)( dwModelNodePtr + 0x3C ) = vDims[1];
					*( float *)( dwModelNodePtr + 0x40 ) = vDims[2];
				}
			}
			Sleep( 250 );
		}
	}

	return 0;
}

BOOL WINAPI DllMain( HMODULE hDll, DWORD dwReason, LPVOID )
{
	switch( dwReason )
	{
	case 1:
		CreateThread( 0, 0, dwMainThread, 0, 0, 0 );
		break;
	}
	return true;
}
Creditos?

luizimloko -> meu amigão BR que implementou e postou na mpgh.
kmanev073 -> meu amigão russo que inventou
o restante, se é que tem, está na base.

ahh outra coisinha, essa base vai "atualizar sozinha", então não se preocupem.
Hmmmm, interessante.
Alguém ainda vai reclamar que não entende...
Code:
if( bOnce )
{
	vDims[0] = *( float *)( dwModelNode + 0x38 );
	vDims[1] = *( float *)( dwModelNode + 0x3C );
	vDims[2] = *( float *)( dwModelNode + 0x40 );
	bOnce = false;
}; <-------


tirando isso, boa ricardinho's .
Só não entedir uma coisa. Que tecla é essa numpado? Como ficaria pra por F1?
KKKKKKKKKKKKKKKKKK

Code:
GetAsyncKeyState( VK_NUMPAD0 )
muda pra

Code:
GetAsyncKeyState( VK_F1 )
Quote Originally Posted by oXarutaoVolto View Post
KKKKKKKKKKKKKKKKKK

Code:
GetAsyncKeyState( VK_NUMPAD0 )
muda pra
Code:
GetAsyncKeyState( VK_F1 )
Ri n kkk sou novo.
Mano com aquela versão assembly do Luizin onde eu adiciono isso pra funcionar lá?
Eu nem faço backup para superkill... Tenho preguiça, coloco direto o valor 18.


Só para os copiadores de plantão saberem, A base não vai atualizar automaticamente o que vai atualizar são os endereços.
Ou seja logo vai detectar
Xaruto's BACK!
Quote Originally Posted by oXarutaoVolto View Post
Como vocês ficam sempre pedindo, senti pena e fiz o codigo do super-kill, na verdade uma base prontinha pra vocês que não esta dando Ban, a tecla que ativa é a NUMPAD0.

Não tem segredo nisso ai, é so compilar e injetar.

Code:
#define WINVER	_WIN32_WINNT_WINXP
#define _WIN32_WINNT	_WIN32_WINNT_WINXP
#define NTDDI_VERSION   NTDDI_WINXP
#define VC_EXTRALEAN
#define WIN32_LEAN_AND_MEAN

#ifdef _MSC_VER
#define _CRT_SECURE_NO_WARNINGS
#endif

#include <windows.h>
#include <stdio.h>
#include <psapi.h>

#pragma comment( lib, "psapi.lib" )

float	vDims[3];
bool	bActive = false, bOnce = true;

/****************************************************/
/* credits: fdsasdf
*****************************************************/
int CompareByteArray(PBYTE ByteArray1, PCHAR ByteArray2, PCHAR Mask, DWORD Length)
{
	DWORD nextStart = 0;
	char start = ByteArray2[0];
	for (DWORD i = 0; i < Length; i++)
	{
		if (Mask[i] == '?')
		{
			continue;
		}
		if (ByteArray1[i] == start)
		{
			nextStart = i;
		}
		if (ByteArray1[i] != (BYTE)ByteArray2[i])
		{
			return nextStart;
		}
	}
	return -1;
}

/****************************************************/
/* credits: fdsasdf
*****************************************************/
PBYTE FindPattern(LPVOID BaseAddress, DWORD ImageSize, PCHAR Signature, PCHAR Mask )
{
	PBYTE Address = NULL;
	PBYTE Buffer = (PBYTE) BaseAddress;
	 
	DWORD Length = strlen(Mask);
	 
	for (DWORD i = 0; i < (ImageSize - Length); i++)
	{
		int result = CompareByteArray((Buffer + i), Signature, Mask, Length);
		if (result < 0)
		{
			Address = ( PBYTE )BaseAddress + i;
			break;
		}
		else
		{
			i += result;
		}
	}
	 
	return Address;
}

DWORD WINAPI dwMainThread( LPVOID )
{
	while( !GetModuleHandleA( "ClientFX.fxd" ) )
		Sleep( 10 );

	MODULEINFO m_iCShell;
	GetModuleInformation( ( HANDLE )-1, GetModuleHandleA( "CShell.dll" ), &m_iCShell, sizeof( MODULEINFO ) );

	DWORD dwModelNode = reinterpret_cast< DWORD >( FindPattern( m_iCShell.lpBaseOfDll, m_iCShell.SizeOfImage, "\x8B\x0D\x00\x00\x00\x00\x50\xD9\x5C\x0F\x38", "xx????xxxxx" ) );

	if( dwModelNode )
	{
		dwModelNode			= *reinterpret_cast< DWORD *>( dwModelNode + 0x2 );
		DWORD dwModelNodePtr	= *reinterpret_cast< DWORD *>( dwModelNode );
		
		for( ;; )
		{
			if( GetAsyncKeyState( VK_NUMPAD0 ) & 1 )
				bActive = !bActive;

			if( dwModelNodePtr != NULL )
			{
				//Salva
				if( bOnce )
				{
					vDims[0] = *( float *)( dwModelNode + 0x38 );
					vDims[1] = *( float *)( dwModelNode + 0x3C );
					vDims[2] = *( float *)( dwModelNode + 0x40 );
					bOnce = false;
				};
				
				if( bActive )
				{
					*( float *)( dwModelNodePtr + 0x38 ) = 120.0f;
					*( float *)( dwModelNodePtr + 0x3C ) = 120.0f;
					*( float *)( dwModelNodePtr + 0x40 ) = 120.0f;
				}
				else
				{
					*( float *)( dwModelNodePtr + 0x38 ) = vDims[0];
					*( float *)( dwModelNodePtr + 0x3C ) = vDims[1];
					*( float *)( dwModelNodePtr + 0x40 ) = vDims[2];
				}
			}
			Sleep( 250 );
		}
	}

	return 0;
}

BOOL WINAPI DllMain( HMODULE hDll, DWORD dwReason, LPVOID )
{
	switch( dwReason )
	{
	case 1:
		CreateThread( 0, 0, dwMainThread, 0, 0, 0 );
		break;
	}
	return true;
}
Creditos?

luizimloko -> meu amigão BR que implementou e postou na mpgh.
kmanev073 -> meu amigão russo que inventou
o restante, se é que tem, está na base.

ahh outra coisinha, essa base vai "atualizar sozinha", então não se preocupem.
Aqui ta dando o seguinte erro na hora da compilação.
Alguem poderia me ajudar a solucionar ?

1>------ Build started: Project: superk, Configuration: Release Win32 ------
1> stdafx.cpp
1> dllmain.cpp
1> superk.cpp
1>superk.cpp(5): warning C4005: 'WINVER' : macro redefinition
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\SDKDDKVer.h(212) : see previous definition of 'WINVER'
1>superk.cpp(6): warning C4005: '_WIN32_WINNT' : macro redefinition
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\SDKDDKVer.h(197) : see previous definition of '_WIN32_WINNT'
1>superk.cpp(7): warning C4005: 'NTDDI_VERSION' : macro redefinition
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\SDKDDKVer.h(203) : see previous definition of 'NTDDI_VERSION'
1>superk.cpp(26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>superk.cpp(26): error C2365: 'MessageBoxA' : redefinition; previous definition was 'function'
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winuser.h(7512) : see declaration of 'MessageBoxA'
1>superk.cpp(26): error C2078: too many initializers
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Quote Originally Posted by almeydinha1 View Post
Aqui ta dando o seguinte erro na hora da compilação.
Alguem poderia me ajudar a solucionar ?

1>------ Build started: Project: superk, Configuration: Release Win32 ------
1> stdafx.cpp
1> dllmain.cpp
1> superk.cpp
1>superk.cpp(5): warning C4005: 'WINVER' : macro redefinition
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\SDKDDKVer.h(212) : see previous definition of 'WINVER'
1>superk.cpp(6): warning C4005: '_WIN32_WINNT' : macro redefinition
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\SDKDDKVer.h(197) : see previous definition of '_WIN32_WINNT'
1>superk.cpp(7): warning C4005: 'NTDDI_VERSION' : macro redefinition
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\SDKDDKVer.h(203) : see previous definition of 'NTDDI_VERSION'
1>superk.cpp(26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>superk.cpp(26): error C2365: 'MessageBoxA' : redefinition; previous definition was 'function'
1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winuser.h(7512) : see declaration of 'MessageBoxA'
1>superk.cpp(26): error C2078: too many initializers
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
mude para multi-byte.
Quote Originally Posted by oXarutaoVolto View Post
meu amigão russo que inventou
tem jeito mais fácil de fazer isso ai ein, posta a do zumbi também
Quote Originally Posted by Coder.Dash2 View Post
tem jeito mais fácil de fazer isso ai ein, posta a do zumbi também
E a culpa é minha ainda kk
Quote Originally Posted by 6ixth View Post


E a culpa é minha ainda kk
Num é você que é o amigo russo?
Quote Originally Posted by Coder.Dash2 View Post
Num é você que é o amigo russo?

RL = Russo Leonardo :v
To querendo aprender a fazer hack caso alguem queira me ensina meu skype e : jvdiamantino ja aprendi um pouco sobre mas to com duvidas sobre injector bypass e criação mas o basico de offset eu ja sei
Posts 1–15 of 36 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?