Hey guys,
Due to some requests I've decided to release my vb code for writing bytes into any client:
You will need to add these sub's into your project:
Code:
Private Sub writecode(ByVal int_0 As Integer)
Dim buffer As Byte() = New Byte() {"your bytes"}
Dim zero As IntPtr = IntPtr.Zero
WriteProcessMemory(Me.intPtr1, New IntPtr(int_0), buffer, CUInt(buffer.Length), zero)
End Sub
Code:
Private Sub Yourbutton_click(ByVal sender As Object, ByVal e As EventArgs) Handles Yourbutton.Click
If Process.GetProcessesByName("YourProcess").Length > 0 Then
Dim processesByName As Process() = Process.GetProcessesByName("YourProcess")
Me.intPtr1 = processesByName(0).Handle
Me.writecode("YourBytes")
End If
End Sub
Code:
Private intPtr1 As IntPtr
You can easily customize this If you have a basic understanding of VB
Not going to spoonfeed you guys too much
Let me know if you have any questions.