Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VMemLib NuGet

VMemLib is a C# library for reading and writing memory of target processes. It provides safe and flexible access to process memory, supports reading and writing various data types, and includes helper functions for matrix and world-to-screen calculations.

⚠️ For educational purposes only. Do not use on software you do not own or have permission to access.

Features

  • Open and manage target processes
  • Read and write memory
  • Read strings and structs from memory
  • Matrix / WorldToScreen transformations
  • Get module base addresses
  • Advanced access using handle hijacking (vmem_h)

Key Classes

vmem_base

  • Base class for memory operations.
  • Provides methods like:
    • Initialize
    • Read<T>
    • Write<T>
    • ReadBytes
    • ReadAsString
    • GetModuleAddress
  • Includes helper methods for matrix and WorldToScreen transformations.

vmem

  • Inherits from vmem_base.
  • Implements standard process memory access via OpenProcess.

Usage Example

var memory = new vmem();
var result = memory.Initialize("notepad", types.ProcessAccessFlags.All);

if(result == types.InitializeResult.Ok)
{
    var value = memory.Read<int>(memory.BaseAddress + 0x1234);
    memory.Write(memory.BaseAddress + 0x1234, 42);
}

VMemLib.HandleHijack NuGet

vmem_h

  • Inherits from vmem_base.
  • Uses handle hijacking to obtain enhanced access to target processes.

About

C# library for reading and writing memory of target processes. It provides safe and flexible access to process memory, supports reading and writing various data types, and includes helper functions for matrix and world-to-screen calculations.

Resources

Stars

Watchers

Forks

Contributors

Languages