Sungguminasa Cyber Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

tutor pembuatan injektor + videonya

4 posters

Go down

tutor pembuatan injektor + videonya Empty tutor pembuatan injektor + videonya

Post  MKZxAriF Tue 7 Dec 2010 - 14:34

gan nih ane kasih vidio buat agan yg mo belajar buat injector..

silahkan liat nih vidio :[You must be registered and logged in to see this link.]

1. Buka VB,buat project baru (Ctrl+Shift+N)

2. Buka Form1, dan tambahkan object

4. Copy & Paste kode dibawah di Module yg baru saja di buat

Module Module1
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_READ = &H10
Public Const PROCESS_VM_WRITE = (&H20)

Public Enum ThreadAccess As Integer
TERMINATE = (&H1)
SUSPEND_RESUME = (&H2)
GET_CONTEXT = (&H8)
SET_CONTEXT = (&H10)
SET_INFORMATION = (&H20)
QUERY_INFORMATION = (&H40)
SET_THREAD_TOKEN = (&H80)
IMPERSONATE = (&H100)
DIRECT_IMPERSONATION = (&H200)
End Enum

Public Declare Function OpenThread Lib "kernel32.dll" (ByVal dwDesiredAccess As ThreadAccess, ByVal bInheritHandle As Boolean, ByVal dwThreadId As UInteger) As IntPtr
Public Declare Function SuspendThread Lib "kernel32.dll" (ByVal hThread As IntPtr) As UInteger
Public Declare Function ResumeThread Lib "kernel32.dll" (ByVal hThread As IntPtr) As UInteger
Public Declare Function CloseHandle Lib "kernel32.dll" (ByVal hHandle As IntPtr) As Boolean

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

Public 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

End Module

5. Kembali ke Form1, klik kanan pilih View Code
6. Skali lagi copas code dibawah
Imports System

Public Class Form1
Private prPB As Process
Private szGame As String = "POINTBLANK"
Private szDLLName As String
Private dwProcessID As Long = 0
Private dwStartAddr As Long
Private dwBuffer As Long

Private Sub SuspendProcess(ByVal process As System.Diagnostics.Process)
For Each t As ProcessThread In process.Threads
Dim th As IntPtr
th = OpenThread(ThreadAccess.SUSPEND_RESUME, False, t.Id)
If th <> IntPtr.Zero Then
SuspendThread(th)
CloseHandle(th)
End If
Next
End Sub

Private Sub ResumeProcess(ByVal process As System.Diagnostics.Process)
For Each t As ProcessThread In process.Threads
Dim th As IntPtr
th = OpenThread(ThreadAccess.SUSPEND_RESUME, False, t.Id)
If th <> IntPtr.Zero Then
ResumeThread(th)
CloseHandle(th)
End If
Next
End Sub

Private Sub Inject()
dwProcessID = OpenProcess(PROCESS_CREATE_THREAD Or PROCESS_VM_OPERATION Or PROCESS_VM_WRITE, False, prPB.Id)
dwStartAddr = GetProcAddress(GetModuleHandle("Kernel32"), "LoadLibraryA")
dwBuffer = Len(szDLLName) + 1
Dim ret As Integer
Dim dwLibAdress As Integer
dwLibAdress = VirtualAllocEx(dwProcessID, 0, dwBuffer, MEM_COMMIT, PAGE_READWRITE)
ret = WriteProcessMemory(dwProcessID, dwLibAdress, szDLLName, dwBuffer, 0)
CreateRemoteThread(dwProcessID, 0, 0, dwStartAddr, dwLibAdress, 0, 0)
CloseHandle(dwProcessID)
End Sub


Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If (Process.GetProcessesByName(szGame).Length = 0) Then
Label1.Text = "Waiting " & szGame
Button1.Enabled = False
Button2.Enabled = False
Else
Timer1.Stop()
prPB = Process.GetProcessesByName(szGame)(0)
dwProcessID = prPB.Id
szDLLName = Mid$(prPB.MainModule.FileName, 1, Len(prPB.MainModule.FileName) - 4) & ".i3exec"
Label1.Text = "Found " & szGame
Button1.Enabled = True
Button2.Enabled = True
End If
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Button1.Text = "Suspend" Then
SuspendProcess(prPB)
Button1.Text = "Resume"
Else
ResumeProcess(prPB)
Button1.Text = "Suspend"
End If
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Inject()
End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Interval = 100
Timer1.Start()
End Sub
'EDIT, nambahin Auto Resume pada saat firm di tutup
'--------------------------------------------------------------
Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
If Button1.Text = "Resume" Then
ResumeProcess(prPB)
End If
End Sub
'--------------------------------------------------------------
End Class

7. Build project, Run

Jgan Lupa +++

MKZxAriF
MKZxAriF
Level II
Level II

Jumlah posting : 167
Join date : 22.11.10
Age : 28
Lokasi : makassar

Kembali Ke Atas Go down

tutor pembuatan injektor + videonya Empty Re: tutor pembuatan injektor + videonya

Post  Elite Tue 7 Dec 2010 - 15:00

Mana Link nya Gan.....?>

Elite

Jumlah posting : 4
Join date : 20.11.10

Kembali Ke Atas Go down

tutor pembuatan injektor + videonya Empty Re: tutor pembuatan injektor + videonya

Post  MKZxAriF Tue 7 Dec 2010 - 16:24

Link sudah ada diatas, teliti aja mencarinya!!
MKZxAriF
MKZxAriF
Level II
Level II

Jumlah posting : 167
Join date : 22.11.10
Age : 28
Lokasi : makassar

Kembali Ke Atas Go down

tutor pembuatan injektor + videonya Empty Re: tutor pembuatan injektor + videonya

Post  amir nurjaman Thu 9 Dec 2010 - 17:04

kk klw bisa buatin tutor tertulis dong biar mudah dipahami ya kk klw ada sy minta ya kk [You must be registered and logged in to see this image.]
dan klw bisa jg kirim ke FB sy [You must be registered and logged in to see this link.] terima kasih.......
[You must be registered and logged in to see this image.]

amir nurjaman

Jumlah posting : 4
Join date : 19.11.10

Kembali Ke Atas Go down

tutor pembuatan injektor + videonya Empty Re: tutor pembuatan injektor + videonya

Post  MKZxRoel Thu 9 Dec 2010 - 18:07

amir nurjaman wrote: kk klw bisa buatin tutor tertulis dong biar mudah dipahami ya kk klw ada sy minta ya kk [You must be registered and logged in to see this image.]
dan klw bisa jg kirim ke FB sy [You must be registered and logged in to see this link.] terima kasih.......
[You must be registered and logged in to see this image.]

Tutor tertulis udah ada gan, lengkap dengan source codenya. Lihat di [You must be registered and logged in to see this link.]
MKZxRoel
MKZxRoel
Administrator
Administrator

Jumlah posting : 270
Join date : 17.11.10
Age : 44

https://moved.indonesianforum.net

Kembali Ke Atas Go down

tutor pembuatan injektor + videonya Empty Re: tutor pembuatan injektor + videonya

Post  Sponsored content


Sponsored content


Kembali Ke Atas Go down

Kembali Ke Atas

- Similar topics

 
Permissions in this forum:
Anda tidak dapat menjawab topik