Injector code

Posts 1–15 of 20 · Page 1 of 2
Injector code
Today I am presenting a injector code. Please thank/rep me if I'f helped you in anyway.


Injector Code By Contribution.txt6 KB · 163 downloads Scanning…
Injector source codes are posted all over mpgh , pretty sure this one is old as fuck.
Quote Originally Posted by Intellectual View Post
Injector source codes are posted all over mpgh , pretty sure this one is old as fuck.
I've checked it. Its not old and its undetected.
Quote Originally Posted by Contribution View Post

I've checked it. Its not old and its undetected.
We're gonna see mister
i am sure that will be old
Virus Scan Please !!

Source C++ ?
Quote Originally Posted by Rullez View Post
Virus Scan Please !!

Source C++ ?
It's a text document. What harm could it cause? Also the source is in VB.
Quote Originally Posted by Contribution View Post

It's a text document. What harm could it cause? Also the source is in VB.
Sorry @Rullez he's new anyway even its a text document you still need to put 2 virus scans unless it wont be approved


And also to fasten things up, remove the attachments then put it by code

[CODE ]Enter the Injector Source Code Here[/CODE]

Remove the space on the "[CODE ]"
Quote Originally Posted by The Conjurer View Post
Sorry @Rullez he's new anyway even its a text document you still need to put 2 virus scans unless it wont be approved


And also to fasten things up, remove the attachments then put it by code

[CODE ]Enter the Injector Source Code Here[/CODE]

Remove the space on the "[CODE ]"
I'd prefer not to. I would like for people to thank me instead of C+P and leave the thread. By doing this it is more likely they will thank me.
Quote Originally Posted by Contribution View Post

I'd prefer not to. I would like for people to thank me instead of C+P and leave the thread. By doing this it is more likely they will thank me.
Ok, have it your way.
Quote Originally Posted by Contribution View Post

It's a text document.
Text document doesn't even need virus scans when will understand this ?
You got that right guys its old

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 Form1_Load(ByVal Sender As System.Object, ByVal E As System.EventArgs) Handles MyBase.Load
DLLs.Name = "DLLs"
Button1.Text = "Browse"
Timer1.Interval = 50
Timer1.Start()

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 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
DLLs.Items.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
Dim TargetProcess As Process() = Process.GetProcessesByName(TextBox1.Text)
If TargetProcess.Length = 0 Then



Else
Timer1.Stop()
Call Inject()
If CheckBox1.Checked = True Then
End
Else
End If
End If
Else
End If
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


Else
Timer1.Stop()
Call Inject()
If CheckBox1.Checked = True Then
End
Else
End If
End If
Else
End If
End Sub


Private Sub OpenFileDialog1_FileOk(ByVal Sender As System.Object, ByVal E As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk
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 Button5_Click(ByVal Sender As System.Object, ByVal E As System.EventArgs)
Me.Close()
End Sub


Private Sub RadioButton1_CheckedChanged(ByVal Sender As System.Object, ByVal E As System.EventArgs) Handles RadioButton1.CheckedChanged
Button4.Enabled = True
Timer1.Enabled = False
End Sub


Private Sub RadioButton2_CheckedChanged(ByVal Sender As System.Object, ByVal E As System.EventArgs) Handles RadioButton2.CheckedChanged
Button4.Enabled = False
Timer1.Enabled = True
End Sub
End Class
* How did i find out?

Click ME

That is the approved ones
Quote Originally Posted by The Conjurer View Post


* How did i find out?

Click ME

That is the approved ones
He just post in the both sections for all read it.
Thats why you posting your injector in the both sections ? For the same reason ^^
Quote Originally Posted by Contribution View Post
Today I am presenting a injector code. Please thank/rep me if I'f helped you in anyway.


Can you send this me on skype:ammybeirsack
Its old, but its still a good injector code. I know its detected, but there's no thread open for this so don't shut it down.

---------- Post added at 10:44 PM ---------- Previous post was at 08:58 PM ----------

i might also say, this code isn't c+p ready haha

in your text file, this is wrong
Code:
Dim ExeName As String = IO.Path.GetFileNameWithoutExtensionApplication.Ex EcutablePath)
this is right
Code:
Dim ExeName As String = IO.Path.GetFileNameWithoutExtension(Application.ExecutablePath)
looks like u made a mistake
Posts 1–15 of 20 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us