Memory editing (Read/Write Process Memory)

Posts 1–15 of 32 · Page 1 of 3
Memory editing (Read/Write Process Memory)
Well , firstly i know c++ yeah , c too , bla , but im trying to know the VB language aswell now.

The point is , How do i make a program , tht will show my hp and Mp using VB ?

i know how to make on C++ ( gratz to aanthonyz ^^) but , now i want to know how do i make that on VB, i know i will have to read the process memory , just like in c++

"ReadProcessMemory( bla bla bla)"

and , so , well , how do i read a process memory , getting hp and mp addresses are easy with CE or Tsearch , w/e.

All i want is some source code or w/e u guys can help me at.

like on c , ill need to open handle, window, read process , blla bla , and thats exactly what i want , so , how do i do it ?

One more question, i just started vb ( 2008 )like 1 week and , if u guys know some tutorials to get good at it, i would apprecciate , i alredy searched on google, but , didnt find good tutorials , just 1 , but , it stopped on radio buttoms xD.

I want to go Deeper than that , so , if anyone know how to make my hp and mp appear , and if anyone have some tutorials, to let me good with it , i would love !!

Tyvm for the ones that replis , and , ill be waiting , tyvm for support ad for the hand! happy hacking/programming !!

EDIT: Yeah , im looking on these tuts on the mpgh vb home page , but ,anyways , if u have mrore or w/e , plesae post it , and help me with my Q! TYVM!!
I doubt you really know C++ but I'll post a method to read memory in a minute.
Wait until my release later today, you'll shit your pants at how easy it is.
Quote Originally Posted by Jason View Post
Wait until my release later today, you'll shit your pants at how easy it is.
Hurry up and release your library already.
Quote Originally Posted by master131 View Post
Hurry up and release your library already.
I keep thinking up new things to add to it haha. It's pretty beastly now though.
Quote Originally Posted by Fly3r View Post
This May help U..
VB Tuts
"""""EDIT: Yeah , im looking on these tuts on the mpgh vb home page , but ,anyways , if u have mrore or w/e , plesae post it , and help me with my Q! TYVM!!"""""

well , i ws reading those acutally , but , ty anyways.

well , its better tutorial , cuz , libarary u wont put comments and i will acctually get the code , tutorial is self exlanatory , means it will have commentararies on what line or w/e usefull to know , like , i dont wanna just get thr code , and yeah understand it , that will be usefull for future things , im sure.

ty anyone whos still posting and hrlping me yet.

keep up the great work!!!

PS: i dont care if u post library or the tutorial , iwanna get thecode and have a little explanation on what line does.

Happy hacking!!
C# .dlls are compatible with VB projects you know...
so , i still need the code for getting PID , openining window , geting read acess, (ReadProcessMemory), and all that...(or/and more)
Process ID: [highlight=vb.net]Dim procID As Integer = Process.GetProcessByName("someprocess")(0).Id[/highlight]
OpenProcess: [highlight=vb.net]Dim procHandle As IntPtr = OpenProcess(PROCESS_VM_READ Or PROCESS_VM_WRITE Or PROCESS_VM_ACCESS, False, procID)[/highlight]
Get Read Access: [highlight=vb.net]'Allow read access from protected memory
Dim oldProtectAttributes As UInteger
VirtualProtectEx(procHandle, addressHere, sizeOfValue, PAGE_EXECUTE_READ, oldProtectAttributes)
'Restore original attributes
VirtualProtectEx(procHandle, addressHere, sizeOfValue, oldProtectAttributes, 0)
[/highlight]
Read Data from Address:
[highlight=vb.net]Using qh As New QuickHack(procID)
If qh.HasWriteAccess
Dim readValue As Integer = qh.ReadMemory(Of Integer)(&H101010)
End Using
End Using[/highlight]

OpenProcess and VirtualProtectEx are in Jason's HackLibrary in the APIFunctions class. The read data code requires Jason's HackLibrary aswell.
nice, ty , putiing it on vb, where should i put all those codes ? and second, an example of that , can u give? like putting in it on practise
Quote Originally Posted by wolfguardiann View Post
nice, ty , putiing it on vb, where should i put all those codes ? and second, an example of that , can u give? like putting in it on practise
He did. Didn't he?

This was the example:
[highlight=vb.net]Using qh As New QuickHack(procID)
If qh.HasWriteAccess
Dim readValue As Integer = qh.ReadMemory(Of Integer)(&H101010)
End Using
End Using[/highlight]

With tbis:

Code:
(&H101010)
He means:

Code:
(&HYOURADDRESS)
(at least that's what I think)
Posts 1–15 of 32 · Page 1 of 3

Post a Reply

Tags for this Thread

None

Need help?