Using Jason's .NET HackLibary

Posts 1–3 of 3 · Page 1 of 1
Using Jason's .NET HackLibary
hey i read through jasons hacklibrary but it didnt show an example for a memory hack with vb.net and i new an example to learn can someone help me out?
There is already and example there, well it's in C#.

Code:
Imports HackLibrary
Imports DllImports
Imports Snippets

Public Class Form1
    Dim my_hack As QuickHack

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        If my_hack Is Nothing Then 'Check if we've initialized my_hack
            'Create a new QuickHack object with the process ID of the process we want to hack,
            'make sure to check if it's running first, you can do that yourself
            my_hack = new QuickHack(Process.GetProcessesByName("some_process")(0).Id)
        End If

        If my_hack IsNot Nothing AndAlso my_hack.hasWriteAccess Then 'Check if we can write memory
            my_hack.writeMemory(Of Integer)(&HDEADBEEF, 1337) 'Write an integer with the value of 1337 into 0xDEADBEEF
        End If
    End Sub
End Class
This is a really basic example, you should actually learn VB.NET properly first.
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?