Results 1 to 7 of 7
  1. #1
    jhefrey's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    292
    Reputation
    11
    Thanks
    84
    My Mood
    Amused
    Code:
    #include <windows.h>
    
    
    DWORD WINAPI Hacks(LPVOID)
    {
    	bool oneshot = false;
    	while(1)
    	{
    		DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
    
         
       		if(oneshot) 
             	{
               		for(int i=0 ; i<445 ; i++)
              		{
              		 *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0x30845C
     ))+(4*i))) + 0x7F8) = 9999999 ;
        			}
    		}
    	}
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    MessageBoxA(0, "This Hack was Made By Jhefreyzz ", "Successfully Injected", 0);
    system("start https://mpgh.net");
    CreateThread(NULL, NULL,MAIN, NULL, NULL, NULL);
    }
    return TRUE;
    }
    When i Compiled IT
    this error shown
    Code:
    1>------ Build started: Project: WOW, Configuration: Debug Win32 ------
    1>Compiling...
    1>Hack.cpp
    1>c:\documents and settings\joe\my documents\visual studio 2008\projects\wow\wow\hack.cpp(29) : error C2065: 'MAIN' : undeclared identifier
    1>Build log was saved at "file://c:\Documents and Settings\Joe\My Documents\Visual Studio 2008\Projects\WOW\WOW\Debug\BuildLog.htm"
    1>WOW - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    how to solved this one

    /req to close this thread
    ALREADY solved by my self
    Last edited by jhefrey; 03-23-2011 at 03:29 AM.
    Press Thanks If I Helped You




  2. #2
    A$IAN's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Germany
    Posts
    5,654
    Reputation
    274
    Thanks
    2,010
    My Mood
    Amused
    Well
    You did
    DWORD WINAPI Hacks(LPVOID)

    So in Makethread it ahs to be:
    CreateThread(NULL, NULL,Hacks, NULL, NULL, NULL);

    Btw you are just a leecher /
    ~Donater since 19th October 2011~
    ~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
    Da fuck

  3. #3
    Code[VB]'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    CODER
    Posts
    608
    Reputation
    11
    Thanks
    702
    My Mood
    Bitchy
    hahahha lol ...

    include iostream ?! :P

  4. #4
    jhefrey's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    292
    Reputation
    11
    Thanks
    84
    My Mood
    Amused
    Quote Originally Posted by sapass209 View Post
    Well
    You did
    DWORD WINAPI Hacks(LPVOID)

    So in Makethread it ahs to be:
    CreateThread(NULL, NULL,Hacks, NULL, NULL, NULL);

    Btw you are just a leecher /
    Leecher your self
    remember that the code is own by swiftdude
    and i edit some code because i received some errors
    so you dont need say that to me that i am not a leecher
    Press Thanks If I Helped You




  5. #5
    Gοku's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    MPGH.net
    Posts
    1,527
    Reputation
    206
    Thanks
    1,043
    My Mood
    Cheerful
    i got this

    Code:
    1>------ Build started: Project: DLLHACK, Configuration: Debug Win32 ------
    1>Compiling...
    1>DLLHACK.cpp
    1>Compiling...
    1>dllmain.cpp
    1>Compiling manifest to resources...
    1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
    1>Copyright (C) Microsoft Corporation.  All rights reserved.
    1>Linking...
    1>dllmain.obj : error LNK2005: _DllMain@12 already defined in DLLHACK.obj
    1>C:\Users\########\Documents\Visual Studio 2008\Projects\DLLHACK\Debug\DLLHACK.dll : fatal error LNK1169: one or more multiply defined symbols found
    1>Build log was saved at "file://c:\Users\######\Documents\Visual Studio 2008\Projects\DLLHACK\DLLHACK\Debug\BuildLog.htm"
    1>DLLHACK - 2 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

     







    500 Posts ✓
    750 Posts ✓
    1,337 Posts ✓
    2,000 Posts ×
    3,000 Posts ×

    Ex VIP
    Ex Resource Team Member
    Ex Wiki Editor

  6. #6
    jhefrey's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    292
    Reputation
    11
    Thanks
    84
    My Mood
    Amused
    Quote Originally Posted by Puree123 View Post
    i got this

    Code:
    1>------ Build started: Project: DLLHACK, Configuration: Debug Win32 ------
    1>Compiling...
    1>DLLHACK.cpp
    1>Compiling...
    1>dllmain.cpp
    1>Compiling manifest to resources...
    1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
    1>Copyright (C) Microsoft Corporation.  All rights reserved.
    1>Linking...
    1>dllmain.obj : error LNK2005: _DllMain@12 already defined in DLLHACK.obj
    1>C:\Users\########\Documents\Visual Studio 2008\Projects\DLLHACK\Debug\DLLHACK.dll : fatal error LNK1169: one or more multiply defined symbols found
    1>Build log was saved at "file://c:\Users\######\Documents\Visual Studio 2008\Projects\DLLHACK\DLLHACK\Debug\BuildLog.htm"
    1>DLLHACK - 2 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    hey puree
    could you post your code

    wrap it
    i check if i will helped you
    Press Thanks If I Helped You




  7. #7
    A$IAN's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Germany
    Posts
    5,654
    Reputation
    274
    Thanks
    2,010
    My Mood
    Amused
    Quote Originally Posted by jhefrey View Post
    Leecher your self
    remember that the code is own by swiftdude
    and i edit some code because i received some errors
    so you dont need say that to me that i am not a leecher
    But u made in the other post :
    onehit = true
    Thats wrong ^^
    You just edited some parts but they are wrong /
    ~Donater since 19th October 2011~
    ~Ex-Crossfire Minion || Resigned on 4th February 2012 ~
    Da fuck