![]() |
|
[C] Linux C++/C Dll injection + Code Injection Tutorial - Part Three - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C] Linux C++/C Dll injection + Code Injection Tutorial - Part Three (/showthread.php?tid=2236966) |
Linux C++/C Dll injection + Code Injection Tutorial - Part Three - g4143 - Feb 22, 2012 Main Page - https://hackforums.net/showthread.php?tid=2220892 This part we'll create the client part of our tutorial. First copy this program and compile. client.c Code #include <stdio.h>Compile line Code gcc client.c -Wall -ansi -pedantic -o clientAnd usage, we pass as arguments the IP address 127.0.0.1 and the shell script 'hello' that we prepared in step two. Code ./client 127.0.0.1 helloThis is the simple step, creating the client. The program 'client' will only work when we complete the final step. |