LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Connection of two systems using C socket programming !!! (https://www.linuxquestions.org/questions/programming-9/connection-of-two-systems-using-c-socket-programming-905928/)

apanimesh061 10-01-2011 09:43 AM

Connection of two systems using C socket programming !!!
 
I have to demonstrate how a client can hack another client.
I have client1 code and client2 code which will be running on different systems ... !

I will introduce a system command in the client code which accesses the /etc/shadow file of the other client, so that the password can be decrypted.

This thing I am able to do on one system only i.e running the scripts on different command line terminals !

How can I do this on different systems ?
Is C a good choice to do this or should I use python/java ?
Should I be using telnet for connection ?

Please help !

rigor 10-01-2011 01:44 PM

Are you able to login to the second system?

ta0kira 10-01-2011 04:12 PM

Quote:

Originally Posted by apanimesh061 (Post 4487204)
I have to demonstrate how a client can hack another client.
I have client1 code and client2 code which will be running on different systems ... !

Clients don't hack clients, people hack clients. And it's actually called "cracking", which you shouldn't be asking about here.
Kevin Barry

crabboy 10-06-2011 05:28 PM

Agreed, closing thread.


All times are GMT -5. The time now is 10:52 AM.