OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: starlink (starlinkAMAZON.COM.BR)
Date: Wed Jan 24 2001 - 18:52:19 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    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