On the internet I have found a lot of information and sample code to implement the injection of dynamic link library into an executable module. Most of examples originate from Jeffrey Richter. What I have observed, a lot of these examples forget to exit from thread in the sniffer library. This is particularly as a rule in examples for Delphi. Without this command, the executable file, which we produce injection will simply fall down. So, do not forget to leave the thread.

ExitThread(0);

Note about a sniffer code
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *