[HELP] Injector

Posts 1–10 of 10 · Page 1 of 1
[HELP] Injector
ok so i was looking in the snippets vault ( i think ) and it showed how to make a very simple injector..

[CODE]
InjectDLL("ProccessID","DllPath+name+Extension")

E.g
InjectDLL("Engine.exe","C:\Combatarmshack.dll")
Which is all fine
but how do i make it so its like the regular ones, put the injector & dll as the same name?
What? I don't understand..

I thought most injectors allowed you to browse for DLLs.
well in the example above, it has an exact destination. if the .dll is not in that destination, the injector doesnt work..
How would i make it so that i could browse for it?
Include an OpenFileDialog.

First, make a string at the top of your code called fileloc.
Code:
 Dim fileloc as string = string.empty
Then make a button called "Browse", click that and put in this code under it's click event:

Code:
OpenFileDialog1.showdialog
fileloc = Openfiledialog1.filelocation
Then for the inject thing put this:
Code:
InjectDLL("ProccessID", fileloc)
Quote Originally Posted by Golden. View Post
ok so i was looking in the snippets vault ( i think ) and it showed how to make a very simple injector..

[CODE]
InjectDLL("ProccessID","DllPath+name+Extension")

E.g
InjectDLL("Engine.exe","C:\Combatarmshack.dll")
Which is all fine
but how do i make it so its like the regular ones, put the injector & dll as the same name?
Process Id isnt process name.
what is the process id for combat arms?
Quote Originally Posted by Golden. View Post
what is the process id for combat arms?
The process id is always different...

The api has a function to get the id by the process name, check threw it.
ok.. thats not working
3 errors:
Error 1 Reference to a non-shared member requires an object reference.

Error 2 'filelocation' is not a member of 'System.Windows.Forms.OpenFileDialog'.

Error 3 'InjectDLL' is not declared. It may be inaccessible due to its protection level.
openfiledialog1.filename
If you want to help in injector then lots of websites are available for doing the injector. You can also found from the tutorials it will suggest you the good idea for the injector. IN these tutorials lot of facilities are also available for the injector.
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us