Skip to content

MemoryReadWrite InlineAsm Managed/UnmanagedInject

Notifications You must be signed in to change notification settings

killercc/FastWin32

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastWin32

MemoryReadWrite FunctionHook InlineAsm Managed/UnmanagedInject

Exampe1:Read/WriteMemory

namespace Example1
{
    class Program
    {
        static void Main(string[] args)
        {
            uint processId;
            Pointer pointer;
            int value;

            processId = (uint)Process.Start("Tutorial-i386.exe").Id;
            Console.WriteLine("Go to \"Step 6\" then continue");
            Console.ReadKey();
            pointer = new Pointer("Tutorial-i386.exe", 0x1FD630, 0);
            MemoryIO.ReadInt32(processId, pointer, out value);
            Console.WriteLine($"Current value:{value}. Now we lock it");
            while (true)
            {
                MemoryIO.WriteInt32(processId, pointer, 5000);
                Thread.Sleep(1);
            }
        }
    }
}

About

MemoryReadWrite InlineAsm Managed/UnmanagedInject

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%