Coder Social home page Coder Social logo

hax-rs / hax Goto Github PK

View Code? Open in Web Editor NEW
27.0 0.0 0.0 46 KB

๐Ÿงช The versatile and intuitive memory hacking framework.

Home Page: https://crates.io/crates/hax

License: MIT License

Rust 100.00%
memory-hacking game-hacking cheat-development

hax's Introduction

๐Ÿงช 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"

hax's People

Contributors

7ap avatar not-matthias avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hax's Issues

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.

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)

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.