• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 6 of 6
    1. #1
      Newbie
      meh
       
      Innocent
       
      KaizenLouie's Avatar
      Join Date
      Nov 2016
      Posts
      11
      Thanks (-->)
      0
      Thanks (<--)
      2

      Smile PvZ1 Internal Hack Sample

      Silent VPN
      Hello everyone, first of all, this is not a big hack, it's a really small "SAMPLE" hack for a small game (PvZ 1.0)

      (I'm not planning to add other features, since this is an example only)

      I just wonder why almost all of the PvZ Hacks is External like trainers, etc..
      so I searched on google for a PvZ internal hack and I ended up on this post C++ Writing Multi Level Pointer? from a GH user asking about multilevel pointers in c++

      And I read all the replies and noticed that all codes posted are for External hacks.

      When it comes to game hacking, I'm not really comfortable doing external hacks (just for me )
      'Cause i think DLL hack looks cool. LOL.


      The offsets used are for: PvZ Version 1.0.0.1051

      Here's the Source Code

      /**
      Project: PvZ1 Internal Hack Sample
      Author: KaizenLouie
      Date Published: Jan. 3, 2017

      References:
      APIENTRY from Microsoft = https://msdn.microsoft.com/en-us/library/windows/desktop/ms682583(v=vs.85).aspx
      */

      #include <Windows.h>

      void SunHack(){

      DWORD SunBase = *(PDWORD)0x006a9ec0; // Sun Base Addy
      while (true)
      {
      DWORD pointer1 = *(PDWORD)(SunBase + 0x768); // 1st ptr
      if (pointer1 )
      {
      (*(PDWORD)(pointer1 + 0x5560)) = 999; // 1st ptr + 2nd ptr
      }
      }
      }

      DWORD WINAPI pvzMain(LPVOID Param){

      for(;;)
      {
      /**Use this one if you want to save some RAM and don't
      like to constantly write values*/

      //if(GetAsyncKeyState(VK_F2))
      // {
      // SunHack();
      // Sleep(400);
      // }

      SunHack();
      Sleep(400); //you can choose any good interval (depends on the hack)
      }
      }

      BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved)
      {
      if (reason == DLL_PROCESS_ATTACH)
      {
      CreateThread(0, 0, pvzMain, 0, 0, 0);
      }
      return TRUE;
      }


      This source will work in any game just make sure you are using the right addresses.

      Note: You are free to compile it and test it, and free to modify it and give proper credits to me if you think I'm the one
      who you taught you regarding internal hacks with multi level pointers.

    2. #2
      Administrator
      Hacked By Jesus
       
      Reversing
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      3,453
      Thanks (-->)
      803
      Thanks (<--)
      986
      Thanks for sharing! Next step is to use ReClass and you never have to do that shit again!

    3. #3
      Newbie
      meh
       
      Innocent
       
      KaizenLouie's Avatar
      Join Date
      Nov 2016
      Posts
      11
      Thanks (-->)
      0
      Thanks (<--)
      2
      Quote Originally Posted by [GH]Rake View Post
      Thanks for sharing! Next step is to use ReClass and you never have to do that shit again!
      hahaha yep dude. I already tried ReClass but didn't apply on this one. LOL my bad

    4. #4
      Newbie
      Staus? Whats a status?
       
      Coding
       
      Xploit's Avatar
      Join Date
      Dec 2016
      Location
      127.0.0.1
      Posts
      47
      Thanks (-->)
      0
      Thanks (<--)
      5
      I Really want to learn this :/ Sucks i dont have the required files

    5. #5
      Global Moderator
      Certified Asshole
       
      CodenzHub
       
      Traxin's Avatar
      Join Date
      Aug 2015
      Posts
      597
      Thanks (-->)
      104
      Thanks (<--)
      172
      Quote Originally Posted by Xploit View Post
      I Really want to learn this :/ Sucks i dont have the required files
      :\ Why can't you download VS?

      Good job Kaizen, keep it up mayn!

    6. #6
      Newbie
      Staus? Whats a status?
       
      Coding
       
      Xploit's Avatar
      Join Date
      Dec 2016
      Location
      127.0.0.1
      Posts
      47
      Thanks (-->)
      0
      Thanks (<--)
      5
      Silent VPN
      Quote Originally Posted by Traxin View Post
      :\ Why can't you download VS?

      Good job Kaizen, keep it up mayn!
      I Do have Visual Studio , but apparently i dont have things like Windows.h or any other includes , i tried downloading a source code to test it and sapposedly it got errors that made no sense using visual studio but the errors werent in code blocks , which the guy said it was originally coded in , i was having these error problems before as well something about dll message box it was based off of fleeps tutorial on making an assault cube dll , and i cant download the includes i need because my wifi is so slow i can barely open up this site sometimes lol it took me 4 days to download team fortess 2 , my net usually runs at about 10kb/s to 200kb/s average , The reason im using someone elses source code is to try to build off it so i can learn a bit that way then i try to rebuild it from scratch after learning a bit on how everything works , i learn weird i know lol i already know how to get pointers and such but the whole language is new to me and i cant really practice without the required includes using codeblocks , and using VS i have the includes apparently but i get these errors that really make no sense to me knowing another dude was able to compile it with no errors..

      I Also tried to connect Codeblocks to the path of places i have Windows.h and other includes but there spread everywhere so i decided to take the time to just do each one manually but after about 4 it said Windows.h needed includes that i didnt have

      Code:
      // Error 1 : the word DllMain;
      extern "C" DLL_EXPORT BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
      // Error 2 : The name of the void MsgBox;
      void DLL_EXPORT MsgBox(const LPCSTR sometext)
      {
          MessageBoxA(0, sometext, "DLL Message", MB_OK | MB_ICONINFORMATION);
      }
      
      
      Error List :
      a function declared 'dllimport' may not be defined
      a function declared 'dllimport' may not be defined
      'MsgBox': definition of dllimport function not allowed
      'DllMain': definition of dllimport function not allowed
      'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead
      P.S No i dont skid off others work lol
      Last edited by Xploit; 01-12-2017 at 06:22 PM.

    Similar Game Hacker Threads

    1. [Tutorial] Debugging DLL for internal hack
      By Nazalas in forum Hacking Help
      Replies: 10
      Last Post: 06-28-2016, 08:55 AM
    2. [Release] Garry's Mod Hack [internal]
      By Superseb in forum Source Engine Hacks
      Replies: 4
      Last Post: 04-22-2016, 04:22 PM
    3. [Source Code] Warface Internal Hack
      By FloppyWhale in forum Other Game Hacks
      Replies: 4
      Last Post: 03-31-2016, 01:01 PM
    4. [Tutorial] How To Hack Easily, Using Dll. Internal Hack Mode.
      By lukaluka in forum Assault Cube Hacks
      Replies: 20
      Last Post: 02-20-2016, 10:06 PM
    5. How to make an internal hack?
      By Stressful in forum CS:GO Hacks
      Replies: 1
      Last Post: 01-03-2016, 12:41 PM