Skip to content

A simple, modern and easy to use memory hacking library

License

Notifications You must be signed in to change notification settings

lucasvmx/libhack

Repository files navigation

build build build build license code-quality Bugs


Logo

libhack

A modern and easy to use memory hacking library.
Explore docs »

Examples · Report Bug · Request Feature

Table of Contents

About The Project

This is a simple and easy to use memory hacking library. It was created to make my work on the project easier but can be used for many other purposes.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

Building


  1. Clone the libhack
git clone https://github.com/lucas-engen/libhack.git
  1. Go to project folder
cd libhack
  1. Generate Makefiles
cmake -G <generator name> -B build .
  • Note: type cmake --help to list generators available in your system
  1. Go to build directory
cd build
  1. Build source code
make

Building examples


  1. Go to examples folder
cd src/examples
  1. Generate makefiles
cmake -G <generator name> -B build .
  1. Go to build directory
cd build
  1. Build examples
make

Usage

To use this library, simply copy the development files to your project source code folder. Example:

We have a project called foo and it has the following files: foo.c and main.c localized inside the foo folder. The project tree will be something like this:

foo
|  foo.c
|  main.c

If you want to use libhack library, just put the libhack header files and libhack import library inside the foo folder. The source code tree will be:

foo
|   foo.c
|   main.c
|   hack.h
|   process.h
|   ...
|   ...
|   ...
|   libhack.a

In order to build the project foo, you just need to run

gcc foo.c main.c -L. -lhack

At this point the foo program will be statically linked to libhack, and will need libhack.dll or libhack.so to be opened correcly.

For more examples, please refer to examples below

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/new_feature)
  3. Commit your Changes (git commit -m 'Add new feature')
  4. Push to the Branch (git push origin feature/new_feature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Lucas Vieira - Instagram - Gmail

Project Link: https://github.com/lucas-engen/libhack

Acknowledgements

  • To God for life
  • To my father Jenner Silva who introduced me to the world of computing