[SPOILER]Hey guys, I dont know what I did wrong. But I think the theme I used is causing this conflict. The problem is that I used a theme i added to my injector.. This theme is actually Ghost Theme
My buttons, my other groupbox on bottom, listbox, buttons radioboxes ect are now missing due to it.
To minions, please approve this so someone can download files. I'll add virus scan
And everytime I added a button it would be injector.ghostblack(button)
or for any object within the theme. So the thing is I tried to rename every object I used from ghostblackButton1,2,3,4, to Button1,2,3,4 Get it? Well now it is causing problems click 'spoiler' to see the design errors
[CODE
Could not find type 'Injector.GhostRadiobutton'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (2)
1. There is no stack trace or error line information available for this error.
2. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
Could not find type 'Injector.GhostCheckbox'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (1)
1. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'Checkbox1' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. Form1.Designer.vb Line:163 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'TextBox1' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. Form1.Designer.vb Line:166 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'Radiobutton2' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. Form1.Designer.vb Line:168 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'Radiobutton1' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. Form1.Designer.vb Line:169 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
Could not find type 'Injector.GhostGroupBox'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (1)
1. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
Could not find type 'Injector.GhostButton'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (4)
1. There is no stack trace or error line information available for this error.
2. There is no stack trace or error line information available for this error.
3. There is no stack trace or error line information available for this error.
4. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
Could not find type 'Injector.GhostListBoxPretty'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (1)
1. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'Button4' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. Form1.Designer.vb Line:299 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'GroupBox2' is either undeclared or was never assigned.
[/CODE]
Now for the errors in the form1.vb I have just 5 ones...
click spoiler, but remember this is long code XD
[CODE
Public Class Form1
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.Ex ecutablePath)
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
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
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)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
For i As Integer = (Dlls.SelectedItems.Count - 1) To 0 Step -1
Dlls.Items.Remove(Dlls.SelectedItems(i))
Next
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Array.Clear()
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
If IO.File.Exists(OpenFileDialog1.FileName) Then
End If
Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
If TargetProcess.Length = 0 Then
Me.Label1.Text = ("What to inject in" + TextBox1.Text + ".exe" + "....")
Else
Timer1.Stop()
Me.Label1.ForeColor = Color.Green
Me.Label1.Text = "Inject Succesfull"
Call Inject()
If Checkbox1.Checked = True Then
Me.Close()
Else
End If
End If
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Interval = 2
Timer1.Start()
Radiobutton1.Checked = True
End Sub
Private Sub Radiobutton1_CheckedChanged(ByVal sender As System.Object) Handles Radiobutton1.CheckedChanged
Timer1.Start()
Checkbox1.Checked = True
Checkbox1.Enabled = False
End Sub
Private Sub Radiobutton2_CheckedChanged(ByVal sender As System.Object) Handles Radiobutton2.CheckedChanged
Timer1.Stop()
Checkbox1.Checked = True
Checkbox1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If IO.File.Exists(OpenFileDialog1.FileName) Then
Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
If TargetProcess.Length = 0 Then
Me.Label1.ForeColor = Color.Red
Me.Label1.Text = ("What to inject in" + TextBox1.Text + ".exe" + "....")
Else
Timer1.Stop()
Me.Label1.ForeColor = Color.Green
Me.Label1.Text = "Successfully Injected!"
Call Inject()
If Checkbox1.Checked = True Then
Me.Close()
End If
Remember the 5 errors in form1.vb are simple errors so please fix that as well... You will get credits when I release on MPGH. Take care,
Omfgs
Injector_mpgh.net.rar
approved .
I think that this code is leeched from an injector which had the ghost theme !
Originally Posted by omfgs
[SPOILER]Hey guys, I dont know what I did wrong. But I think the theme I used is causing this conflict. The problem is that I used a theme i added to my injector.. This theme is actually Ghost Theme
My buttons, my other groupbox on bottom, listbox, buttons radioboxes ect are now missing due to it.
To minions, please approve this so someone can download files. I'll add virus scan
And everytime I added a button it would be injector.ghostblack(button)
or for any object within the theme. So the thing is I tried to rename every object I used from ghostblackButton1,2,3,4, to Button1,2,3,4 Get it? Well now it is causing problems click 'spoiler' to see the design errors
[CODE
Could not find type 'Injector.GhostRadiobutton'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (2)
1. There is no stack trace or error line information available for this error.
2. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
Could not find type 'Injector.GhostCheckbox'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (1)
1. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'Checkbox1' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. Form1.Designer.vb Line:163 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'TextBox1' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. Form1.Designer.vb Line:166 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'Radiobutton2' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. Form1.Designer.vb Line:168 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'Radiobutton1' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. Form1.Designer.vb Line:169 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
Could not find type 'Injector.GhostGroupBox'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (1)
1. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
Could not find type 'Injector.GhostButton'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (4)
1. There is no stack trace or error line information available for this error.
2. There is no stack trace or error line information available for this error.
3. There is no stack trace or error line information available for this error.
4. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
Could not find type 'Injector.GhostListBoxPretty'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
Instances of this error (1)
1. There is no stack trace or error line information available for this error.
Help with this error
Could not find an associated help topic for this error. Check Windows Forms Design-Time error list
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'Button4' is either undeclared or was never assigned. Go to code
Instances of this error (1)
1. Form1.Designer.vb Line:299 Column:1 Show Call Stack
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)
Help with this error
MSDN Help
Forum posts about this error
Search the MSDN Forums for posts related to this error
The variable 'GroupBox2' is either undeclared or was never assigned.
[/CODE]
Now for the errors in the form1.vb I have just 5 ones...
click spoiler, but remember this is long code XD
[CODE
Public Class Form1
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.Ex ecutablePath)
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
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
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)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
For i As Integer = (Dlls.SelectedItems.Count - 1) To 0 Step -1
Dlls.Items.Remove(Dlls.SelectedItems(i))
Next
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Array.Clear()
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
If IO.File.Exists(OpenFileDialog1.FileName) Then
End If
Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
If TargetProcess.Length = 0 Then
Me.Label1.Text = ("What to inject in" + TextBox1.Text + ".exe" + "....")
Else
Timer1.Stop()
Me.Label1.ForeColor = Color.Green
Me.Label1.Text = "Inject Succesfull"
Call Inject()
If Checkbox1.Checked = True Then
Me.Close()
Else
End If
End If
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Interval = 2
Timer1.Start()
Radiobutton1.Checked = True
End Sub
Private Sub Radiobutton1_CheckedChanged(ByVal sender As System.Object) Handles Radiobutton1.CheckedChanged
Timer1.Start()
Checkbox1.Checked = True
Checkbox1.Enabled = False
End Sub
Private Sub Radiobutton2_CheckedChanged(ByVal sender As System.Object) Handles Radiobutton2.CheckedChanged
Timer1.Stop()
Checkbox1.Checked = True
Checkbox1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If IO.File.Exists(OpenFileDialog1.FileName) Then
Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
If TargetProcess.Length = 0 Then
Me.Label1.ForeColor = Color.Red
Me.Label1.Text = ("What to inject in" + TextBox1.Text + ".exe" + "....")
Else
Timer1.Stop()
Me.Label1.ForeColor = Color.Green
Me.Label1.Text = "Successfully Injected!"
Call Inject()
If Checkbox1.Checked = True Then
Me.Close()
End If
Remember the 5 errors in form1.vb are simple errors so please fix that as well... You will get credits when I release on MPGH. Take care,
Omfgs
Originally Posted by TheProNoob
I think that this code is leeched from an injector which had the ghost theme !
No. I didn't leech from someone who had a ghost theme. My friend helped me setup a injector (code wise) and I started working on making the injectors design look good... then I found out about themes so I started to use buttons ect from a theme I added
which I found from mpgh... ghosttheme I looked tut. online youtube to add themes went on form1 design and hit add class and theme.vb then I copied the ghost theme code and built it. Then I used the buttons ect... At the end this problem happened. Please read thoroughly. Thank you for posting though.
Okay But you have to get back to the original code ! And then design your injector without themes ! Use the normal gui and I can help you adding themes
Originally Posted by omfgs
No. I didn't leech from someone who had a ghost theme. My friend helped me setup a injector (code wise) and I started working on making the injectors design look good... then I found out about themes so I started to use buttons ect from a theme I added
which I found from mpgh... ghosttheme I looked tut. online youtube to add themes went on form1 design and hit add class and theme.vb then I copied the ghost theme code and built it. Then I used the buttons ect... At the end this problem happened. Please read thoroughly. Thank you for posting though.
well, check the " visible " value maybe you made it false =/
iSmexy, please... do not delete this post again! -.-
iSmexy, i'm trying to give it to TheProNoob.... but please approve it. im giving it to him from here so then he can add the theme on my injector... these are source files...
Originally Posted by TheProNoob
Okay But you have to get back to the original code ! And then design your injector without themes ! Use the normal gui and I can help you adding themes
please approve my source files..
Pronoob I tried a different design for this one it's working flawless just want you to add the theme ( the ghost theme ) http://www.mpgh.net/forum/33-visual-...hostblack.html there are no errors i fixed them just need the theme now. can you please add them?
Download my sourcefiles oh and btw i debugged it already.
[url]https://www.virustotal.com/en/file/481d3eec8f11bc9e5f89913324198588b83cac36ee2a24ece7 d5393b41598f91/analysis/1379709483/ OmfgsJect.rar - Jotti's malware scan
Okay
OmfgsJect_mpgh.net.rar
approved again
Working on it right now And The image is taking alot of space ! Want me to remove it ? I will add the theme and Wait for your answer about the image
Originally Posted by omfgs
iSmexy, please... do not delete this post again! -.-
iSmexy, i'm trying to give it to TheProNoob.... but please approve it. im giving it to him from here so then he can add the theme on my injector... these are source files...
please approve my source files..
Pronoob I tried a different design for this one it's working flawless just want you to add the theme ( the ghost theme ) http://www.mpgh.net/forum/33-visual-...hostblack.html there are no errors i fixed them just need the theme now. can you please add them?
Download my sourcefiles oh and btw i debugged it already.
[url]https://www.virustotal.com/en/file/481d3eec8f11bc9e5f89913324198588b83cac36ee2a24ece7 d5393b41598f91/analysis/1379709483/ OmfgsJect.rar - Jotti's malware scan
Okay
Hmm, keep the picture but if it gets bad then get rid of it :/ Picture would be nice though. Thank you so much for helping me.
Originally Posted by TheProNoob
Working on it right now And The image is taking alot of space ! Want me to remove it ? I will add the theme and Wait for your answer about the image
Welcome but when I debug the injector with the ghost theme My antivirus gives me a message ! So.. I could give you a good theme better that the ghost theme if you are okay with that !!
Originally Posted by omfgs
Hmm, keep the picture but if it gets bad then get rid of it :/ Picture would be nice though. Thank you so much for helping me.
Originally Posted by TheProNoob
Welcome but when I debug the injector with the ghost theme My antivirus gives me a message ! So.. I could give you a good theme better that the ghost theme if you are okay with that !!
Thanks! Sure thing.
As a thanks, I can make you a epic animated banner saying your name
Or whatever kind of GFX you want or you want a userbar thats animated. let me know
Hey, thepronoob can you help?
ADD Hack.dll on skype, i will give you a undetected/working base
Sorry man ! Wasn't visiting MPGH because of school -_- I will Make the injector now ! you can add me on skype if you want your injector