Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Embedding a DLL into a spesific exe in c#

how do i create a dll to spesific exe (I already have an injector) using c#

example: Injecting a dll into notepad. and when i press f then some form will popup.

Thanks for all the helpers
(Jan 19, 2019 06:38 AM)HardStoN Wrote:  how do i create a dll to spesific exe (I already have an injector) using c#

example: Injecting a dll into notepad. and when i press f then some form will popup.

Thanks for all the helpers

If you inject a dll into notepad nothing will produce because the dll is never call by other program.
(Jan 19, 2019 06:38 AM)HardStoN Wrote:  how do i create a dll to spesific exe (I already have an injector) using c#

example: Injecting a dll into notepad. and when i press f then some form will popup.

Thanks for all the helpers

To do what you want you require c++, either the entire "f then some form will popup" code or a wrapper that initializes and runs the actual .NET code.
(Jan 30, 2019 01:03 AM)Fhack Wrote:  If you inject a dll into notepad nothing will produce because the dll is never call by other program.

You don't know about code injection clearly.

(Jan 30, 2019 02:56 PM)TheBigDamnGa Wrote:  To do what you want you require c++, either the entire "f then some form will popup" code or a wrapper that initializes and runs the actual .NET code.

It does not require C++ (or C for that matter), those are just common languages for this type of thing because they are languages that traditionally compile down to native code. P/Invoke does exist, and there are blittable types.

I don't know why all these types of threads are seemingly always created by people that can't spell, and answered by people who don't know much on the topic.
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
(Jan 30, 2019 08:21 PM)0xDEAD10CC Wrote:  You don't know about code injection clearly.

I'm french and by injection i have understand a binded dll.
(Jan 30, 2019 10:55 PM)Fhack Wrote:  I'm french and by injection i have understand a binded dll.

It could be any number of things, injecting a call to LoadLibrary or something similar to it, or manually mapping the dll in memory. Either way you have no context to make this kind of statement:

Fhack Wrote:nothing will produce because the dll is never call by other program
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by Lithium MindJun 20, 2022 09:03 AM 0 159 Jun 20, 2022 09:03 AM
Last Post: Lithium Mind
[Java] by PanksJul 12, 2021 12:15 AM 2 169 Jul 12, 2021 12:15 AM
Last Post: CheesyBread
[.NET] by lans.007Apr 10, 2021 12:43 PM 5 265 Apr 10, 2021 12:43 PM
Last Post: Exploit-Tool