Thumbs upShaiya Packeter.

Posts 19 of 9 · Page 1 of 1
Shaiya Packeter.
Hey guys.
I proudly release my shaiya packet tool to recieve and send packets from shaiya.
Usage:
1. Run the launcher of Shaiya.
2. Execute "injector.exe" in the RAR-archive attached.
3. Start the game.
The Source Code:
Code:
DWORD Address = 0;
DWORD ReturnAddress = 0;

bool ScanForAddress()
{
	DWORD Base = 0x00400000;
	DWORD SizeOfCode;

	DWORD i = Base;
	while ((memcmp((void *)i, "PE", 4)) && (i <= Base + 0x1000))
		i++;

	if (i <= Base + 0x1000)
		SizeOfCode = *(DWORD *)(i + 0x1C);

	BYTE Signature[] = {0x8B, 0xCB, 0x8B, 0xD1, 0xC1, 0xE9, 0x02, 0x8D, 0x43, 0x02,
						0x66, 0x89, 0x44, 0x24, 0x20};

	Address = dwFindPattern(Base + 0x1000, SizeOfCode, Signature, "xxxxxxxxxxxxxxx") - 0x38;
	ReturnAddress = Address + 6;

	if (Address)
		return true;
	else
		return false;
}

bool bDataCompare(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
    for(;*szMask;++szMask,++pData,++bMask)
        if(*szMask=='x' && *pData!=*bMask ) 
            return false;
    return (*szMask) == NULL;
}

DWORD dwFindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
    for(DWORD i=0; i < dwLen; i++)
        if( bDataCompare( (BYTE*)( dwAddress+i ),bMask,szMask) )
            return (DWORD)(dwAddress+i);  
    return 0;
}
Here's the code to detour the internal send function. After the detour is set, every time a packet is sent the function Detour() is called.
Code:
char *buf;
int len;

void __declspec(naked) Detour()
{
	__asm
	{
		pushad
		pushfd
		mov ebp, esp
		mov eax, [esp+0x28]
		mov buf, eax;
		mov eax, [esp+0x2C]
		mov len, eax;
	}

	//Here you can call a function which displays the packet.
	//buf is a pointer to the packet and len indicates the length of it.

	__asm
	{
		popfd
		popad
		push ebp
		mov ebp, esp
		and esp, 0xFFFFFFF8
		jmp ReturnAddress
	}
}

void SetDetour()
{
	do
	{
		ScanForAddress();
		Sleep(1);
	}
	while (!Address);

	DWORD temp;
	VirtualProtect((void *)Address, 5, PAGE_EXECUTE_READWRITE, &temp);
	*(BYTE *)(Address) = 0xE9;
	*(DWORD *)(Address + 1) = (DWORD)&Detour - Address - 5;
}
Here's the code to send a packet. I just call a function pointer to the internal send function.
Code:
void SendPacket(char *buf, int len)
{
	void (* InternalCall)(char *, int) = (void (__cdecl *)(char *,int)) Address;
	(* InternalCall)(buf, len);
}
I hope you enjoy! This is a really helpfull tool for peopol who want to make hacks troug packetediting

JottiVirusScan: link CA_CO'sPacketer.rar - Jotti's malware scan

Another virscan; link CA_CO'sPacketer.rar MD5:997f0b31378b06cfcab4742063915095 - VirSCAN.org 8% Scanner(s) (3/37) found malware!
CA_CO'sPacketer.rarattachment deleted · 235 downloads before removal
Looks good, //approved.
Thanks sir
You... Are good.
Come to the Maplestory section please.
Make us a hack.
Sure, Imma go to there tonight when im done with school.Thanks btw :$
Good job on the copy pasta.
U mad bro? I do my best thats something diffirent instead of you, Complaining against others their releases.. Hmm bro what did you do in here? being the yerk complaining and being the 4Post count leecher? You just cant have it that MPGH.net is baws.
Saying "u mad bro" like all the other kids does not make you cool. How about you give credit where credit is due. In fact, you are the leech here.
O really if you are so baws then release something yourselve instead of complaing here about my job. Useing some one's source is not wrong. And it sureley aint if there isnt even a COPYRIGHT on it. And i edited nearly everything as i sayd allready. Go raise your post count somewere else isntead of posting BS in here. Go back to --Removed by Sketchy- Since i've done alot of work on this. And just used a Basic source because i did not want to waste time on that but i wanted to get the shaiya section ACTIVE and builded on the Viper's basic source and edited nearly evrything. I can claim the rights. Now stop posting bs. and enjoy the hack or just shh.You aint cool neither btw huhh *cough*Cough*4Post count*Cough* Oops yhough this was the CA_CO'sMulti post xD Well just go away
Posts 19 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?