FastKnife hack please help me

Posts 1–15 of 21 · Page 1 of 2
FastKnife hack please help me
I am making fast knife hack.

Is this the right code?
Code:
#include "main.h"

void FastKnife()
{
    DWORD CShell = NULL;
    do
    {
        CShell = (DWORD)GetModuleHandle("CShell.dll");
        Sleep(100);
    } while(CShell == NULL);

    while (1)
	{
		for(int i=0; i<445; i++)
		{
			if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i)) ) != NULL)
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8)) +(4*i))) + 0x4) = 100.0f;
		}
		Sleep(100);
	}
}

extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
    if(fdwReason == DLL_PROCESS_ATTACH)
    {
        // Start Hack :P
        MessageBox(NULL, "Fast Knife crossfire hack by _corn_\nMade for mpgh.net", "Injected Successfully!", MB_OK);
        CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)FastKnife, NULL, NULL, NULL);
    }
    return 1;
}
If you are not going to help me, please do not post. Comments like these are not wanted:
What language is that?
Learn c++ (I already know c++ of course)

or any other comments that do not help me in any way.
Still waiting
I am still waiting for a reply.........................
I am going through it, I don't see any visual errors. should work =P try it?
Good luck on finding the source code, maybe check some other sites as well as MPGH .
But MPGH FTW
Quote Originally Posted by snownova View Post
I am going through it, I don't see any visual errors. should work =P try it?
I have tried it but it doesnt work. It compiles, but doesn't work.
Can you check the addresses/addies etc.

Quote Originally Posted by Mr-[S]nipe View Post
Good luck on finding the source code, maybe check some other sites as well as MPGH .
But MPGH FTW
lol are you trying to get 1000 posts? you are posting everywhere lol! keep it up
Quote Originally Posted by _corn_ View Post
I am making fast knife hack.

Is this the right code?
Code:
#include "main.h"

void FastKnife()
{
    DWORD CShell = NULL;
    do
    {
        CShell = (DWORD)GetModuleHandle("CShell.dll");
        Sleep(100);
    } while(CShell == NULL);

    while (1)
	{
		for(int i=0; i<445; i++)
		{
			if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i)) ) != NULL)
				*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8)) +(4*i))) + 0x4) = 100.0f;
		}
		Sleep(100);
	}
}

extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
    if(fdwReason == DLL_PROCESS_ATTACH)
    {
        // Start Hack :P
        MessageBox(NULL, "Fast Knife crossfire hack by _corn_\nMade for mpgh.net", "Injected Successfully!", MB_OK);
        CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)FastKnife, NULL, NULL, NULL);
    }
    return 1;
}
If you are not going to help me, please do not post. Comments like these are not wanted:
What language is that?
Learn c++ (I already know c++ of course)

or any other comments that do not help me in any way.

