Page 1 of 5 123 ... LastLast
Results 1 to 15 of 69
  1. #1
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic

    Arrow [TUT] How to make a Real Injector

    well hello guys i am here to do someone a favor by givving you guys a detailed TUT of how to make an injector
    which will include the following
    >multiple dll inject
    >automatic inject
    >manual inject
    >close after inject
    >browse for Dlls
    >clear selected
    >clear list
    BEFORE U DO ANYTHING MAKE SURE YOU ADD THIS IN ORDER so no more errors
    Buttons

    fromat
    order = button text

    first button
    1=Browse
    2=Remove Selected
    3=Clear List
    4=Clear Process

    and a updating label that states evrything that is happening

    first open VB 2008 express

    /create a new windows form application

    /name it whatever u want

    then resize it, customize it and do anything u want

    /first double click the form and bellow the public class form1
    add this code
    Code:
    Private TargetProcessHandle As Integer
        Private pfnStartAddr As Integer 
        Private pszLibFileRemote As String
        Private TargetBufferSize As Integer
    
        Public Const PROCESS_VM_READ = &H10
        Public Const TH32CS_SNAPPROCESS = &H2
        Public Const MEM_COMMIT = 4096
        Public Const PAGE_READWRITE = 4
        Public Const PROCESS_CREATE_THREAD = (&H2)
        Public Const PROCESS_VM_OPERATION = (&H8)
        Public Const PROCESS_VM_WRITE = (&H20)
        Dim DLLFileName As String
        Public Declare Function ReadProcessMemory Lib "kernel32" ( _
        ByVal hProcess As Integer, _
        ByVal lpBaseAddress As Integer, _
        ByVal lpBuffer As String, _
        ByVal nSize As Integer, _
        ByRef lpNumberOfBytesWritten As Integer) As Integer
    
        Public Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" ( _
        ByVal lpLibFileName As String) As Integer
    
        Public Declare Function VirtualAllocEx Lib "kernel32" ( _
        ByVal hProcess As Integer, _
        ByVal lpAddress As Integer, _
        ByVal dwSize As Integer, _
        ByVal flAllocationType As Integer, _
        ByVal flProtect As Integer) As Integer
    
        Public Declare Function WriteProcessMemory Lib "kernel32" ( _
        ByVal hProcess As Integer, _
        ByVal lpBaseAddress As Integer, _
        ByVal lpBuffer As String, _
        ByVal nSize As Integer, _
        ByRef lpNumberOfBytesWritten As Integer) As Integer
    
        Public Declare Function GetProcAddress Lib "kernel32" ( _
        ByVal hModule As Integer, ByVal lpProcName As String) As Integer
    
        Private Declare Function GetModuleHandle Lib "Kernel32" Alias "GetModuleHandleA" ( _
        ByVal lpModuleName As String) As Integer
    
        Public Declare Function CreateRemoteThread Lib "kernel32" ( _
        ByVal hProcess As Integer, _
        ByVal lpThreadAttributes As Integer, _
        ByVal dwStackSize As Integer, _
        ByVal lpStartAddress As Integer, _
        ByVal lpParameter As Integer, _
        ByVal dwCreationFlags As Integer, _
        ByRef lpThreadId As Integer) As Integer
    
        Public Declare Function OpenProcess Lib "kernel32" ( _
        ByVal dwDesiredAccess As Integer, _
        ByVal bInheritHandle As Integer, _
        ByVal dwProcessId As Integer) As Integer
    
        Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( _
        ByVal lpClassName As String, _
        ByVal lpWindowName As String) As Integer
    
        Private Declare Function CloseHandle Lib "kernel32" Alias "CloseHandleA" ( _
        ByVal hObject As Integer) As Integer
    
    
        Dim ExeName As String = IO.Path.GetFileNameWithoutExtension(Application.ExecutablePath)Private Sub Inject()
    On Error GoTo 1 ' If error occurs, app will close without any error messages
    Timer1.Stop()
    Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
    TargetProcessHandle = OpenProcess(PROCESS_CREATE_THREAD Or PROCESS_VM_OPERATION Or PROCESS_VM_WRITE, False, TargetProcess(0).Id)
    pszLibFileRemote = OpenFileDialog1.FileName
    pfnStartAddr = GetProcAddress(GetModuleHandle("Kernel32"), "LoadLibraryA")
    TargetBufferSize = 1 + Len(pszLibFileRemote)
    Dim Rtn As Integer
    Dim LoadLibParamAdr As Integer
    LoadLibParamAdr = VirtualAllocEx(TargetProcessHandle, 0, TargetBufferSize, MEM_COMMIT, PAGE_READWRITE)
    Rtn = WriteProcessMemory(TargetProcessHandle, LoadLibParamAdr, pszLibFileRemote, TargetBufferSize, 0)
    CreateRemoteThread(TargetProcessHandle, 0, 0, pfnStartAddr, LoadLibParamAdr, 0, 0)
    CloseHandle(TargetProcessHandle)
    1: Me.Show()
    End Sub
    <<<<< this is declares what the form does (inject)

    /now under where u typed u shuld see private sub form1 load
    in there add this code
    Code:
    Button1.Text = "Browse"
            Label1.Text = "Waiting for Process Start..."
            Timer1.Interval = 50
            Timer1.Start()
    <<<<< that explained some stuff with the buttons so now u shuld hav an error that says lable1 is not delcared...........dont worry cuz ur about to add some buttons and stuff

    /now u have the load and declaration part of ur injector done

    /add a timer to ur form

    / double click it and add this code
    Code:
    If IO.File.Exists(OpenFileDialog1.FileName) Then
                Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
                If TargetProcess.Length = 0 Then
    
                    Me.Label1.Text = ("Waiting for " + TextBox1.Text + ".exe...")
                Else
                    Timer1.Stop()
                    Me.Label1.Text = "Successfully Injected!"
                    Call Inject()
                    If CheckBox1.Checked = True Then
                        Me.Close()
                    Else
                    End If
                End If
            Else
            End If
    
        End Sub
    <<<<< that is the main dll injecting part

    /add a textbox and add a listbox underneath it [MAKE SURE TO CHANGE THE LISTBOX NAME TO "Dlls" this is to ensure there are no errors]
    now i am going to be randomly add stuff

    /add a button and change the text to clear selected. then double click it and add this code
    Code:
    For i As Integer = (Dlls.SelectedItems.Count - 1) To 0 Step -1
                Dlls.Items.Remove(Dlls.SelectedItems(i))
            Next
    / then add another button and change txt to clear process. then add this code to the button.
    Code:
    TextBox1.Clear()
    /add another button and change txt to clear list and add this code to it.
    Code:
     Dlls.Items.Clear()
    /add a openfiledialog to ur form

    / add button, change txt to Browse and add the following code
    Code:
    OpenFileDialog1.Filter = "DLL (*.dll) |*.dll|(*.*) |*.*"
            OpenFileDialog1.ShowDialog()
            Dim FileName As String
            FileName = OpenFileDialog1.FileName.Substring(OpenFileDialog1.FileName.LastIndexOf("\"))
            Dim DllFileName As String = FileName.Replace("\", "")
            Me.Dlls.Items.Add(DllFileName)
    <<<<this browses for the Dlls(u can do the same thing with textbox1 to search for ur game

    /add a button and this one's txt is inject. this is the button for manual inject. add this code this is similar to the timer code.
    Code:
     
    If GetAsyncKeyState(Keys.F12) Then
                If IO.File.Exists(OpenFileDialog1.FileName) Then
                    Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
                    If TargetProcess.Length = 0 Then
    
                        Me.Label1.Text = ("Waiting for " + TextBox1.Text + ".exe Injection(F12)...")
                    Else
                        Timer1.Stop()
                        Me.Label1.Text = "Successfully Injected!"
                        Call Inject()
                        If CheckBox1.Checked = True Then
                            Me.Close()
                        Else
                        End If
                    End If
                Else
                End If
            End If
    ^^^^^^^you can change the hotkey to whateveras long as it is in here (keys._ _ _)
    /add a checkbox saying that says close after inject and u dont need a code for this because we already added it in the timer code

    /add a group box and inside it add 2 radiobox. change one of them manual and the other one to automatic. then add this code for manual.
    Code:
     ('add the name of Inject button i.e button 3).Enabled = True
            Timer1.Enabled = False
    <<<<remove the quatations after button3 and infront of 'add.

    / for the automatic add this code.
    Code:
    Button6.Enabled = False
            Timer1.Enabled = True
    i belive u guys are done u shuld hav at least
    5 buttons
    1 group box
    2 radio buttons
    1 checkbox
    1 listbox
    1 textbox

    this TUT shuld probebly hav errors becuz i am tired and hyper [i am only 12]

    if u spot any errors plz report so i can fix it

    and this is what is shuld look when finsihed
    [IMG]https://img1.UploadScreensho*****m/images/main/2/5002493413.jpg[/IMG]


    important notes
    the image is my version that i am releasing so it may not look like urs but ur tools are suppose to be at the same place.
    if u click browse and click cancel u might hav an error
    [/CODE]
    Last edited by hopefordope; 02-20-2010 at 07:25 PM.

    Press Thank You[IMG]https://i45.tinypic.com/2hg8w0n.jpghttps://img1.UploadScreensho*****m/images/main/2/3203234450.jpg[/IMG]










    My Releases
    Injector 3G
    Injector 2G
    Injector 1G
    Super Spammer
    CA Cleaner
    My Tutorials
    How to Make a real Injector(PerX)
    How to Make a Calculator(leeched)

  2. The Following 16 Users Say Thank You to hopefordope For This Useful Post:

    /b/oss (02-23-2010),Abdo.2012 (07-04-2012),bluepringles (08-30-2020),bocayroi1 (06-23-2016),Cameronol (05-16-2010),crow407 (07-07-2010),DayumKen (06-19-2010),DjFunky (07-11-2010),Julma Henri (05-23-2010),mr farouk (11-29-2010),nepito (03-13-2010),rikz1st (03-07-2011),rob master12 (02-26-2010),silly3648 (04-02-2010),teufel123 (03-07-2010),why06 (02-26-2010)

  3. #2
    MugNuf's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    790
    Reputation
    9
    Thanks
    160
    My Mood
    Goofy
    Now, everyone race to make this, and claim it as there own!

    Good job, i'll look over it later.

  4. The Following 2 Users Say Thank You to MugNuf For This Useful Post:

    21sean21 (06-03-2010),bocayroi1 (06-23-2016)

  5. #3
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Thanks Hope, I appreciate it .


     


     


     



    The Most complete application MPGH will ever offer - 68%




  6. The Following User Says Thank You to NextGen1 For This Useful Post:

    21sean21 (06-03-2010)

  7. #4
    Tom's Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    in my gf's pants
    Posts
    1,861
    Reputation
    37
    Thanks
    594
    My Mood
    Cool
    Good But I already made my

  8. The Following User Says Thank You to Tom For This Useful Post:

    21sean21 (06-03-2010)

  9. #5
    DeathHunter's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Naxxar,Malta.
    Posts
    4,018
    Reputation
    13
    Thanks
    1,385
    My Mood
    Brooding
    I'm getting an error when I debug...

  10. #6
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic
    Quote Originally Posted by ballotra View Post
    I'm getting an error when I debug...
    what does the error say

    Press Thank You[IMG]https://i45.tinypic.com/2hg8w0n.jpghttps://img1.UploadScreensho*****m/images/main/2/3203234450.jpg[/IMG]










    My Releases
    Injector 3G
    Injector 2G
    Injector 1G
    Super Spammer
    CA Cleaner
    My Tutorials
    How to Make a real Injector(PerX)
    How to Make a Calculator(leeched)

  11. The Following User Says Thank You to hopefordope For This Useful Post:

    /b/oss (02-23-2010)

  12. #7
    /b/oss's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    13,651
    Reputation
    795
    Thanks
    3,547
    nice i knew hot to make inj for warrock (only ) but now i know more

  13. The Following User Says Thank You to /b/oss For This Useful Post:

    hopefordope (02-20-2010)

  14. #8
    D3Dh0oker's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Snow vally
    Posts
    1,850
    Reputation
    8
    Thanks
    438
    My Mood
    Angelic
    yay ima do this an give u credits whwen ur is patched

    edit; DOSNT work lors of errors and u didnt explain witch button is for what code.
    Last edited by D3Dh0oker; 02-20-2010 at 06:27 PM.

  15. #9
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic
    yep thts what i thought wat went wrong kk i will try to fix it

    Press Thank You[IMG]https://i45.tinypic.com/2hg8w0n.jpghttps://img1.UploadScreensho*****m/images/main/2/3203234450.jpg[/IMG]










    My Releases
    Injector 3G
    Injector 2G
    Injector 1G
    Super Spammer
    CA Cleaner
    My Tutorials
    How to Make a real Injector(PerX)
    How to Make a Calculator(leeched)

  16. The Following User Says Thank You to hopefordope For This Useful Post:

    /b/oss (02-24-2010)

  17. #10
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic
    Fixed should now hav no problems

    Press Thank You[IMG]https://i45.tinypic.com/2hg8w0n.jpghttps://img1.UploadScreensho*****m/images/main/2/3203234450.jpg[/IMG]










    My Releases
    Injector 3G
    Injector 2G
    Injector 1G
    Super Spammer
    CA Cleaner
    My Tutorials
    How to Make a real Injector(PerX)
    How to Make a Calculator(leeched)

  18. The Following User Says Thank You to hopefordope For This Useful Post:

    /b/oss (02-24-2010)

  19. #11
    srinuv's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    hyd
    Posts
    20
    Reputation
    10
    Thanks
    1
    i will test it

  20. #12
    DeathHunter's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Naxxar,Malta.
    Posts
    4,018
    Reputation
    13
    Thanks
    1,385
    My Mood
    Brooding
    I got 30 Errors...

  21. #13
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic
    Plz pm me with ur errors

    Press Thank You[IMG]https://i45.tinypic.com/2hg8w0n.jpghttps://img1.UploadScreensho*****m/images/main/2/3203234450.jpg[/IMG]










    My Releases
    Injector 3G
    Injector 2G
    Injector 1G
    Super Spammer
    CA Cleaner
    My Tutorials
    How to Make a real Injector(PerX)
    How to Make a Calculator(leeched)

  22. The Following User Says Thank You to hopefordope For This Useful Post:

    penileobject (01-16-2016)

  23. #14
    llXXXXll ~ Obama Fan's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    2
    My Mood
    Stressed
    I am testing and I will be seen tell you the errors!
    If it works will make some injectors and to post!

  24. #15
    /b/oss's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    13,651
    Reputation
    795
    Thanks
    3,547
    hopefordope i dont understand this, that must i do:this: /now under where u typed u shuld see private sub form1 load
    in there add this code /// can you please record or photo this "form1 load" cuz i have only errors. help hopefordpe

Page 1 of 5 123 ... LastLast

Similar Threads

  1. [TUT]How to make a Simple Injector!
    By DeathHunter in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 38
    Last Post: 09-14-2010, 04:08 AM
  2. [TUT]How to make an Advanced Injector!
    By DeathHunter in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 45
    Last Post: 09-09-2010, 08:30 PM
  3. TUT HOW TO MAKE A INJECTOR [REVISED]
    By hopefordope in forum Programming Tutorials
    Replies: 15
    Last Post: 08-07-2010, 05:39 PM
  4. Video tut how to make an injector
    By wassup40 in forum Programming Tutorials
    Replies: 3
    Last Post: 08-03-2010, 09:20 AM
  5. [REQUEST][TUT]How to make injector for hacks in VB8
    By Pixie in forum Visual Basic Programming
    Replies: 19
    Last Post: 10-10-2009, 05:43 AM

Tags for this Thread