DebateFort - Where Warriors Come To Debate
RAGECRY - Funny, Amusing, Interesting, Trending & Viral Videos and Images
GameOrc - Free Flash Games Online
Page 5 of 7 FirstFirst ... 3 4 5 6 7 LastLast
Results 61 to 75 of 92
  1. #61
    Member zizomosad's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    My Mood
    Cheerful
    I got 39 Errors In The Code

    Error 20 'CloseHandle' is not declared. It may be inaccessible due to its protection
    Error 21 'CloseHandle' is not declared. It may be inaccessible due to its protection
    Error 15 'CreateRemoteThread' is not declared. It may be inaccessible due to its protection
    Error 27 'dlls' is not declared. It may be inaccessible due to its protection level.
    Error 32 'dlls' is not declared. It may be inaccessible due to its protection level.
    Error 33 'dlls' is not declared. It may be inaccessible due to its protection level.
    Error 34 'dlls' is not declared. It may be inaccessible due to its protection level.
    Error 35 'dlls' is not declared. It may be inaccessible due to its protection level.
    Error 22 'End Sub' must be preceded by a matching 'Sub'.
    Error 12 'GetModuleHandle' is not declared. It may be inaccessible due to its protection level.
    Error 13 'GetProcAddress' is not declared. It may be inaccessible due to its protection level.
    Error 10 'Process' is a type and cannot be used as an expression
    Error 16 'rest' is not declared. It may be inaccessible due to its protection level.
    Error 23 'Timer1' is not declared. It may be inaccessible due to its protection level.
    Error 24 'Timer1' is not declared. It may be inaccessible due to its protection
    Error 25 'Timer1' is not declared. It may be inaccessible due to its protection level.

  2. #62
    Newbie
    MPGH Member
    ColdSinz's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Utrecht
    Posts
    92
    Reputation
    10
    Thanks
    5
    My Mood
    Fine
    @zizomosad post your full code so we can see why you get errors

  3. #63
    Expert Member
    MPGH Member
    [WINNER]'s Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    553
    Reputation
    -34
    Thanks
    189
    My Mood
    Chatty
    Nice thanks but not needed for me could be useful for other

    [IMG]http://i.imgur.com/5***d.jpg[/IMG]


  4. #64
    Member zizomosad's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    My Mood
    Cheerful
    @ColdSinz Here is the Code :

    Code:
    Public Class Form1
    
    
    
        Private Sub ToolTip1_Popup(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PopupEventArgs)
    
        End Sub
    
        Private Sub TabPage1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabPage1.Click
    
        End Sub
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            If My.Settings.inject = "auto" Then
                RadioButton1.Checked = True
            ElseIf My.Settings.inject = "manual" Then
                RadioButton2.Checked = True
            Else
                RadioButton1.Checked = True
            End If
            If My.Settings.close = 1 Then
                CheckBox1.Checked = True
            Else
                CheckBox1.Checked = False
            End If
            Dim dlls As New Dictionary(Of String, String)
    
        Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer
        Private 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
        Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByVal lpBuffer() As Byte, ByVal nSize As Integer, ByVal lpNumberOfBytesWritten As UInteger) As Boolean
        Private 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
        Private 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, ByVal 
    
    lpThreadId (As Integer) As Integer
        Private Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer
        Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Integer) As Integer
    
        End Sub
        Private Function Inject(ByVal pID As Integer, ByVal dllLocation As String) As Boolean
            If IntPtr.Size = 8 Then Throw New ArgumentException("Please make sure this program is compiled as x86, not x64. Memory functions don't work so well otherwise.") '//check our project is compiled to x86, otherwise everything will run fine, but nothing will happen.
            Dim hProcess As Integer = Process(&H1F0FFF, 1, pID) '//copied the access value /tehe
            If hProcess = 0 Then Return False '//check that we managed to obtain a handle, if we didn't there is no point continuing.
            Dim dllBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(dllLocation)
            Dim allocAddress As Integer = VirtualAllocEx(hProcess, 0, dllBytes.Length, &H1000, &H4)
            If allocAddress = Nothing Then Return False '//if the memory allocation failed then we gotta quit.
            Dim kernelMod As Integer = GetModuleHandle("kernel32.dll") '//kernel holds the LoadLibrary function, and its loaded to a constant address space, so we can find the load address in our own processes memory and assume it will be the same in the target process.
            Dim loadLibAddr = GetProcAddress(kernelMod, "LoadLibraryA") '//find the address of LoadLibrary in kernel.
            If kernelMod = 0 OrElse loadLibAddr = 0 Then Return False
            WriteProcessMemory(hProcess, allocAddress, dllBytes, dllBytes.Length, 0) '// write the dll location as bytes to the process memory in the location we allocated earlier, we'll use this address when we call LoadLibrary so it knows where to load the dll from
            Dim libThread As Integer = CreateRemoteThread(hProcess, 0, 0, loadLibAddr, allocAddress, 0, 0) '//call the LoadLibrary function in the target process and pass the location of our DLL to it (actually, we just pass the address to where it should read it from, it does the 
    
    rest)
            If libThread = 0 Then
                Return False '// couldn't create the thread, quit now
            Else
                WaitForSingleObject(libThread, 5000) '//give the process 5 seconds to finish using the LoadLibrary function if it needs it
                CloseHandle(libThread) '//close our handle to the thread.
            End If
            CloseHandle(hProcess) '//close our handle to the process
            Label3.Text = "DLL injected successfully."
            If CheckBox1.Checked = True Then
                Me.Close()
            End If
            Label3.ForeColor = Color.Green
            Return True
        End Function
    
    
        End Sub
    
        Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged
            My.Settings.inject = "auto"
            My.Settings.Save()
            My.Settings.Reload()
            Button3.Enabled = False
            Timer1.Start()
        End Sub
    
        Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged
            My.Settings.inject = "manual"
            My.Settings.Save()
            My.Settings.Reload()
            Button3.Enabled = True
            Timer1.Stop()
        End Sub
    
        Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
            If CheckBox1.Checked = True Then
                My.Settings.close = 1
            Else
                My.Settings.close = 0
            End If
            My.Settings.Save()
            My.Settings.Reload()
        End Sub
    
        Private Sub AutoInject_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AutoInject.Tick
            If ListBox1.Items.Count > 0 Then
                Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
                If TargetProcess.Length = 0 Then
                    Label3.Text = ("Waiting for " + TextBox1.Text + ".exe")
                    Label3.ForeColor = Color.Red
                Else
                    Dim ProcID As Integer = Process.GetProcessesByName(TextBox1.Text)(0).Id
                    Timer1.Stop()
                    Timer2.Stop()
                    For Each inj As KeyValuePair(Of String, String) In dlls
                        Inject(ProcID, inj.Value)
                    Next
                End If
            End If
        End Sub
    
        Private Sub StatusUpdater_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StatusUpdater.Tick
            If TextBox1.Text = "" Then
                Label3.Text = "Waiting for process to be set."
                Label3.ForeColor = Color.Red
                Timer1.Stop()
    
            ElseIf ListBox1.Items.Count = 0 Then
                Label3.Text = "Waiting for DLL path."
                Label3.ForeColor = Color.Red
                Timer1.Stop()
    
            Else
                Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
                If TargetProcess.Length = 0 Then
                    Label3.Text = ("Waiting for " + TextBox1.Text + ".exe")
                    Label3.ForeColor = Color.Red
                Else
                    If RadioButton1.Checked = True Then
                        Timer1.Start()
                    End If
                End If
            End If
        End Sub
    
        Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
            If ListBox1.Items.Count > 0 Then
                If TextBox1.Text <> "" Then
                    Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
                    If TargetProcess.Length = 0 Then
                        MsgBox(TextBox1.Text + ".exe is not running.", MsgBoxStyle.Critical, "Error")
                    Else
                        Timer1.Stop()
                        Dim ProcID As Integer = Process.GetProcessesByName(TextBox1.Text)(0).Id
                        For Each inj As KeyValuePair(Of String, String) In dlls
                            Inject(ProcID, inj.Value)
                        Next
                    End If
                Else
                    MsgBox("You haven't specificed a process.", MsgBoxStyle.Critical, "Error")
                End If
            Else
                MsgBox("You need to select a dll file to inject.", MsgBoxStyle.Critical, "Error")
            End If
        End Sub
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            OpenFileDialog1.Filter = "DLL (*.dll) |*.dll"
            OpenFileDialog1.ShowDialog()
        End Sub
    
        Private Sub OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk
            Dim FileName As String = OpenFileDialog1.FileName.Substring(OpenFileDialog1.FileName.LastIndexOf("\"))
            Dim DllFileName As String = FileName.Replace("\", "")
            ListBox1.Items.Add(DllFileName)
            dlls.Add(DllFileName, OpenFileDialog1.FileName)
        End Sub
    
        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
            If ListBox1.SelectedIndex >= 0 Then
                OpenFileDialog1.Reset()
                dlls.Remove(ListBox1.SelectedItem)
                For i As Integer = (ListBox1.SelectedItems.Count - 1) To 0 Step -1
                    Dim i2 As Integer = i + 2
                    ListBox1.Items.Remove(ListBox1.SelectedItems(i))
                Next
            End If
        End Sub
    
        Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
            ListBox1.Items.Clear()
            dlls.Clear()
        End Sub
    
        Private Sub lpThreadId(ByVal p1 As Object)
            Throw New NotImplementedException
        End Sub
    
    End Class
    I am beginner , so please help me

  5. #65
    Newbie
    MPGH Member
    ColdSinz's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Utrecht
    Posts
    92
    Reputation
    10
    Thanks
    5
    My Mood
    Fine
    @zizomosad im not that good at coding :S couldnt find anythin. ask @Codemunkie

  6. #66
    Member zizomosad's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    My Mood
    Cheerful
    @Codemunkie Please Help me with the code.

    Many Thanks

  7. #67
    Member
    MPGH Member
    stelioss's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    nicosia
    Posts
    131
    Reputation
    10
    Thanks
    451
    My Mood
    Paranoid
    add me on skype pls treliaris971 i need help

  8. #68
    Wave to yesterday
    Former Staff
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Somewhere where the Sunlight hurts my eyes.
    Posts
    5,652
    Reputation
    865
    Thanks
    4,820
    My Mood
    Mellow
    For anyone interested in actually learning about this injection code, here's the thread where I originally released it:

    http://www.mpgh.net/forum/33-visual-...epth-look.html

    Tutz'n'shit

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    So tear the pieces from the bone,
    Like you've torn us apart.
    We build bridges, just for burning


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  9. #69
    Advanced Member
    MPGH Member
    Kudi's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    207
    Reputation
    18
    Thanks
    278
    My Mood
    Tired
    does this work for 32 and 64 Bit?

  10. #70
    Threadstarter
    Advanced Member
    MPGH Member
    Codemunkie's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    England :D
    Posts
    219
    Reputation
    25
    Thanks
    644
    My Mood
    Bored
    I'm not very active here anymore, but there's plenty of people that will understand this code if you have any problems. You're best off in the VB section

  11. #71
    Advanced Member
    MPGH Member
    Amrtherapper's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Cairo, Egypt
    Posts
    235
    Reputation
    6
    Thanks
    68
    My Mood
    Chatty
    @Codemunkie plz help at step 13 what is my open file dialog

  12. #72
    Banned
    BANNED!
    [TIB]injector's's Avatar
    Join Date
    Aug 2011
    Gender
    female
    Posts
    315
    Reputation
    -1
    Thanks
    104
    My Mood
    Angelic
    here is my source code i will post for you so if you use it please give credits and give thanks ...

    @zizomosad

    Code:
    Public Class Form1
        Dim dlls As New Dictionary(Of String, String)
    
        Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer
        Private 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
        Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByVal lpBuffer() As Byte, ByVal nSize As Integer, ByVal lpNumberOfBytesWritten As UInteger) As Boolean
        Private 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
        Private 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, ByVal lpThreadId As Integer) As Integer
        Private Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Integer, ByVal dwMilliseconds As Integer) As Integer
        Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Integer) As Integer
    
        Private Function Inject(ByVal pID As Integer, ByVal dllLocation As String) As Boolean
            If IntPtr.Size = 8 Then Throw New ArgumentException("Please make sure this program is compiled as x86, not x64. Memory functions don't work so well otherwise.") '//check our project is compiled to x86, otherwise everything will run fine, but nothing will happen.
            Dim hProcess As Integer = OpenProcess(&H1F0FFF, 1, pID) '//copied the access value /tehe
            If hProcess = 0 Then Return False '//check that we managed to obtain a handle, if we didn't there is no point continuing.
            Dim dllBytes As Byte() = System.Text.Encoding.ASCII.GetBytes(dllLocation)
            Dim allocAddress As Integer = VirtualAllocEx(hProcess, 0, dllBytes.Length, &H1000, &H4)
            If allocAddress = Nothing Then Return False '//if the memory allocation failed then we gotta quit.
            Dim kernelMod As Integer = GetModuleHandle("kernel32.dll") '//kernel holds the LoadLibrary function, and its loaded to a constant address space, so we can find the load address in our own processes memory and assume it will be the same in the target process.
            Dim loadLibAddr = GetProcAddress(kernelMod, "LoadLibraryA") '//find the address of LoadLibrary in kernel.
            If kernelMod = 0 OrElse loadLibAddr = 0 Then Return False
            WriteProcessMemory(hProcess, allocAddress, dllBytes, dllBytes.Length, 0) '// write the dll location as bytes to the process memory in the location we allocated earlier, we'll use this address when we call LoadLibrary so it knows where to load the dll from
            Dim libThread As Integer = CreateRemoteThread(hProcess, 0, 0, loadLibAddr, allocAddress, 0, 0) '//call the LoadLibrary function in the target process and pass the location of our DLL to it (actually, we just pass the address to where it should read it from, it does the rest)
            If libThread = 0 Then
                Return False '// couldn't create the thread, quit now
            Else
                WaitForSingleObject(libThread, 5000) '//give the process 5 seconds to finish using the LoadLibrary function if it needs it
                CloseHandle(libThread) '//close our handle to the thread.
            End If
            CloseHandle(hProcess) '//close our handle to the process
            Label3.Text = "DLL injected successfully."
            If CheckBox1.Checked = True Then
                Me.Close()
            End If
            Label3.ForeColor = Color.Green
            Return True
        End Function
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    
            If My.Settings.Inject = "auto" Then
                RadioButton1.Checked = True
            ElseIf My.Settings.Inject = "manual" Then
                RadioButton2.Checked = True
            Else
                RadioButton1.Checked = True
            End If
        End Sub
    
        Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged
            My.Settings.Inject = "auto"
            My.Settings.Save()
            My.Settings.Reload()
            Button3.Enabled = False
            Timer1.Start()
    
        End Sub
    
        Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
            If My.Settings.Close = 1 Then
                CheckBox1.Checked = True
            Else
                CheckBox1.Checked = False
            End If
            If CheckBox1.Checked = True Then
                My.Settings.Close = 1
            Else
                My.Settings.Close = 0
            End If
            My.Settings.Save()
            My.Settings.Reload()
        End Sub
    
        Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged
            My.Settings.Inject = "manual"
            My.Settings.Save()
            My.Settings.Reload()
            Button3.Enabled = True
            Timer1.Stop()
        End Sub
    
        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
            If ListBox1.Items.Count > 0 Then
                Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
                If TargetProcess.Length = 0 Then
                    Label3.Text = ("Waiting for " + TextBox1.Text + ".exe")
                    Label3.ForeColor = Color.Red
                Else
                    Dim ProcID As Integer = Process.GetProcessesByName(TextBox1.Text)(0).Id
                    Timer1.Stop()
                    Timer2.Stop()
                    For Each inj As KeyValuePair(Of String, String) In dlls
                        Inject(ProcID, inj.Value)
                    Next
                End If
            End If
        End Sub
    
        Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
            If TextBox1.Text = "" Then
                Label3.Text = "Waiting for process to be set."
                Label3.ForeColor = Color.Red
                Timer1.Stop()
    
            ElseIf ListBox1.Items.Count = 0 Then
                Label3.Text = "Waiting for DLL path."
                Label3.ForeColor = Color.Red
                Timer1.Stop()
    
            Else
                Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
                If TargetProcess.Length = 0 Then
                    Label3.Text = ("Waiting for " + TextBox1.Text + ".exe")
                    Label3.ForeColor = Color.Red
                Else
                    If RadioButton1.Checked = True Then
                        Timer1.Start()
                    End If
                End If
            End If
        End Sub
    
        Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
            If ListBox1.Items.Count > 0 Then
                If TextBox1.Text <> "" Then
                    Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
                    If TargetProcess.Length = 0 Then
                        MsgBox(TextBox1.Text + ".exe is not running.", MsgBoxStyle.Critical, "Error")
                    Else
                        Timer1.Stop()
                        Dim ProcID As Integer = Process.GetProcessesByName(TextBox1.Text)(0).Id
                        For Each inj As KeyValuePair(Of String, String) In dlls
                            Inject(ProcID, inj.Value)
                        Next
                    End If
                Else
                    MsgBox("You haven't specificed a process.", MsgBoxStyle.Critical, "Error")
                End If
            Else
                MsgBox("You need to select a dll file to inject.", MsgBoxStyle.Critical, "Error")
            End If
            MessageBox.Show("you DLL has been injected", "[TIB]injector's V3", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
        End Sub
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            OpenFileDialog1.Filter = "DLL (*.dll) |*.dll"
            OpenFileDialog1.ShowDialog()
        End Sub
    
        Private Sub OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk
            Dim FileName As String = OpenFileDialog1.FileName.Substring(OpenFileDialog1.FileName.LastIndexOf("\"))
            Dim DllFileName As String = FileName.Replace("\", "")
            ListBox1.Items.Add(DllFileName)
            dlls.Add(DllFileName, OpenFileDialog1.FileName)
    
    
        End Sub
    
        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
            If ListBox1.SelectedIndex >= 0 Then
                OpenFileDialog1.Reset()
                dlls.Remove(ListBox1.SelectedItem)
                For i As Integer = (ListBox1.SelectedItems.Count - 1) To 0 Step -1
                    Dim i2 As Integer = i + 2
                    ListBox1.Items.Remove(ListBox1.SelectedItems(i))
                Next
            End If
        End Sub
    
        Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
            ListBox1.Items.Clear()
            dlls.Clear()
        End Sub
    
        Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
            MessageBox.Show("now you are going to WWW.MPGH.NET to thanks [TIB]injector's for the release V3", "[TIB]injector's V3",
            MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
            Process.Start("http://www.mpgh.net/forum/290-crossfire-spammers-injectors-multi-tools/361404-tibarian1995-simple-injector-v1-0-a.html")
        End Sub
    
        Private Sub TabPage2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabPage2.Click
            If My.Settings.Inject = "auto" Then
                RadioButton1.Checked = True
            ElseIf My.Settings.Inject = "manual" Then
                RadioButton2.Checked = True
            Else
                RadioButton1.Checked = True
            End If
        End Sub
    
        Private Sub TabPage1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabPage1.Click
            If My.Settings.Inject = "auto" Then
                RadioButton1.Checked = True
            ElseIf My.Settings.Inject = "manual" Then
                RadioButton2.Checked = True
            Else
                RadioButton1.Checked = True
            End If
        End Sub
    
        Private Sub CheckBox1_CheckedChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
            If My.Settings.Close = 1 Then
                CheckBox1.Checked = False
            Else
                CheckBox1.Checked = True
            End If
            If CheckBox1.Checked = True Then
                My.Settings.Close = 1
            Else
                My.Settings.Close = 0
            End If
            My.Settings.Save()
            My.Settings.Reload()
        End Sub
    
        Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
    
        End Sub
    End Class
    Last edited by [TIB]injector's; 09-11-2011 at 06:56 AM.

  13. The Following User Says Thank You to [TIB]injector's For This Useful Post:

    zizomosad (09-12-2011)

  14. #73
    Leecher str1ke_bl4ze's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    7
    very nice tut... i helped me alot!

  15. #74
    Banned
    BANNED!
    =Peace='s Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    CA,PB,CF,SmartAlley's Mansion
    Posts
    498
    Reputation
    -5
    Thanks
    377
    My Mood
    Sneaky
    this look like my injector ?

  16. #75
    Newbie
    MPGH Member
    SoFastToCatch's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    66
    Reputation
    10
    Thanks
    3
    My Mood
    Buzzed
    OMG I Made One With It Still Testing

Page 5 of 7 FirstFirst ... 3 4 5 6 7 LastLast