i think the addy is wrong ?
yes is that wrong addy
lol 0x4 totally wrong !
Quote Originally Posted by PrimeLove. View Post
lol 0x4 totally wrong !
Is the 0x4 the only wrong bit?
i dont know i think not `?
Lool where the hell did u get 0x4 . Use OllyDbg to search for them. You should first publish a few simple hacks, dont go straight to publishing complicated hacks.
Quote Originally Posted by [[SeXergy]] View Post
Lool where the hell did u get 0x4 . Use OllyDbg to search for them. You should first publish a few simple hacks, dont go straight to publishing complicated hacks.
I got 0x4 from Ihaxyu's addy list.

Code:
1012A241   68 08512D10      PUSH CShell.102D5108                     ; ASCII "KnifeNormalAniRate"
1012A246   50               PUSH EAX
1012A247   E8 44B21600      CALL CShell.10295490
1012A24C   8BE8             MOV EBP,EAX
1012A24E   83C4 08          ADD ESP,8
1012A251   85ED             TEST EBP,EBP
1012A253   0F84 64000000    JE CShell.1012A2BD
1012A259   BF 01000000      MOV EDI,1
1012A25E   397D 00          CMP DWORD PTR SS:[EBP],EDI
1012A261   76 5A            JBE SHORT CShell.1012A2BD
1012A263   8B4D 04          MOV ECX,DWORD PTR SS:[EBP+4]
1012A266   8B14B9           MOV EDX,DWORD PTR DS:[ECX+EDI*4]
1012A269   8B42 04          MOV EAX,DWORD PTR DS:[EDX+4]
1012A26C   894424 10        MOV DWORD PTR SS:[ESP+10],EAX
1012A270   A1 E8A7A210      MOV EAX,DWORD PTR DS:[10A2A7E8]
1012A275   85C0             TEST EAX,EAX
1012A277   74 0F            JE SHORT CShell.1012A288
1012A279   8B0D ECA7A210    MOV ECX,DWORD PTR DS:[10A2A7EC]
1012A27F   2BC8             SUB ECX,EAX
1012A281   C1F9 02          SAR ECX,2
1012A284   3BF1             CMP ESI,ECX
1012A286   72 0B            JB SHORT CShell.1012A293
1012A288   90               NOP
1012A289   E8 06E8485F      CALL MSVCR80._invalid_parameter_noinfo
1012A28E   A1 E8A7A210      MOV EAX,DWORD PTR DS:[10A2A7E8]
1012A293   8B4C24 10        MOV ECX,DWORD PTR SS:[ESP+10]
1012A297   51               PUSH ECX
1012A298   8D1CB0           LEA EBX,DWORD PTR DS:[EAX+ESI*4]
1012A29B   90               NOP
1012A29C   E8 D47A4A5F      CALL MSVCR80.atof
1012A2A1   D95C24 14        FSTP DWORD PTR SS:[ESP+14]
1012A2A5   D94424 14        FLD DWORD PTR SS:[ESP+14]
1012A2A9   8B13             MOV EDX,DWORD PTR DS:[EBX]
1012A2AB   D99CBA A8240000  FSTP DWORD PTR DS:[EDX+EDI*4+24A8]
1012A2B2   83C7 01          ADD EDI,1
1012A2B5   83C4 04          ADD ESP,4
1012A2B8   3B7D 00          CMP EDI,DWORD PTR SS:[EBP]
1012A2BB  ^72 A6            JB SHORT CShell.1012A263
1012A2BD   8B4424 14        MOV EAX,DWORD PTR SS:[ESP+14]
See the +4 that I put in Red? Is that where you are meant to get it from?
Quote Originally Posted by _corn_ View Post
I got 0x4 from Ihaxyu's addy list.

Code:
1012A241   68 08512D10      PUSH CShell.102D5108                     ; ASCII "KnifeNormalAniRate"
1012A246   50               PUSH EAX
1012A247   E8 44B21600      CALL CShell.10295490
1012A24C   8BE8             MOV EBP,EAX
1012A24E   83C4 08          ADD ESP,8
1012A251   85ED             TEST EBP,EBP
1012A253   0F84 64000000    JE CShell.1012A2BD
1012A259   BF 01000000      MOV EDI,1
1012A25E   397D 00          CMP DWORD PTR SS:[EBP],EDI
1012A261   76 5A            JBE SHORT CShell.1012A2BD
1012A263   8B4D 04          MOV ECX,DWORD PTR SS:[EBP+4]
1012A266   8B14B9           MOV EDX,DWORD PTR DS:[ECX+EDI*4]
1012A269   8B42 04          MOV EAX,DWORD PTR DS:[EDX+4]
1012A26C   894424 10        MOV DWORD PTR SS:[ESP+10],EAX
1012A270   A1 E8A7A210      MOV EAX,DWORD PTR DS:[10A2A7E8]
1012A275   85C0             TEST EAX,EAX
1012A277   74 0F            JE SHORT CShell.1012A288
1012A279   8B0D ECA7A210    MOV ECX,DWORD PTR DS:[10A2A7EC]
1012A27F   2BC8             SUB ECX,EAX
1012A281   C1F9 02          SAR ECX,2
1012A284   3BF1             CMP ESI,ECX
1012A286   72 0B            JB SHORT CShell.1012A293
1012A288   90               NOP
1012A289   E8 06E8485F      CALL MSVCR80._invalid_parameter_noinfo
1012A28E   A1 E8A7A210      MOV EAX,DWORD PTR DS:[10A2A7E8]
1012A293   8B4C24 10        MOV ECX,DWORD PTR SS:[ESP+10]
1012A297   51               PUSH ECX
1012A298   8D1CB0           LEA EBX,DWORD PTR DS:[EAX+ESI*4]
1012A29B   90               NOP
1012A29C   E8 D47A4A5F      CALL MSVCR80.atof
1012A2A1   D95C24 14        FSTP DWORD PTR SS:[ESP+14]
1012A2A5   D94424 14        FLD DWORD PTR SS:[ESP+14]
1012A2A9   8B13             MOV EDX,DWORD PTR DS:[EBX]
1012A2AB   D99CBA A8240000  FSTP DWORD PTR DS:[EDX+EDI*4+24A8]
1012A2B2   83C7 01          ADD EDI,1
1012A2B5   83C4 04          ADD ESP,4
1012A2B8   3B7D 00          CMP EDI,DWORD PTR SS:[EBP]
1012A2BB  ^72 A6            JB SHORT CShell.1012A263
1012A2BD   8B4424 14        MOV EAX,DWORD PTR SS:[ESP+14]
See the +4 that I put in Red? Is that where you are meant to get it from?

LOOL.. ///Find your own addys it is much easier and you will know that they are right. Search for text strings. ///And also, you will not get any source from MPGH.
Quote Originally Posted by [[SeXergy]] View Post
///And also, you will not get any source from MPGH.
I don't want the full source to copy and paste... and all I have to to is click build. I want someone to help me, tell me where im going wrong, tell me how to do it right.

Quote Originally Posted by [[SeXergy]] View Post
LOOL.. ///Find your own addys it is much easier and you will know that they are right.
ok thanks i will
Quote Originally Posted by _corn_ View Post
I got 0x4 from Ihaxyu's addy list.

Code:
1012A241   68 08512D10      PUSH CShell.102D5108                     ; ASCII "KnifeNormalAniRate"
1012A246   50               PUSH EAX
1012A247   E8 44B21600      CALL CShell.10295490
1012A24C   8BE8             MOV EBP,EAX
1012A24E   83C4 08          ADD ESP,8
1012A251   85ED             TEST EBP,EBP
1012A253   0F84 64000000    JE CShell.1012A2BD
1012A259   BF 01000000      MOV EDI,1
1012A25E   397D 00          CMP DWORD PTR SS:[EBP],EDI
1012A261   76 5A            JBE SHORT CShell.1012A2BD
1012A263   8B4D 04          MOV ECX,DWORD PTR SS:[EBP+4]
1012A266   8B14B9           MOV EDX,DWORD PTR DS:[ECX+EDI*4]
1012A269   8B42 04          MOV EAX,DWORD PTR DS:[EDX+4]
1012A26C   894424 10        MOV DWORD PTR SS:[ESP+10],EAX
1012A270   A1 E8A7A210      MOV EAX,DWORD PTR DS:[10A2A7E8]
1012A275   85C0             TEST EAX,EAX
1012A277   74 0F            JE SHORT CShell.1012A288
1012A279   8B0D ECA7A210    MOV ECX,DWORD PTR DS:[10A2A7EC]
1012A27F   2BC8             SUB ECX,EAX
1012A281   C1F9 02          SAR ECX,2
1012A284   3BF1             CMP ESI,ECX
1012A286   72 0B            JB SHORT CShell.1012A293
1012A288   90               NOP
1012A289   E8 06E8485F      CALL MSVCR80._invalid_parameter_noinfo
1012A28E   A1 E8A7A210      MOV EAX,DWORD PTR DS:[10A2A7E8]
1012A293   8B4C24 10        MOV ECX,DWORD PTR SS:[ESP+10]
1012A297   51               PUSH ECX
1012A298   8D1CB0           LEA EBX,DWORD PTR DS:[EAX+ESI*4]
1012A29B   90               NOP
1012A29C   E8 D47A4A5F      CALL MSVCR80.atof
1012A2A1   D95C24 14        FSTP DWORD PTR SS:[ESP+14]
1012A2A5   D94424 14        FLD DWORD PTR SS:[ESP+14]
1012A2A9   8B13             MOV EDX,DWORD PTR DS:[EBX]
1012A2AB   D99CBA A8240000  FSTP DWORD PTR DS:[EDX+EDI*4+24A8]
1012A2B2   83C7 01          ADD EDI,1
1012A2B5   83C4 04          ADD ESP,4
1012A2B8   3B7D 00          CMP EDI,DWORD PTR SS:[EBP]
1012A2BB  ^72 A6            JB SHORT CShell.1012A263
1012A2BD   8B4424 14        MOV EAX,DWORD PTR SS:[ESP+14]
See the +4 that I put in Red? Is that where you are meant to get it from?
does this ring something @_corn_??
there is two addys
0x24A8
0x24AC
Posts 1–15 of 21 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us