Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    VB.net Modul


    xaaser
     Share

    Recommended Posts

    Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer

    Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer

    Private Declare Function WriteFloatMemory Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Single, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer

    Private Declare Function ReadFloat Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, ByRef buffer As Single, ByVal size As Int32, ByRef lpNumberOfBytesRead As Int32) As Boolean

    Private Declare Function ReadProcessMemory Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer

    Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Integer) As Integer

    Public Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer

    Public RBuff As Long

    Public RBuff2 As Single

    Public RBuff3 As Integer

     

    Public Function WriteMemory(ByVal Address As Integer, ByVal Value As Long, ByVal Bytes As Integer)

     

    Dim warrockLookUp As Process() = Process.GetProcessesByName("WarRock")

     

    If warrockLookUp.Len*** = 0 Then

     

    End

     

    End If

     

    Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, warrockLookUp(0).Id)

     

    WriteProcessMemory(processHandle, Address, Value, Bytes, Nothing)

     

    CloseHandle(processHandle)

     

    End Function

     

    Public Function ReadFloat(ByVal Address As Single)

     

    Dim warrockLookUp As Process() = Process.GetProcessesByName("WarRock")

     

    If warrockLookUp.Len*** = 0 Then

     

    End

     

    End If

     

    Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, warrockLookUp(0).Id)

     

    ReadProcessMemory(processHandle, Address, RBuff, 4, Nothing)

     

    CloseHandle(processHandle)

     

    Return RBuff

     

    End Function

     

    Public Function WriteFloat(ByVal Address As Integer, ByVal Value As Single)

     

    Dim warrockLookUp As Process() = Process.GetProcessesByName("WarRock")

     

    If warrockLookUp.Len*** = 0 Then

     

    End

     

    End If

     

    Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, warrockLookUp(0).Id)

     

    WriteFloatMemory(processHandle, Address, Value, 4, Nothing)

     

    CloseHandle(processHandle)

     

    End Function

     

    Public Function ReadLong(ByVal Address As Integer)

     

    Dim warrockLookUp As Process() = Process.GetProcessesByName("WarRock")

     

    If warrockLookUp.Len*** = 0 Then

     

    End

     

    End If

     

    Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, warrockLookUp(0).Id)

     

    ReadProcessMemory(processHandle, Address, RBuff, 4, Nothing)

     

    CloseHandle(processHandle)

     

    Return RBuff

     

    End Function

     

    Public Function ReadFloatPointer(ByVal Base As Integer, ByVal Offset As Short)

     

    Dim fullAddress As Long

     

    Dim warrockLookUp As Process() = Process.GetProcessesByName("WarRock")

     

    If warrockLookUp.Len*** = 0 Then

     

    End

     

    End If

     

    Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, warrockLookUp(0).Id)

     

    ReadProcessMemory(processHandle, Base, RBuff, 4, Nothing)

     

    fullAddress = RBuff + Offset

     

    ReadFloat(processHandle, fullAddress, RBuff2, 4, Nothing)

     

    Return RBuff2

     

    CloseHandle(processHandle)

     

    End Function

     

    Public Function ReadLongPointer(ByVal Base As Integer, ByVal Offset As Short, ByVal Bytes As Integer)

     

    Dim fullAddress As Long

     

    Dim warrockLookUp As Process() = Process.GetProcessesByName("WarRock")

     

    If warrockLookUp.Len*** = 0 Then

     

    End

     

    End If

     

    Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, warrockLookUp(0).Id)

     

    ReadProcessMemory(processHandle, Base, RBuff, 4, Nothing)

     

    fullAddress = RBuff + Offset

     

    ReadProcessMemory(processHandle, fullAddress, RBuff3, Bytes, Nothing)

     

    Return RBuff3

     

    CloseHandle(processHandle)

     

    End Function

     

    Public Function WriteFloatPointer(ByVal Base As Integer, ByVal Offset As Short, ByVal Value As Single)

     

    Dim fullAddress As Long

     

    Dim warrockLookUp As Process() = Process.GetProcessesByName("WarRock")

     

    If warrockLookUp.Len*** = 0 Then

     

    End

     

    End If

     

    Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, warrockLookUp(0).Id)

     

    ReadProcessMemory(processHandle, Base, RBuff, 4, Nothing)

     

    fullAddress = RBuff + Offset

     

    WriteFloatMemory(processHandle, fullAddress, Value, 4, Nothing)

     

    CloseHandle(processHandle)

     

    End Function

     

    Public Function WriteLongPointer(ByVal Base As Integer, ByVal Offset As Short, ByVal Value As Long, ByVal Bytes As Integer)

     

    Dim fullAddress As Long

     

    Dim warrockLookUp As Process() = Process.GetProcessesByName("WarRock")

     

    If warrockLookUp.Len*** = 0 Then

     

    End

     

    End If

     

    Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, warrockLookUp(0).Id)

     

    ReadProcessMemory(processHandle, Base, RBuff, 4, Nothing)

     

    fullAddress = RBuff + Offset

     

    WriteProcessMemory(processHandle, fullAddress, Value, Bytes, Nothing)

     

    CloseHandle(processHandle)

     

    End Function

     

    Public Function NOP(ByVal Address As Integer)

     

    Dim warrockLookUp As Process() = Process.GetProcessesByName("WarRock")

     

    If warrockLookUp.Len*** = 0 Then

     

    End

     

    End If

     

    Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, warrockLookUp(0).Id)

     

    WriteProcessMemory(processHandle, Address, &H90, 1, Nothing)

     

    CloseHandle(processHandle)

     

    End Function

     

    You might get Warnings for unused declarations, but just ignore them. Also, if you are debugging the program, you will get an error/freezing issue. You will have to build an EXE, and run it with administrator Privileges (If using vista) To prevent the error/freezing problem

    Link to comment
    Share on other sites

    Mein armes modul :'(

    Wird einfach missbraucht -_-

    Link to comment
    Share on other sites

    • 4 months later...
    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...