🧪 The versatile and intuitive memory hacking framework.

Overview

🧪 hax

Crates.io Crates.io GitHub issues Discord

🤔 About

hax is a Rust crate designed to make memory hacking, game hacking, cheat development, and any other low level memory based development simple, yet intuitive.

So far the project is in it's infancy, although many things are planned and we appreciate any form of contribution! We're on Discord and primarily discuss the project there, please note we request you not talk about cheat development as it is against Discord's terms of service.

💎 Features

  • Various macros aimed to eliminate boilerplate

🪛 Installation & Usage

Adding hax to your project is simple, however it requires a bit of setup depending on your desired output.

External

To add hax to your external project and produce an executable, you must:

  1. Add hax to your project with cargo: cargo add hax -F external
  2. Inside of main.rs, attribute your entrypoint with #[hax::main]

Internal

To add hax to your internal project and produce a shared library (.dll, .dylib, .so), you must:

  1. Add hax to your project with cargo: cargo add hax -F internal
  2. Set the crate-type to ["cdylib"] inside of Cargo.toml
  3. Inside of lib.rs, attribute your entrypoint with #[hax::main]

Kernel

👀

Bleeding edge

If you want to use the bleeding edge version of hax, you can add this to your Cargo.toml:

[dependencies.hax]
git = "https://github.com/hax-rs/hax"
package = "hax"
You might also like...
Linked Atomic Random Insert Vector: a thread-safe, self-memory-managed vector with no guaranteed sequential insert.
Linked Atomic Random Insert Vector: a thread-safe, self-memory-managed vector with no guaranteed sequential insert.

Linked Atomic Random Insert Vector Lariv is a thread-safe, self-memory-managed vector with no guaranteed sequential insert. It internally uses a linke

A Rust implementation of HyperLogLog trying to be parsimonious with memory.

🧮 HyperLogLog-rs This is a Rust library that provides an implementation of the HyperLogLog (HLL) algorithm, trying to be parsimonious with memory. Wh

Vemcache is an in-memory vector database.

Vemcache Vemcache is an in-memory vector database. Vemcache can be thought of as the Redis equivalent for vector databases. Getting Started Prerequisi

Super-simple, fully Rust powered
Super-simple, fully Rust powered "memory" (doc store + semantic search) for LLM projects, semantic search, etc.

memex Super simple "memory" for LLM projects, semantic search, etc. Running the service Note that if you're running on Apple silicon (M1/M2/etc.), it'

KVM memory R/W cheat for CSGO

CSGO KVM DMA Main Feature Triggerbot with random press/release time *TODO list: add method to detect key event in VM. add No recoil. add wallhack(

Blazing fast, memory safe & modern Linux package manager written in Rust.

paket Blazing fast, memory safe & modern Linux package manager written in Rust. Roadmap Version: 0.1 Paket.toml file parsing. (#1, #2) CLI handling (p

Integra8 rust integration test framework Rust with a focus on productivity, extensibility, and speed.

integra8 Integra8 rust integration test framework Rust with a focus on productivity, extensibility, and speed. | This repo is in a "work in progress"

A backend framework for building fast and flexible APIs rapidly.

Andromeda Andromeda is a backend framework for Rust, to simplify the development of the kinds of basic API services that we developers have to build s

Manas project aims to create a modular framework and ecosystem to create robust storage servers adhering to Solid protocol in rust.

मनस् | Manas Solid is a web native protocol to enable interoperable, read-write, collaborative, and decentralized web, truer to web's original vision.

Comments
  • Memory functionality

    Memory functionality

    • Read & write process memory
    • Universal? (same function signature for internal/external, change depending on feature flag in use)
    • Bulk reading? (read entire struct in with one call)
    • Caching values? (only read an address once and cache result)
    enhancement 
    opened by 7ap 5
  • Create the context

    Create the context

    Should contain:

    • Process:
      • Read/write memory
      • Pattern scan
      • Modules

    Later:

    • Config
    • Overlay

    Pass it as a parameter for now. Passing it globally is kinda complicated, since we need to initialize it at runtime.

    opened by not-matthias 0
  • Improve hax::main macro

    Improve hax::main macro

    • Manual mapping? (internal)
    • Cleaner hooking? (internal)
      • #[hax::main(init=setup_hooks)]
    • Try to do some checks?
      • Check if the crate-type is ["cdylib"] during compilation (internal)
      • Check if the process is running with sufficient privileges (external)
    enhancement 
    opened by 7ap 7
Owner
🧪 The versatile and intuitive memory hacking framework.
null
Support SIMD low-memory overhead and high-performance adaptive radix tree.

Artful Artful is an adaptive radix tree library for Rust. At a high-level, it's like a BTreeMap. It is based on the implementation of paper, see The A

future 3 Sep 7, 2022
Library and proc macro to analyze memory usage of data structures in rust.

Allocative: memory profiler for Rust This crate implements a lightweight memory profiler which allows object traversal and memory size introspection.

Meta Experimental 19 Jan 6, 2023
A process memory reader and debugger for Windows (x86_64)

Winreader Winreader is a process memory reader and debugger for Windows, implemented and developed in the Rust language, using the official Microsoft

null 31 Feb 15, 2023
RcLite: small, fast, and memory-friendly reference counting for Rust

RcLite: small, fast, and memory-friendly reference counting RcLite is a lightweight reference-counting solution for Rust that serves as an alternative

Khashayar Fereidani 147 Apr 14, 2023
Rust library for concurrent data access, using memory-mapped files, zero-copy deserialization, and wait-free synchronization.

mmap-sync mmap-sync is a Rust crate designed to manage high-performance, concurrent data access between a single writer process and multiple reader pr

Cloudflare 97 Jun 26, 2023
Proof-of-concept for a memory-efficient data structure for zooming billion-event traces

Proof-of-concept for a gigabyte-scale trace viewer This repo includes: A memory-efficient representation for event traces An unusually simple and memo

Tristan Hume 59 Sep 5, 2022
This crate allows to generate a flat binary with the memory representation of an ELF.

flatelf Library This crate allows to generate a flat binary with the memory representation of an ELF. It also allows to generate a FLATELF with the fo

Roi Martin 3 Sep 29, 2022
High concurrency, RealTime, In-memory storage inspired by erlang mnesia

DarkBird is a Document oriented, high concurrency in-memory Storage, also persist data to disk to avoid loss any data The darkbird provides the follow

DanyalMh 25 Dec 15, 2022
A additional Rust compiler pass to detect memory safe bugs of Rust programs.

SafeDrop A additional Rust compiler pass to detect memory safe bugs of Rust programs. SafeDrop performs path-sensitive and field-sensitive inter-proce

Artisan-Lab  (Fn*) 5 Nov 25, 2022
A small in-memory key value database for rust

SmollDB Small in-memory key value database for rust This is a small in-memory key-value database, which can be easly backed up in a file or stream and

null 13 Dec 15, 2022