HelpSearch For memory Address by value

Posts 1–5 of 5 · Page 1 of 1
Search For memory Address by value
Hello !

I'm new in this forum so be kind

So, I'm programming with vb.net for months so i know the basics......
I wanted to ask you, If it possible to do this with vb.net :

- Search for Process's addresses by value (hex or 4 bytes)

Like Ce !

Sarch 10548451 in 4 bytes (long) & give the result on a list box with adresse & value, then change the value of the addresses found to 110548452

Thanks you ! (Ps : I'm french, So excuse me i don't use any translator)
Cause i want to make a program that search for the addresses by value & change the values found.
just to make it easy for me & My friends & others
Quote Originally Posted by [N
atsu-;6869111]Sarch 10548451 in 4 bytes (long) & give the result on a list box with adresse & value, then change the value of the addresses found to 110548452
You want to make a scanner then?

If you want to find a 4 bytes value, simple go reading 4 bytes on the memory and checking the result, more or less like this:

Note: the code is on C# cause VB makes me want to kill myself.
Code:
byte[] value = new byte[4];
IntPtr Zero = IntPtr.Zero;
for( int i = 0x00000000; i < 0x7FFFFFFF; i++ ) {
    ReadProcessMemory( Process, i, value, 4, out Zero );
    if( BitConverter.ToInt32( value, 0 ) == 10548451 ) {
         //Display it on the listbox
    }
}
Quote Originally Posted by MarkHC View Post
You want to make a scanner then?

If you want to find a 4 bytes value, simple go reading 4 bytes on the memory and checking the result, more or less like this:

Note: the code is on C# cause VB makes me want to kill myself.
Code:
byte[] value = new byte[4];
IntPtr Zero = IntPtr.Zero;
for( int i = 0x00000000; i < 0x7FFFFFFF; i++ ) {
    ReadProcessMemory( Process, i, value, 4, out Zero );
    if( BitConverter.ToInt32( value, 0 ) == 10548451 ) {
         //Display it on the listbox
    }
}
well this is vb.net section so he need that code in vb.net ?
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?