Results 1 to 1 of 1
  1. #1
    darius12
    darius12 is offline
    Guest
    Join Date
    2013 Aug
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    VB script for writing

    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.

Similar Threads

  1. [C++] Packet hack, writing proxy dll
    By Dwar in forum Programming Tutorials
    Replies: 7
    Last Post: 2012-09-22, 09:54 AM
  2. Help in writing a bot
    By wiskas in forum Forsaken World Bots, Hacks, Cheats
    Replies: 0
    Last Post: 2012-07-14, 09:07 AM
  3. Writing bots in C#
    By drixnak in forum C/C++
    Replies: 7
    Last Post: 2011-08-01, 11:22 PM
  4. [C++] Memory-writing functions
    By Dwar in forum C/C++
    Replies: 0
    Last Post: 2010-11-29, 04:14 PM
  5. [C++] Writing your own detour functions
    By Dwar in forum Programming Tutorials
    Replies: 0
    Last Post: 2010-11-20, 04:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •