• 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
  • Sipping
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 5 of 5

    Thread: Fivehax library

    1. #1
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      493

      Fivehax library

      How to Manual Map DLL
      *** Latest version/Updates available on github: https://github.com/citizen5/Fivehax ***

      General Information/instructions:

      Fivehax is a little wrapper sort of library I wrote to simplify the means of managing memory, could come in quite handy for beginners.

      The library consists of two main parts: One consists of functions meant to be used when your application is an external executable. Second part consists of functions meant to be used when your application is going to be an injected dll.

      To specify, how are you going to use the library, you must define one of the two in the top of the Fivehax.h
      Code:
      //#define __AS_DLL		// uncomment if you're building a dll (internal)
      //#define __AS_EXE		// uncomment if you're building an executable (external)
      Now if you are building an executable, you must also, before using any functions, call the Initialize function with atleast one of the opt parameters.
      Code:
      void Initialize(DWORD opt_procId, HWND opt_hwnd, char* opt_windowClassName, bool enableDebugPriv);
      However if you are building a dll, you don't have to do it. It is also a good habit to call the destructor afterwards you have finished with using the library (only as an executable again)

      And now you are all set to use all of the library's functions

      Here are the features and some examples:

      • Enable debugging privileges
      • Get module's base address
      • Calculate base to dynamic address
      • Evaluate pointers
      • Patch opcodes
      • Read data (int, float, byte)
      • Write data (int, float, byte)
      • Allocate memory
      • Free memory


      Code:
      // Example of reading and writing memory externally
      Fivehax memory;
      memory.Initialize(NULL, NULL, "Game", 1);
      int money = memory.Read<int>(0xF84212);
      memory.Write<int>(0xF84212, money+50000);
      memory.~Fivehax();
      Code:
      // Example of beating DMA internally
      Fivehax memory;
      DWORD offsets[] = {0x4F; 0x4; 0x16C};
      DWORD endAddress = memory.BaseToDynamicAddress(0x2450FF, offsets, 3);
      I might gradually update the library and add new features. Credits included in the Fivehax.h. All sorts of ideas and suggestions are welcome
      Attached Files Attached Files
      Last edited by c5; 02-21-2013 at 12:07 PM.
      Fivehax library

    2. Thanks Fleep, Crypt, N/A, Chuck E thanked for this post
    3. #2
      Learning to hack games!
       
      Feeling Normal
       

      Join Date
      Jan 1970
      Posts
      0
      Thanks (-->)
      294
      Thanks (<--)
      328
      Looks great c5. Thanks for sharing.

    4. #3
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      493
      Thank you very much. Please report back any bugs you find
      Fivehax library

    5. #4
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      Chuck E's Avatar
      Join Date
      Jan 2013
      Location
      United Kingdom
      Posts
      123
      Thanks (-->)
      33
      Thanks (<--)
      24
      This is excellent. So freaking useful. Thanks for sharing this

    6. #5
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      493
      Cheat Engine Tutorials
      For updated version check github, the project is up there now, and will not be updated here anymore: https://github.com/citizen5/Fivehax

      Contributions are welcome
      Fivehax library

    Similar Game Hacker Threads

    1. [Source Code] DirectX Color Library
      By Amonomen in forum Direct3d OpenGL & Graphics APIs
      Replies: 0
      Last Post: 05-16-2016, 10:29 AM
    2. [Help] Static library location
      By markfrancis in forum Hacking Help
      Replies: 0
      Last Post: 05-01-2016, 11:07 PM
    3. Xnumem : Memory Library for os x
      By NTvalk in forum Tutorials and Snippets
      Replies: 3
      Last Post: 07-29-2014, 11:44 AM
    4. [Source Code] (MAC-OSX) Detouring shared library functions
      By NTvalk in forum Game Hacking Tutorials
      Replies: 7
      Last Post: 11-26-2013, 03:37 PM
    5. [Discuss] One great free C# library
      By vmv in forum C#
      Replies: 2
      Last Post: 11-19-2013, 07:29 AM

    Tags for this Thread