thanks for sharing i guess
This is a small but useful tutorial for a good feature.
First, let's ask, what IS Quiet Inject?
It's a feature that Topblast and I have on our injectors. After injection, it kicks in and keeps checking if the process has closed. If it has, then it will set the program up for injection again. Although it's easy to code it's extremely useful.
You will need already in your injector:
A textbox where the process name goes (in the code I called mine "ProcessBox")
A timer which checks for injection (I called mine "Timer")
A 2nd timer that handles the Quiet Inject (I called mine "QI")
How to add it in
Okay, now once your inject code has finished, put this code in:
For the timer code use this:Code:QI.Start()
It's simple and effective.Code:Private Sub QI_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles QI.Tick Dim TargetProcess As Process() = Process.GetProcessesByName(ProcessBox.Text) If TargetProcess.Length = 0 Then Timer.Start() QI.Stop() End If End Sub
Credits:
Topblast - original feature
Samueldozwat - recreating code, writing tutorial
This is extremely good
thx for this source
Thats more persistent injection. But good job anyway.
"I don't believe in an afterlife, so I don't have to spend my whole life fearing hell, or fearing heaven even more. For whatever the tortures of hell, I think the boredom of heaven would be even worse." - Isaac Asimov