Hack problem

Posts 1–5 of 5 · Page 1 of 1
Hack problem
i am making an injector in vb for combat arms. i would like to hide the .dll in the injector and make it inject it when the injector opens. could anyone please help me ( i know how to hide it in the injector but not how to let users be able to inject it without having to get it somewhere in their computer else than within the injector... )



sorry for maybe being a noob but well... im not very good to make injectors and i want to make that for my friends because they dont know how to do all the injecting and all and so i taught i could make it so it injects and close as soon as it injects the hack. if someone could help me it would be very appreciated
Just write the dll to a temp path and then inject it.
thats kind of what i need help with... i know how to add it to be in the .exe but then idk how to copy it somewhere nor anything... deleting it will be easy... but copy from .exe to lets say "C:/" will be a little harder cause i know how to add it as resource or anything but not how to copy it or inject it from there
Then what I said IS what you need help with. Add the .dll to resources then:

[highlight=vb.net]
Private Sub WriteThenInject(ByVal file As Byte(), Byval proc As Process)
Dim tempPath As String = IO.Path.GetTempFileName()
IO.File.WriteAllBytes(tempPath, file)
'call your injection function now, tempPath is the path of the dll.
End Sub

'use the function like this:
WriteThenInject(My.Resources.Hack, Process.GetProcessesByName("lalala")(0))
[/highlight]
You can do what jason says. Or write the dll to memory as a byte array.
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?