Reading/Writing To Memory In .NET

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Styx

Coder
Dank Tier Donator
Nobleman
Aug 14, 2012
117
648
3
I had my other two threads deleted which contained two functions for getting dynamic addresses and writing to bytes(Opcodes) in vb.net as i was re-writing most of the module and I have just added the functions to the new module.

This is the VB.NET version of the module, for the C# version click HERE

Changes Ive Made:

1. Re-Wrote All Dynamic Functions (Not tested.. Yet, I will test them as soon as I have time).
2. Added my getAddress() function to get dynamic addresses.
3. Re-Wrote my writeBytes() Function (A.K.A Opcodes) and removed the one that came with the module.
4. Added readBytes() function to read the current bytes(Opcodes) in memory.

Still Working On:

1. Re-Writing NOP's Fuction.
2. Updating the dynamic functions.

How To Use:

1. Add a new module to your vb.net/c# project and name it accessMemory.
2. Paste the code from one of the links below into your module.
3. Done.

Usage:

Dynamic Functions:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

writeDynamicInt((PROCESS_NAME, BASE_ADDRESS, OFFSETS, VALUE)

Offsets Must Be Inside ' " " ', Each Separated By A ' : ' and in reverse order.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

AssaultCube Example:

writeDynamicInt("ac_client", &H45B75F, "378:14:0", 10)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

WriteBytes:

writeBytes(PROCESS_NAME, BASE_ADDRESS, BYTES, BYTE_LENGTH)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

AssaultCube Example:

writeBytes("ac_client", &H45B75F, "FF06", 4)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Link:

VB.NET - Pastebin
 
Last edited:
  • Like
Reactions: Fleep

Styx

Coder
Dank Tier Donator
Nobleman
Aug 14, 2012
117
648
3
Fixed Some Bugs.

If You Find Any More, Please Reply To This Thread With Details Of The Bug
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods