{"id":31700397,"url":"https://github.com/lucasvmx/libhack","last_synced_at":"2026-02-27T10:04:08.895Z","repository":{"id":54178787,"uuid":"280775269","full_name":"lucasvmx/libhack","owner":"lucasvmx","description":"A simple, modern and easy to use memory hacking library","archived":false,"fork":false,"pushed_at":"2024-11-13T00:45:56.000Z","size":510,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-13T01:29:42.588Z","etag":null,"topics":["game-hacking","library","memory","memory-hacking","process"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucasvmx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-19T02:16:32.000Z","updated_at":"2024-11-13T00:46:00.000Z","dependencies_parsed_at":"2024-05-17T05:27:13.998Z","dependency_job_id":"5e08bc67-efb7-4952-a774-869114e327c8","html_url":"https://github.com/lucasvmx/libhack","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/lucasvmx/libhack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasvmx%2Flibhack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasvmx%2Flibhack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasvmx%2Flibhack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasvmx%2Flibhack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasvmx","download_url":"https://codeload.github.com/lucasvmx/libhack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasvmx%2Flibhack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000638,"owners_count":26082818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game-hacking","library","memory","memory-hacking","process"],"created_at":"2025-10-08T20:38:36.895Z","updated_at":"2025-10-08T20:38:41.305Z","avatar_url":"https://github.com/lucasvmx.png","language":"C","readme":"\u003c!--\r\n*** Thanks for checking out this README Template. If you have a suggestion that would\r\n*** make this better, please fork the libhack and create a pull request or simply open\r\n*** an issue with the tag \"enhancement\".\r\n*** Thanks again! Now go create something AMAZING! :D\r\n***\r\n***\r\n***\r\n*** To avoid retyping too much info. Do a search and replace for the following:\r\n*** lucas-engen, libhack, __lucas.vmx, lucas.engen.cc@gmail.com\r\n--\u003e\r\n\r\n\r\n\r\n\r\n\r\n\u003c!-- PROJECT SHIELDS --\u003e\r\n\u003c!--\r\n*** I'm using markdown \"reference style\" links for readability.\r\n*** Reference links are enclosed in brackets [ ] instead of parentheses ( ).\r\n*** See the bottom of this document for the declaration of the reference variables\r\n*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use.\r\n*** https://www.markdownguide.org/basic-syntax/#reference-style-links\r\n--\u003e\r\n\r\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\r\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\r\n[build-status-linux-url]: https://img.shields.io/github/actions/workflow/status/lucasvmx/libhack/build_ubuntu.yml?label=ubuntu-lts\u0026style=flat-square\r\n[build-status-win-url]: https://img.shields.io/github/actions/workflow/status/lucasvmx/libhack/build_windows.yml?label=windows\u0026style=flat-square\r\n[code-quality-url]: https://img.shields.io/codefactor/grade/github/lucasvmx/libhack?color=#00ff00\u0026style=flat-square\r\n[license-url]: https://img.shields.io/github/license/lucas-engen/libhack?style=flat-square\u0026color=purple\r\n[circle-ci-url]: https://img.shields.io/circleci/build/github/lucasvmx/libhack/master?label=manjaro\r\n[debian-circle-ci-url]: https://img.shields.io/circleci/build/github/lucasvmx/libhack/master?label=debian\r\n\r\n[issues-closed-url]: https://img.shields.io/github/issues-closed-raw/lucas-engen/libhack?color=bb0000\u0026style=plastic\r\n\r\n![build][build-status-linux-url]\r\n![build][build-status-win-url]\r\n![build][circle-ci-url]\r\n![build][debian-circle-ci-url]\r\n![license][license-url]\r\n![code-quality][code-quality-url]\r\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=lucasvmx_libhack\u0026metric=bugs)](https://sonarcloud.io/summary/new_code?id=lucasvmx_libhack)\r\n\r\n\u003c!-- PROJECT LOGO --\u003e\r\n\u003cbr /\u003e\r\n\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://github.com/lucas-engen/libhack\"\u003e\r\n    \u003cimg src=\"images/ram-icon-23.jpg\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\r\n  \u003c/a\u003e\r\n\r\n  \u003ch3 align=\"center\"\u003elibhack\u003c/h3\u003e\r\n\r\n  \u003cp align=\"center\"\u003e\r\n    A modern and easy to use memory hacking library.\r\n    \u003cbr /\u003e\r\n    \u003ca href=\"https://github.com/lucas-engen/libhack\"\u003e\u003cstrong\u003eExplore docs »\u003c/strong\u003e\u003c/a\u003e\r\n    \u003cbr /\u003e\r\n    \u003cbr /\u003e\r\n    \u003ca href=\"src/examples\"\u003eExamples\u003c/a\u003e\r\n    ·\r\n    \u003ca href=\"https://github.com/lucas-engen/libhack/issues\"\u003eReport Bug\u003c/a\u003e\r\n    ·\r\n    \u003ca href=\"https://github.com/lucas-engen/libhack/issues\"\u003eRequest Feature\u003c/a\u003e\r\n  \u003c/p\u003e\r\n\u003c/p\u003e\r\n\r\n\r\n\r\n\u003c!-- TABLE OF CONTENTS --\u003e\r\n## Table of Contents\r\n\r\n* [About the Project](#about-the-project)\r\n  * [Built With](#built-with)\r\n* [Getting Started](#getting-started)\r\n  * [Prerequisites](#prerequisites)\r\n  * [Building](#building)\r\n    * [Building Examples](#building-examples)\r\n* [Usage](#usage)\r\n* [Roadmap](#roadmap)\r\n* [Contributing](#contributing)\r\n* [License](#license)\r\n* [Contact](#contact)\r\n* [Acknowledgements](#acknowledgements)\r\n\r\n\r\n\r\n\u003c!-- ABOUT THE PROJECT --\u003e\r\n## About The Project\r\n\r\nThis is a simple and easy to use memory hacking library. It was created to make my work on the [project](https://github.com/lucas-engen/Warzone-2100-Hack) easier  but can be used for many other purposes.\r\n\r\n\r\n### Built With\r\n\r\n* [GCC](https://gcc.gnu.org/)\r\n* [CMake](https://cmake.org/)\r\n* [Microsoft Visual Studio](https://visualstudio.microsoft.com/pt-br/)\r\n\r\n\r\n\r\n\u003c!-- GETTING STARTED --\u003e\r\n## Getting Started\r\n\r\nTo get a local copy up and running follow these simple steps.\r\n\r\n### Prerequisites\r\n\r\nThis is an example of how to list things you need to use the software and how to install them.\r\n\r\n* MinGW (Msys2)\r\n  - Download and install MinGW\r\n  - https://www.msys2.org/wiki/MSYS2-installation/\r\n\r\n* CMake\r\n  - https://cmake.org/download/\r\n\r\n### Building\r\n\u003cbr\u003e\r\n\r\n1. Clone the libhack\r\n```sh\r\ngit clone https://github.com/lucas-engen/libhack.git\r\n```\r\n\r\n2. Go to project folder\r\n```sh\r\ncd libhack\r\n```\r\n\r\n3. Generate Makefiles\r\n```sh\r\ncmake -G \u003cgenerator name\u003e -B build .\r\n```\r\n\r\n* Note: type `cmake --help` to list generators available in your system\r\n\r\n4. Go to build directory\r\n```sh\r\ncd build\r\n```\r\n\r\n5. Build source code\r\n```sh\r\nmake\r\n```\r\n\r\n### Building examples\r\n\u003cbr\u003e\r\n\r\n1. Go to examples folder\r\n```sh\r\ncd src/examples\r\n```\r\n\r\n2. Generate makefiles\r\n```sh\r\ncmake -G \u003cgenerator name\u003e -B build .\r\n```\r\n\r\n3. Go to build directory\r\n```sh\r\ncd build\r\n```\r\n\r\n4. Build examples\r\n```sh\r\nmake\r\n```\r\n\u003cbr\u003e\r\n\r\n\u003c!-- USAGE EXAMPLES --\u003e\r\n## Usage\r\n\r\nTo use this library, simply copy the development files to your project source code folder. Example:\r\n\r\nWe 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:\r\n\r\n```\r\nfoo\r\n|  foo.c\r\n|  main.c\r\n```\r\n\r\nIf 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:\r\n\r\n```\r\nfoo\r\n|   foo.c\r\n|   main.c\r\n|   hack.h\r\n|   process.h\r\n|   ...\r\n|   ...\r\n|   ...\r\n|   libhack.a\r\n```\r\n\r\nIn order to build the project **foo**, you just need to run\r\n```sh\r\ngcc foo.c main.c -L. -lhack\r\n```\r\n\r\nAt this point the **foo** program will be statically linked to libhack, and will need **libhack.dll** or **libhack.so** to be opened\r\ncorrecly.\r\n\r\n_For more examples, please refer to examples below_\r\n\r\n- [Reading a memory address - Windows](src/examples/windows/read_addr.c)\r\n- [Writing to a memory address - Windows](src/examples/windows/write_addr.c)\r\n- [Getting PID from a process - Windows](src/examples/windows/pid.c)\r\n- [Injecting DLL into another process - Windows](src/examples/windows/dll_inject.c)\r\n  - [Dll Source Code - Windows](src/examples/windows/hello.c)\r\n- [Writing to a memory address - Linux](src/examples/linux/write_addr.c)\r\n\r\n\u003c!-- ROADMAP --\u003e\r\n## Roadmap\r\n\r\nSee the [open issues](https://github.com/lucas-engen/libhack/issues) for a list of proposed features (and known issues).\r\n\r\n\r\n\r\n\u003c!-- CONTRIBUTING --\u003e\r\n## Contributing\r\n\r\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\r\n\r\n1. Fork the Project\r\n2. Create your Feature Branch (`git checkout -b feature/new_feature`)\r\n3. Commit your Changes (`git commit -m 'Add new feature'`)\r\n4. Push to the Branch (`git push origin feature/new_feature`)\r\n5. Open a Pull Request\r\n\r\n\r\n\u003c!-- LICENSE --\u003e\r\n## License\r\n\r\nDistributed under the MIT License. See `LICENSE` for more information.\r\n\r\n\r\n\r\n\u003c!-- CONTACT --\u003e\r\n## Contact\r\n\r\nLucas Vieira - [Instagram](https://www.instagram.com/__lucas.vmx) - [Gmail](mailto:lucas.engen.cc@gmail.com?subject=Sobre%20a%20libhack)\r\n\r\nProject Link: [https://github.com/lucas-engen/libhack](https://github.com/lucas-engen/libhack)\r\n\r\n\r\n\r\n\u003c!-- ACKNOWLEDGEMENTS --\u003e\r\n## Acknowledgements\r\n\r\n* To God for life\r\n* To my father Jenner Silva who introduced me to the world of computing\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasvmx%2Flibhack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasvmx%2Flibhack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasvmx%2Flibhack/lists"}