Question[Help]Help on loader?

Posts 1–7 of 7 · Page 1 of 1
[Help]Help on loader?
Hey guys i have some prior knowledge of vb.net and i want to make a LOADER not an injector. they are close but not the same.

I just want it to inject into engine.exe when button1 is pressed and for it to only inject a dll thats in the code. i dont want the user to set the dll.

I dont need for you to c&p source code but what would be the best way to go about doing this.

code snippets are appreciated though

and dont flame me for this
I dont think thats possible inject a "file" from your recourse.


But I know several other ways, download the file a fpt client or write the file from resource to the hard drive and then inject./
is that a question or not?...
Quote Originally Posted by zmansquared View Post
is that a question or not?...
Code:
Imports System.IO
[php] Dim myFile() As Byte = My.Resources.hack

Dim fileData = New FileStream(Application.StartupPath & "\" & "hack.dll", FileMode.OpenOrCreate)
Dim BW As New BinaryWriter(fileData)
Try
For bt As Integer = 0 To myFile.Length - 1
BW.Write(myFile(bt))
Next
Catch ex As Exception
Msgbox(ErrorToString)


Finally
fileData.Close()
BW.Close()

End Try[/php]
TextBox1.Text = TextBox1.Text & "[" & TimeOfDay & "]" & " " & ex.Message.ToString & vbNewLine


would i put Engine.exe inside the empty "" ??
Quote Originally Posted by zmansquared View Post
TextBox1.Text = TextBox1.Text & "[" & TimeOfDay & "]" & " " & ex.Message.ToString & vbNewLine


would i put Engine.exe inside the empty "" ??
No lol, Zoom's code simply tells you how to write a file from resources to a location on your computer using BinaryWriter, it will create the file in the location specified by the variable "filedata", so now you know where to inject the .dll from.

Make this declaration a global variable (just put it under "Public Class Form1"

[php]
Dim InjectPath As String = Application.StartupPath & "\" & "hack.dll"
[/php]

You'll need to change that if you change Zoom's declaration of filedata (where you're writing the .dll to)

now in your inject sub, you just have to tell it to inject "InjectPath".
Ok, ill give it a try
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us